hide experimental/developer options from the user. can be reenabled by using make...
[openwrt/staging/dedeckeh.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 choice
10 prompt "GCC compiler Version" if CONFIG_DEVEL
11 default BR2_GCC_VERSION_3_3_5
12 help
13 Select the version of gcc you wish to use.
14
15 config BR2_GCC_VERSION_3_3_3
16 bool "gcc 3.3.3"
17
18 config BR2_GCC_VERSION_3_3_4
19 bool "gcc 3.3.4"
20
21 config BR2_GCC_VERSION_3_3_5
22 bool "gcc 3.3.5"
23
24 config BR2_GCC_VERSION_3_4_0
25 bool "gcc 3.4.0"
26
27 config BR2_GCC_VERSION_3_4_1
28 bool "gcc 3.4.1"
29
30 config BR2_GCC_VERSION_3_4_2
31 bool "gcc 3.4.2"
32
33 config BR2_GCC_VERSION_3_4_3
34 bool "gcc 3.4.3"
35
36 endchoice
37
38 config BR2_GCC_VERSION
39 string
40 default "3.3.3" if BR2_GCC_VERSION_3_3_3
41 default "3.3.4" if BR2_GCC_VERSION_3_3_4
42 default "3.3.5" if BR2_GCC_VERSION_3_3_5 || !CONFIG_DEVEL
43 default "3.4.0" if BR2_GCC_VERSION_3_4_0
44 default "3.4.1" if BR2_GCC_VERSION_3_4_1
45 default "3.4.2" if BR2_GCC_VERSION_3_4_2
46 default "3.4.3" if BR2_GCC_VERSION_3_4_3
47
48
49 config BR2_GCC_USE_SJLJ_EXCEPTIONS
50 string
51 default "--enable-sjlj-exceptions"
52 help
53 Currently the unwind stuff seems to work for staticly linked apps
54 but not dynamic. So use setjmp/longjmp exceptions by default.
55
56 config BR2_EXTRA_GCC_CONFIG_OPTIONS
57 string
58 prompt "Additional gcc options" if CONFIG_DEVEL
59 default ""
60 help
61 Any additional gcc options you may want to include....
62
63 config BR2_INSTALL_LIBSTDCPP
64 bool
65 prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
66 default n
67 help
68 Build/install c++ compiler and libstdc++?
69