[toolchain/powerpc]: use gcc 4.4.3 for the powerpc targets by default
[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 avr32
7         default GCC_VERSION_4_3_3 if powerpc64
8         default GCC_VERSION_4_3_3 if TARGET_etrax
9         default GCC_VERSION_4_3_3 if TARGET_coldfire
10         default GCC_VERSION_4_4_1 if ubicom32
11         default GCC_VERSION_4_4_1 if TARGET_octeon
12         default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !TARGET_octeon
13         default GCC_VERSION_4_3_3_CS if (arm || armeb) && !TARGET_gemini
14         default GCC_VERSION_4_4_3 if powerpc
15         default GCC_VERSION_4_1_2
16         help
17           Select the version of gcc you wish to use.
18
19         config GCC_VERSION_3_4_6
20                 bool "gcc 3.4.6"
21
22 if !LINUX_2_4
23         config GCC_VERSION_4_1_2
24                 bool "gcc 4.1.2"
25
26         config GCC_VERSION_4_2_4
27                 bool "gcc 4.2.4"
28
29         config GCC_VERSION_4_3_3
30                 bool "gcc 4.3.3"
31
32         config GCC_VERSION_4_3_4
33                 bool "gcc 4.3.4"
34
35         config GCC_VERSION_4_4_1
36                 bool "gcc 4.4.1"
37
38         config GCC_VERSION_4_4_2
39                 bool "gcc 4.4.2"
40
41         config GCC_VERSION_4_4_3
42                 bool "gcc 4.4.3"
43
44         config GCC_VERSION_LLVM
45                 bool "llvm-gcc 4.2"
46                 depends BROKEN
47
48         config GCC_VERSION_4_3_3_CS
49                 bool "gcc 4.3.3 with CodeSourcery enhancements"
50
51         config GCC_VERSION_4_4_1_CS
52                 bool "gcc 4.4.1 with CodeSourcery enhancements"
53                 depends BROKEN
54
55         config GCC_VERSION_4_4_3_CS
56                 bool "gcc 4.4.3 with CodeSourcery enhancements"
57                 depends BROKEN
58
59 endif
60
61 endchoice
62
63 config GCC_USE_GRAPHITE
64         bool
65         prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
66         depends GCC_VERSION_4_4_1 || GCC_VERSION_4_4_2 || GCC_VERSION_4_4_3
67
68 config EXTRA_GCC_CONFIG_OPTIONS
69         string
70         prompt "Additional gcc configure options" if TOOLCHAINOPTS
71         default ""
72         help
73             Any additional gcc options you may want to include....
74
75 config SSP_SUPPORT
76         bool
77         depends !GCC_VERSION_3_4_6
78         prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
79         default n
80         help
81             Enable Stack-Smashing Protection support
82
83 config INSTALL_LIBSTDCPP
84         bool
85         prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
86         default y
87         help
88             Build/install c++ compiler and libstdc++?
89
90 config INSTALL_LIBGCJ
91         bool
92         prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
93         default n
94         help
95             Build/install java compiler and GNU classpath ?