bce2e995d4438ec4ed1b03a7c8ab817474257763
[openwrt/svn-archive/openwrt.git] / openwrt / toolchain / gcc / Config.in
1 # Choose gcc version.
2 # WARNING -- 2.95 currently only builds for i386, arm, mips*, and powerpc.
3 # WARNING -- 2.95 does not currently build natively for the target.
4
5 if CONFIG_DEVEL
6 comment "Gcc Options"
7 endif
8
9
10 config BR2_GCC_3_4
11 bool
12 default n
13 depends BR2_GCC_VERSION_3_4_3 || BR2_GCC_VERSION_3_4_4 || BR2_GCC_VERSION_4_0_0
14
15 choice
16 prompt "GCC compiler Version" if CONFIG_DEVEL
17 default BR2_GCC_VERSION_3_4_3
18 help
19 Select the version of gcc you wish to use.
20
21 config BR2_GCC_VERSION_3_3_5
22 bool "gcc 3.3.5"
23
24 config BR2_GCC_VERSION_3_4_3
25 bool "gcc 3.4.3"
26 select BR2_GCC_3_4
27
28 config BR2_GCC_VERSION_3_4_4
29 bool "gcc 3.4.4"
30 select BR2_GCC_3_4
31
32 config BR2_GCC_VERSION_4_0_0
33 bool "gcc 4.0.0"
34 select BR2_GCC_3_4
35
36 endchoice
37
38 config BR2_GCC_VERSION
39 string
40 default "3.3.5" if BR2_GCC_VERSION_3_3_5
41 default "3.4.3" if BR2_GCC_VERSION_3_4_3 || !CONFIG_DEVEL
42 default "3.4.4" if BR2_GCC_VERSION_3_4_4
43 default "4.0.0" if BR2_GCC_VERSION_4_0_0
44
45
46 config BR2_GCC_USE_SJLJ_EXCEPTIONS
47 string
48 # default "--enable-sjlj-exceptions"
49 default ""
50 help
51 Currently the unwind stuff seems to work for staticly linked apps
52 but not dynamic. So use setjmp/longjmp exceptions by default.
53
54 config BR2_EXTRA_GCC_CONFIG_OPTIONS
55 string
56 prompt "Additional gcc options" if CONFIG_DEVEL
57 default ""
58 help
59 Any additional gcc options you may want to include....
60
61 config BR2_INSTALL_LIBSTDCPP
62 bool
63 prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
64 default y
65 help
66 Build/install c++ compiler and libstdc++?
67