[toolchain] add support for gcc-4.5.1
[openwrt/svn-archive/archive.git] / toolchain / gcc / Config.in
1 # Choose gcc version.
2
3 choice
4 prompt "GCC compiler Version" if TOOLCHAINOPTS
5 default GCC_VERSION_4_2_4 if avr32
6 default GCC_VERSION_4_3_3 if powerpc64
7 default GCC_VERSION_4_3_3 if TARGET_coldfire
8 default GCC_VERSION_4_3_3 if TARGET_etrax
9 default GCC_VERSION_4_3_3_CS if (arm || armeb) && !TARGET_gemini
10 default GCC_VERSION_4_3_3_CS if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
11 default GCC_VERSION_4_3_4 if TARGET_gemini
12 default GCC_VERSION_4_4_1 if ubicom32
13 default GCC_VERSION_4_4_3 if powerpc
14 default GCC_VERSION_4_4_4 if (TARGET_octeon || TARGET_sibyte)
15 default GCC_VERSION_4_1_2
16 help
17 Select the version of gcc you wish to use.
18
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_3_4
29 bool "gcc 4.3.4"
30
31 config GCC_VERSION_4_3_5
32 bool "gcc 4.3.5"
33
34 config GCC_VERSION_4_4_1
35 bool "gcc 4.4.1"
36
37 config GCC_VERSION_4_4_2
38 bool "gcc 4.4.2"
39
40 config GCC_VERSION_4_4_3
41 bool "gcc 4.4.3"
42
43 config GCC_VERSION_4_4_4
44 bool "gcc 4.4.4"
45
46 config GCC_VERSION_4_5_0
47 bool "gcc 4.5.0"
48
49 config GCC_VERSION_4_5_1
50 bool "gcc 4.5.1"
51
52 config GCC_VERSION_LLVM
53 bool "llvm-gcc 4.2"
54 depends BROKEN
55
56 config GCC_VERSION_4_3_3_CS
57 bool "gcc 4.3.3 with CodeSourcery enhancements"
58
59 config GCC_VERSION_4_4_1_CS
60 bool "gcc 4.4.1 with CodeSourcery enhancements"
61 depends BROKEN
62
63 config GCC_VERSION_4_4_3_CS
64 bool "gcc 4.4.3 with CodeSourcery enhancements"
65 depends BROKEN
66
67 endchoice
68
69 config GCC_USE_GRAPHITE
70 bool
71 prompt "Compile in support for the new Graphite framework in GCC 4.4+" if TOOLCHAINOPTS
72 depends GCC_VERSION_4_4 || GCC_VERSION_4_5
73
74 config GCC_USE_SYSTEM_PPL_CLOOG
75 bool
76 prompt "Use the system versions of PPL and CLooG"
77 depends GCC_USE_GRAPHITE
78 default n
79
80 config EXTRA_GCC_CONFIG_OPTIONS
81 string
82 prompt "Additional gcc configure options" if TOOLCHAINOPTS
83 default ""
84 help
85 Any additional gcc options you may want to include....
86
87 config SSP_SUPPORT
88 bool
89 depends !GCC_VERSION_3_4_6
90 prompt "Enable Stack-Smashing Protection support" if TOOLCHAINOPTS
91 default n
92 help
93 Enable Stack-Smashing Protection support
94
95 config TLS_SUPPORT
96 bool
97 depends !GCC_VERSION_3_4_6 && UCLIBC_VERSION_NPTL
98 prompt "Enable Thread-local storage (TLS) support" if TOOLCHAINOPTS
99 default n
100 help
101 Enable Thread-local storage support
102
103 config INSTALL_LIBSTDCPP
104 bool
105 prompt "Build/install c++ compiler and libstdc++?" if TOOLCHAINOPTS
106 default y
107 help
108 Build/install c++ compiler and libstdc++?
109
110 config INSTALL_LIBGCJ
111 bool
112 prompt "Build/install java compiler and GNU classpath ?" if TOOLCHAINOPTS
113 default n
114 help
115 Build/install java compiler and GNU classpath ?