add hidden config value for gcc 3.4+
[openwrt.git] / 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_3
21                 bool "gcc 3.3.3"
22
23         config BR2_GCC_VERSION_3_3_4
24                 bool "gcc 3.3.4"
25
26         config BR2_GCC_VERSION_3_3_5
27                 bool "gcc 3.3.5"
28
29         config BR2_GCC_VERSION_3_4_0
30                 bool "gcc 3.4.0"
31                 select BR2_GCC_3_4
32
33         config BR2_GCC_VERSION_3_4_1
34                 bool "gcc 3.4.1"
35                 select BR2_GCC_3_4
36
37         config BR2_GCC_VERSION_3_4_2
38                 bool "gcc 3.4.2"
39                 select BR2_GCC_3_4
40
41         config BR2_GCC_VERSION_3_4_3
42                 bool "gcc 3.4.3"
43                 select BR2_GCC_3_4
44
45 endchoice
46
47 config BR2_GCC_VERSION
48         string
49         default "3.3.3"     if BR2_GCC_VERSION_3_3_3
50         default "3.3.4"     if BR2_GCC_VERSION_3_3_4
51         default "3.3.5"     if BR2_GCC_VERSION_3_3_5 || !CONFIG_DEVEL
52         default "3.4.0"     if BR2_GCC_VERSION_3_4_0
53         default "3.4.1"     if BR2_GCC_VERSION_3_4_1
54         default "3.4.2"     if BR2_GCC_VERSION_3_4_2
55         default "3.4.3"     if BR2_GCC_VERSION_3_4_3
56
57
58 config BR2_GCC_USE_SJLJ_EXCEPTIONS
59         string
60 #       default "--enable-sjlj-exceptions"
61         default ""
62         help
63             Currently the unwind stuff seems to work for staticly linked apps
64             but not dynamic.  So use setjmp/longjmp exceptions by default.
65
66 config BR2_EXTRA_GCC_CONFIG_OPTIONS
67         string
68         prompt "Additional gcc options" if CONFIG_DEVEL
69         default ""
70         help
71             Any additional gcc options you may want to include....
72
73 config BR2_INSTALL_LIBSTDCPP
74         bool
75         prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
76         default y
77         help
78             Build/install c++ compiler and libstdc++?
79