e478af02de849b8f381f87166f063edfce94dc2e
[openwrt/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
14 choice
15 prompt "GCC compiler Version" if CONFIG_DEVEL
16 default BR2_GCC_VERSION_3_3_5
17 help
18 Select the version of gcc you wish to use.
19
20 config BR2_GCC_VERSION_3_3_5
21 bool "gcc 3.3.5"
22
23 config BR2_GCC_VERSION_3_4_3
24 bool "gcc 3.4.3"
25 select BR2_GCC_3_4
26
27 endchoice
28
29 config BR2_GCC_VERSION
30 string
31 default "3.3.5" if BR2_GCC_VERSION_3_3_5 || !CONFIG_DEVEL
32 default "3.4.3" if BR2_GCC_VERSION_3_4_3
33
34
35 config BR2_GCC_USE_SJLJ_EXCEPTIONS
36 string
37 # default "--enable-sjlj-exceptions"
38 default ""
39 help
40 Currently the unwind stuff seems to work for staticly linked apps
41 but not dynamic. So use setjmp/longjmp exceptions by default.
42
43 config BR2_EXTRA_GCC_CONFIG_OPTIONS
44 string
45 prompt "Additional gcc options" if CONFIG_DEVEL
46 default ""
47 help
48 Any additional gcc options you may want to include....
49
50 config BR2_INSTALL_LIBSTDCPP
51 bool
52 prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
53 default y
54 help
55 Build/install c++ compiler and libstdc++?
56