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