use the new 4.3.3+cs toolchain for mips and arm - significantly improves code size...
[openwrt/staging/mkresin.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4 prompt "GCC compiler Version" if TOOLCHAINOPTS
5 default GCC_VERSION_3_4_6 if LINUX_2_4
6 default GCC_VERSION_4_2_4 if TARGET_avr32
7 default GCC_VERSION_4_2_4 if TARGET_ppc40x
8 default GCC_VERSION_4_2_4 if TARGET_ppc44x
9 default GCC_VERSION_4_3_3 if powerpc64
10 default GCC_VERSION_4_3_3 if TARGET_etrax
11 default GCC_VERSION_4_3_3 if TARGET_coldfire
12 default GCC_VERSION_4_4_0 if ubicom32
13 default GCC_VERSION_4_4_1 if TARGET_octeon
14 default GCC_VERSION_4_3_3_CS if mips || mipsel
15 default GCC_VERSION_4_3_3_CS if arm || armeb
16 default GCC_VERSION_4_1_2
17 help
18 Select the version of gcc you wish to use.
19
20 config GCC_VERSION_3_4_6
21 bool "gcc 3.4.6"
22
23 if !LINUX_2_4
24 config GCC_VERSION_4_1_2
25 bool "gcc 4.1.2"
26
27 config GCC_VERSION_4_2_4
28 bool "gcc 4.2.4"
29
30 config GCC_VERSION_4_3_3
31 bool "gcc 4.3.3"
32
33 config GCC_VERSION_4_3_4
34 bool "gcc 4.3.4"
35
36 config GCC_VERSION_4_4_0
37 bool "gcc 4.4.0"
38
39 config GCC_VERSION_4_4_1
40 bool "gcc 4.4.1"
41
42 config GCC_VERSION_LLVM
43 bool "llvm-gcc 4.2"
44
45 config GCC_VERSION_4_3_3_CS
46 bool "gcc 4.3.3 with CodeSourcery enhancements"
47
48 endif
49
50 endchoice
51
52 config EXTRA_GCC_CONFIG_OPTIONS
53 string
54 prompt "Additional gcc configure options" if TOOLCHAINOPTS
55 default ""
56 help
57 Any additional gcc options you may want to include....
58
59 config SSP_SUPPORT
60 bool
61 depends !GCC_VERSION_3_4_6
62 prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
63 default n
64 help
65 Enable Stack-Smashing Protection support
66
67 config INSTALL_LIBSTDCPP
68 bool
69 prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
70 default y
71 help
72 Build/install c++ compiler and libstdc++?
73
74 config INSTALL_LIBGCJ
75 bool
76 prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
77 default n
78 help
79 Build/install java compiler and GNU classpath ?