add gcc 3.4.6
[10.03/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         depends BR2_GCC_VERSION_3_4_4 || BR2_GCC_VERSION_3_4_5 || BR2_GCC_VERSION_3_4_6 || BR2_GCC_VERSION_4_0_2 || BR2_GCC_VERSION_4_1_0
14
15 choice
16         prompt "GCC compiler Version" if CONFIG_DEVEL
17         default BR2_GCC_VERSION_4_0_2 if BR2_LINUX_2_6_ARUBA
18         default BR2_GCC_VERSION_3_4_4 if BR2_LINUX_2_4_BRCM
19         default BR2_GCC_VERSION_3_4_5
20         help
21           Select the version of gcc you wish to use.
22
23         config BR2_GCC_VERSION_3_4_4
24                 bool "gcc 3.4.4"
25                 select BR2_GCC_3_4
26
27         config BR2_GCC_VERSION_3_4_5
28                 bool "gcc 3.4.5"
29                 select BR2_GCC_3_4
30
31         config BR2_GCC_VERSION_3_4_6
32                 bool "gcc 3.4.6"
33                 select BR2_GCC_3_4
34
35         config BR2_GCC_VERSION_4_0_2
36                 bool "gcc 4.0.2"
37                 select BR2_GCC_3_4
38                 select BR2_PACKAGE_LIBGCC
39                 
40         config BR2_GCC_VERSION_4_1_0
41                 bool "gcc 4.1.0"
42                 select BR2_GCC_3_4
43                 select BR2_PACKAGE_LIBGCC
44
45 endchoice
46
47 config BR2_GCC_VERSION
48         string
49         default "3.4.4"     if BR2_GCC_VERSION_3_4_4
50         default "3.4.5"     if BR2_GCC_VERSION_3_4_5 || !CONFIG_DEVEL
51         default "3.4.6"     if BR2_GCC_VERSION_3_4_6
52         default "4.0.2"     if BR2_GCC_VERSION_4_0_2
53         default "4.1.0"     if BR2_GCC_VERSION_4_1_0
54
55
56 config BR2_GCC_USE_SJLJ_EXCEPTIONS
57         string
58 #       default "--enable-sjlj-exceptions"
59         default ""
60         help
61             Currently the unwind stuff seems to work for staticly linked apps
62             but not dynamic.  So use setjmp/longjmp exceptions by default.
63
64 config BR2_EXTRA_GCC_CONFIG_OPTIONS
65         string
66         prompt "Additional gcc options" if CONFIG_DEVEL
67         default ""
68         help
69             Any additional gcc options you may want to include....
70
71 config BR2_INSTALL_LIBSTDCPP
72         bool
73         prompt "Build/install c++ compiler and libstdc++?" if CONFIG_DEVEL
74         default y
75         help
76             Build/install c++ compiler and libstdc++?
77