3 ## select CC_SUPPORT_CXX
4 ## select CC_SUPPORT_FORTRAN
5 ## select CC_SUPPORT_JAVA
6 ## select CC_SUPPORT_ADA
7 ## select CC_SUPPORT_OBJC
8 ## select CC_SUPPORT_OBJCXX
10 ## help gcc is the full-blown GNU compiler. This is what most people will choose.
12 ## help gcc supports many languages, a powerful code parser, optimised binary
13 ## help output, and lots of other features.
15 config CC_GCC_SHOW_LINARO
17 prompt "Show Linaro versions (EXPERIMENTAL)"
18 depends on EXPERIMENTAL
20 Linaro is maintaining some advanced/more stable/experimental versions
21 of gcc, especially for the ARM architecture.
23 Those versions have not been blessed by the gcc comunity (nor have they
24 been cursed either!), but they look to be pretty much stable, and even
25 more stable than the upstream versions. YMMV...
27 If you do not know what this Linaro stuff is, then simply say 'n' here,
28 and rest in peace. OTOH, if you know what you are doing, you will be
29 able to use and enjoy :-) the Linaro versions by saying 'y' here.
31 Linaro: http://www.linaro.org/
36 # Don't remove next line
37 # CT_INSERT_VERSION_BELOW
39 config CC_V_linaro_4_6_2011_05_0
41 prompt "linaro-4.6-2011.05-0 (EXPERIMENTAL)"
42 depends on CC_GCC_SHOW_LINARO
47 prompt "4.6.0 (EXPERIMENTAL)"
48 depends on EXPERIMENTAL
51 config CC_V_linaro_4_5_2011_05_0
53 prompt "linaro-4.5-2011.05-0 (EXPERIMENTAL)"
54 depends on CC_GCC_SHOW_LINARO
59 prompt "4.5.2 (EXPERIMENTAL)"
60 depends on EXPERIMENTAL
65 prompt "4.5.1 (EXPERIMENTAL)"
66 depends on EXPERIMENTAL
71 prompt "4.5.0 (EXPERIMENTAL)"
72 depends on EXPERIMENTAL
76 config CC_V_linaro_4_4_2011_02_0
78 prompt "linaro-4.4-2011.02-0 (EXPERIMENTAL)"
79 depends on CC_GCC_SHOW_LINARO
149 prompt "4.2.3 (OBSOLETE)"
160 prompt "4.2.1 (OBSOLETE)"
166 prompt "4.2.0 (OBSOLETE)"
172 prompt "4.1.2 (OBSOLETE)"
177 prompt "4.0.4 (OBSOLETE)"
182 prompt "3.4.6 (OBSOLETE)"
189 select CC_GCC_4_2_or_later
191 config CC_GCC_4_2_or_later
196 select CC_GCC_4_3_or_later
197 select CC_GCC_USE_GMP_MPFR
199 config CC_GCC_4_3_or_later
201 select CC_GCC_4_2_or_later
205 select CC_GCC_4_4_or_later
206 select CC_GCC_USE_GMP_MPFR
207 select CC_GCC_HAS_GRAPHITE
209 config CC_GCC_4_4_or_later
211 select CC_GCC_4_3_or_later
215 select CC_GCC_4_5_or_later
216 select CC_GCC_USE_GMP_MPFR
217 select CC_GCC_USE_MPC
218 select CC_GCC_HAS_GRAPHITE
219 select CC_GCC_HAS_LTO
221 config CC_GCC_4_5_or_later
223 select CC_GCC_4_4_or_later
227 select CC_GCC_4_6_or_later
228 select CC_GCC_USE_GMP_MPFR
229 select CC_GCC_USE_MPC
230 select CC_GCC_HAS_GRAPHITE
231 select CC_GCC_HAS_LTO
233 config CC_GCC_4_6_or_later
235 select CC_GCC_4_5_or_later
237 config CC_GCC_HAS_GRAPHITE
240 # The way LTO works is a bit twisted.
241 # See: http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements
243 # - if binutils has plugins: LTO is handled by ld/gold by loading
244 # the plugin when linking
245 # - if binutils does not have plugins: LTO is handled by collect2
246 # In any case, LTO support does not depend on plugins, but takes
248 config CC_GCC_HAS_LTO
251 # Only enable gcc's support for plugins if binutils has it as well
252 # They are usefull only when doing LTO, but it does no harm enabling
253 # them even without LTO.
254 config CC_GCC_ENABLE_PLUGINS
256 depends on BINUTILS_PLUGINS
257 depends on ! STATIC_TOOLCHAIN
260 # If binutils installs gold, enable support for gold in gcc
263 depends on BINUTILS_GOLD_INSTALLED
266 config CC_GCC_USE_GMP_MPFR
271 config CC_GCC_USE_PPL_CLOOG
276 config CC_GCC_USE_MPC
280 config CC_GCC_USE_LIBELF
286 # Don't remove next line
287 # CT_INSERT_VERSION_STRING_BELOW
288 default "4.4.6" if CC_V_4_4_6
289 default "linaro-4.6-2011.05-0" if CC_V_linaro_4_6_2011_05_0
290 default "4.6.0" if CC_V_4_6_0
291 default "linaro-4.5-2011.05-0" if CC_V_linaro_4_5_2011_05_0
292 default "4.5.2" if CC_V_4_5_2
293 default "4.5.1" if CC_V_4_5_1
294 default "4.5.0" if CC_V_4_5_0
295 default "linaro-4.4-2011.02-0" if CC_V_linaro_4_4_2011_02_0
296 default "4.4.5" if CC_V_4_4_5
297 default "4.4.4" if CC_V_4_4_4
298 default "4.4.3" if CC_V_4_4_3
299 default "4.4.2" if CC_V_4_4_2
300 default "4.4.1" if CC_V_4_4_1
301 default "4.4.0" if CC_V_4_4_0
302 default "4.3.5" if CC_V_4_3_5
303 default "4.3.4" if CC_V_4_3_4
304 default "4.3.3" if CC_V_4_3_3
305 default "4.3.2" if CC_V_4_3_2
306 default "4.3.1" if CC_V_4_3_1
307 default "4.3.0" if CC_V_4_3_0
308 default "4.2.4" if CC_V_4_2_4
309 default "4.2.3" if CC_V_4_2_3
310 default "4.2.2" if CC_V_4_2_2
311 default "4.2.1" if CC_V_4_2_1
312 default "4.2.0" if CC_V_4_2_0
313 default "4.1.2" if CC_V_4_1_2
314 default "4.0.4" if CC_V_4_0_4
315 default "3.4.6" if CC_V_3_4_6
317 config CC_LANG_JAVA_USE_ECJ
320 depends on CC_LANG_JAVA
321 depends on CC_GCC_4_3_or_later