5 select CC_SUPPORT_FORTRAN
9 select CC_SUPPORT_OBJCXX
11 gcc is the full-blown GNU compiler. This is what most people will choose.
13 gcc supports many languages, a powerful code parser, optimised binary
14 output, and lots of other features.
16 config CC_GCC_SHOW_LINARO
18 prompt "Show Linaro versions (EXPERIMENTAL)"
19 depends on EXPERIMENTAL
21 Linaro is maintaining some advanced/more stable/experimental versions
22 of gcc, especially for the ARM architecture.
24 Those versions have not been blessed by the gcc comunity (nor have they
25 been cursed either!), but they look to be pretty much stable, and even
26 more stable than the upstream versions. YMMV...
28 If you do not know what this Linaro stuff is, then simply say 'n' here,
29 and rest in peace. OTOH, if you know what you are doing, you will be
30 able to use and enjoy :-) the Linaro versions by saying 'y' here.
32 Linaro: http://www.linaro.org/
37 # Don't remove next line
38 # CT_INSERT_VERSION_BELOW
40 config CC_V_linaro_4_6_2011_04_0
42 prompt "linaro-4.6-2011.04-0 (EXPERIMENTAL)"
43 depends on CC_GCC_SHOW_LINARO
48 prompt "4.6.0 (EXPERIMENTAL)"
49 depends on EXPERIMENTAL
52 config CC_V_linaro_4_5_2011_04_0
54 prompt "linaro-4.5-2011.04-0 (EXPERIMENTAL)"
55 depends on CC_GCC_SHOW_LINARO
60 prompt "4.5.2 (EXPERIMENTAL)"
61 depends on EXPERIMENTAL
66 prompt "4.5.1 (EXPERIMENTAL)"
67 depends on EXPERIMENTAL
72 prompt "4.5.0 (EXPERIMENTAL)"
73 depends on EXPERIMENTAL
77 config CC_V_linaro_4_4_2011_02_0
79 prompt "linaro-4.4-2011.02-0 (EXPERIMENTAL)"
80 depends on CC_GCC_SHOW_LINARO
86 select CC_GCC_4_4_or_later
150 prompt "4.2.3 (OBSOLETE)"
161 prompt "4.2.1 (OBSOLETE)"
167 prompt "4.2.0 (OBSOLETE)"
173 prompt "4.1.2 (OBSOLETE)"
178 prompt "4.0.4 (OBSOLETE)"
183 prompt "3.4.6 (OBSOLETE)"
191 select CC_GCC_4_2_or_later
193 config CC_GCC_4_2_or_later
200 select CC_GCC_4_3_or_later
201 select CC_GCC_USE_GMP_MPFR
203 config CC_GCC_4_3_or_later
206 select CC_GCC_4_2_or_later
211 select CC_GCC_4_4_or_later
212 select CC_GCC_USE_GMP_MPFR
213 select CC_GCC_HAS_GRAPHITE
215 config CC_GCC_4_4_or_later
218 select CC_GCC_4_3_or_later
223 select CC_GCC_4_5_or_later
224 select CC_GCC_USE_GMP_MPFR
225 select CC_GCC_USE_MPC
226 select CC_GCC_HAS_GRAPHITE
227 select CC_GCC_HAS_LTO
229 config CC_GCC_4_5_or_later
232 select CC_GCC_4_4_or_later
237 select CC_GCC_4_6_or_later
238 select CC_GCC_USE_GMP_MPFR
239 select CC_GCC_USE_MPC
240 select CC_GCC_HAS_GRAPHITE
241 select CC_GCC_HAS_LTO
243 config CC_GCC_4_6_or_later
246 select CC_GCC_4_5_or_later
248 config CC_GCC_HAS_GRAPHITE
252 # The way LTO works is a bit twisted.
253 # See: http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements
255 # - if binutils has plugins: LTO is handled by ld/gold by loading
256 # the plugin when linking
257 # - if binutils does not have plugins: LTO is handled by collect2
258 # In any case, LTO support does not depend on plugins, but takes
260 config CC_GCC_HAS_LTO
264 # Only enable gcc's support for plugins if binutils has it as well
265 # They are usefull only when doing LTO, but it does no harm enabling
266 # them even without LTO.
267 config CC_GCC_ENABLE_PLUGINS
269 depends on BINUTILS_PLUGINS
270 depends on ! STATIC_TOOLCHAIN
273 # If binutils installs gold, enable support for gold in gcc
276 depends on BINUTILS_GOLD_INSTALLED
279 config CC_GCC_USE_GMP_MPFR
285 config CC_GCC_USE_PPL_CLOOG
291 config CC_GCC_USE_MPC
296 config CC_GCC_USE_LIBELF
303 # Don't remove next line
304 # CT_INSERT_VERSION_STRING_BELOW
305 default "4.4.6" if CC_V_4_4_6
306 default "linaro-4.6-2011.04-0" if CC_V_linaro_4_6_2011_04_0
307 default "4.6.0" if CC_V_4_6_0
308 default "linaro-4.5-2011.04-0" if CC_V_linaro_4_5_2011_04_0
309 default "4.5.2" if CC_V_4_5_2
310 default "4.5.1" if CC_V_4_5_1
311 default "4.5.0" if CC_V_4_5_0
312 default "linaro-4.4-2011.02-0" if CC_V_linaro_4_4_2011_02_0
313 default "4.4.5" if CC_V_4_4_5
314 default "4.4.4" if CC_V_4_4_4
315 default "4.4.3" if CC_V_4_4_3
316 default "4.4.2" if CC_V_4_4_2
317 default "4.4.1" if CC_V_4_4_1
318 default "4.4.0" if CC_V_4_4_0
319 default "4.3.5" if CC_V_4_3_5
320 default "4.3.4" if CC_V_4_3_4
321 default "4.3.3" if CC_V_4_3_3
322 default "4.3.2" if CC_V_4_3_2
323 default "4.3.1" if CC_V_4_3_1
324 default "4.3.0" if CC_V_4_3_0
325 default "4.2.4" if CC_V_4_2_4
326 default "4.2.3" if CC_V_4_2_3
327 default "4.2.2" if CC_V_4_2_2
328 default "4.2.1" if CC_V_4_2_1
329 default "4.2.0" if CC_V_4_2_0
330 default "4.1.2" if CC_V_4_1_2
331 default "4.0.4" if CC_V_4_0_4
332 default "3.4.6" if CC_V_3_4_6
334 config CC_LANG_JAVA_USE_ECJ
337 depends on CC_LANG_JAVA
338 depends on CC_GCC_4_3_or_later