ccaccaf0022487bff7a8f308a5a3fdb8dcf2b423
[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_1 if ubicom32
13         default GCC_VERSION_4_4_1 if TARGET_octeon
14         default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !TARGET_octeon
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_1
37                 bool "gcc 4.4.1"
38
39         config GCC_VERSION_4_4_2
40                 bool "gcc 4.4.2"
41
42         config GCC_VERSION_LLVM
43                 bool "llvm-gcc 4.2"
44                 depends BROKEN
45
46         config GCC_VERSION_4_3_3_CS
47                 bool "gcc 4.3.3 with CodeSourcery enhancements"
48
49 endif
50
51 endchoice
52
53 config GCC_USE_GRAPHITE
54         bool
55         prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
56         depends GCC_VERSION_4_4_1 || GCC_VERSION_4_4_2
57
58 config EXTRA_GCC_CONFIG_OPTIONS
59         string
60         prompt "Additional gcc configure options" if TOOLCHAINOPTS
61         default ""
62         help
63             Any additional gcc options you may want to include....
64
65 config SSP_SUPPORT
66         bool
67         depends !GCC_VERSION_3_4_6
68         prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
69         default n
70         help
71             Enable Stack-Smashing Protection support
72
73 config INSTALL_LIBSTDCPP
74         bool
75         prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
76         default y
77         help
78             Build/install c++ compiler and libstdc++?
79
80 config INSTALL_LIBGCJ
81         bool
82         prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
83         default n
84         help
85             Build/install java compiler and GNU classpath ?