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