41943c8cc8733abc06bac62459bd1d05232b8972
[openwrt/openwrt.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 TARGET_ps3_petitboot
10 default GCC_VERSION_4_3_3 if TARGET_pxcab
11 default GCC_VERSION_4_3_3 if TARGET_etrax
12 default GCC_VERSION_4_3_3 if TARGET_coldfire
13 default GCC_VERSION_4_1_2
14 help
15 Select the version of gcc you wish to use.
16
17 config GCC_VERSION_3_4_6
18 bool "gcc 3.4.6"
19
20 if !LINUX_2_4
21 config GCC_VERSION_4_1_2
22 bool "gcc 4.1.2"
23
24 config GCC_VERSION_4_2_4
25 bool "gcc 4.2.4"
26
27 config GCC_VERSION_4_3_3
28 bool "gcc 4.3.3"
29
30 config GCC_VERSION_4_3_4
31 bool "gcc 4.3.4"
32
33 config GCC_VERSION_4_4_0
34 bool "gcc 4.4.0"
35
36 config GCC_VERSION_4_4_1
37 bool "gcc 4.4.1"
38 endif
39
40 endchoice
41
42 config EABI_SUPPORT
43 bool
44 depends arm||armeb
45 prompt "Enable EABI support" if TOOLCHAINOPTS
46 default n if TARGET_gemini
47 default y
48 help
49 Enable ARM EABI support
50
51 config EXTRA_GCC_CONFIG_OPTIONS
52 string
53 prompt "Additional gcc options" if TOOLCHAINOPTS
54 default ""
55 help
56 Any additional gcc options you may want to include....
57
58 config SSP_SUPPORT
59 bool
60 depends !GCC_VERSION_3_4_6
61 prompt "Enable Smash Stacking Protection support" if TOOLCHAINOPTS
62 default n
63 help
64 Enable Smash Stacking Protection support
65
66 config INSTALL_LIBSTDCPP
67 bool
68 prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
69 default y
70 help
71 Build/install c++ compiler and libstdc++?
72
73 config INSTALL_LIBGCJ
74 bool
75 prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
76 default n
77 help
78 Build/install java compiler and GNU classpath ?