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_03_0
42 prompt "linaro-4.6-2011.03-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_03_0
54 prompt "linaro-4.5-2011.03-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
145 prompt "4.2.3 (OBSOLETE)"
156 prompt "4.2.1 (OBSOLETE)"
162 prompt "4.2.0 (OBSOLETE)"
168 prompt "4.1.2 (OBSOLETE)"
173 prompt "4.0.4 (OBSOLETE)"
178 prompt "3.4.6 (OBSOLETE)"
186 select CC_GCC_4_2_or_later
188 config CC_GCC_4_2_or_later
195 select CC_GCC_4_3_or_later
196 select CC_GCC_USE_GMP_MPFR
198 config CC_GCC_4_3_or_later
201 select CC_GCC_4_2_or_later
206 select CC_GCC_4_4_or_later
207 select CC_GCC_USE_GMP_MPFR
208 select CC_GCC_HAS_GRAPHITE
210 config CC_GCC_4_4_or_later
213 select CC_GCC_4_3_or_later
218 select CC_GCC_4_5_or_later
219 select CC_GCC_USE_GMP_MPFR
220 select CC_GCC_USE_MPC
221 select CC_GCC_HAS_GRAPHITE
222 select CC_GCC_HAS_LTO
224 config CC_GCC_4_5_or_later
227 select CC_GCC_4_4_or_later
232 select CC_GCC_4_6_or_later
233 select CC_GCC_USE_GMP_MPFR
234 select CC_GCC_USE_MPC
235 select CC_GCC_HAS_GRAPHITE
236 select CC_GCC_HAS_LTO
238 config CC_GCC_4_6_or_later
241 select CC_GCC_4_5_or_later
243 config CC_GCC_HAS_GRAPHITE
247 # The way LTO works is a bit twisted.
248 # See: http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements
250 # - if binutils has plugins: LTO is handled by ld/gold by loading
251 # the plugin when linking
252 # - if binutils does not have plugins: LTO is handled by collect2
253 # In any case, LTO support does not depend on plugins, but takes
255 config CC_GCC_HAS_LTO
259 # Only enable gcc's support for plugins if binutils has it as well
260 # They are usefull only when doing LTO, but it does no harm enabling
261 # them even without LTO.
262 config CC_GCC_ENABLE_PLUGINS
264 depends on BINUTILS_PLUGINS
265 depends on ! STATIC_TOOLCHAIN
268 # If binutils installs gold, enable support for gold in gcc
271 depends on BINUTILS_GOLD_INSTALLED
274 config CC_GCC_USE_GMP_MPFR
280 config CC_GCC_USE_PPL_CLOOG
286 config CC_GCC_USE_MPC
291 config CC_GCC_USE_LIBELF
298 # Don't remove next line
299 # CT_INSERT_VERSION_STRING_BELOW
300 default "linaro-4.6-2011.03-0" if CC_V_linaro_4_6_2011_03_0
301 default "4.6.0" if CC_V_4_6_0
302 default "linaro-4.5-2011.03-0" if CC_V_linaro_4_5_2011_03_0
303 default "4.5.2" if CC_V_4_5_2
304 default "4.5.1" if CC_V_4_5_1
305 default "4.5.0" if CC_V_4_5_0
306 default "linaro-4.4-2011.02-0" if CC_V_linaro_4_4_2011_02_0
307 default "4.4.5" if CC_V_4_4_5
308 default "4.4.4" if CC_V_4_4_4
309 default "4.4.3" if CC_V_4_4_3
310 default "4.4.2" if CC_V_4_4_2
311 default "4.4.1" if CC_V_4_4_1
312 default "4.4.0" if CC_V_4_4_0
313 default "4.3.5" if CC_V_4_3_5
314 default "4.3.4" if CC_V_4_3_4
315 default "4.3.3" if CC_V_4_3_3
316 default "4.3.2" if CC_V_4_3_2
317 default "4.3.1" if CC_V_4_3_1
318 default "4.3.0" if CC_V_4_3_0
319 default "4.2.4" if CC_V_4_2_4
320 default "4.2.3" if CC_V_4_2_3
321 default "4.2.2" if CC_V_4_2_2
322 default "4.2.1" if CC_V_4_2_1
323 default "4.2.0" if CC_V_4_2_0
324 default "4.1.2" if CC_V_4_1_2
325 default "4.0.4" if CC_V_4_0_4
326 default "3.4.6" if CC_V_3_4_6
328 config CC_LANG_JAVA_USE_ECJ
331 depends on CC_LANG_JAVA
332 depends on CC_GCC_4_3_or_later
336 prompt "gcc ID string"
337 depends on CC_GCC_4_3_or_later
338 default "crosstool-NG-${CT_VERSION}"
340 Specify a string that identifies your package. You may wish to include
341 a build number or build date. This version string will be included in
342 the output of gcc --version.
344 This is passed to the configure flag --with-pkgversion.
349 depends on CC_GCC_4_3_or_later
352 Specify the URL that users should visit if they wish to report a bug.
354 config CC_ENABLE_CXX_FLAGS
356 prompt "Flags to pass to --enable-cxx-flags"
359 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
360 Leave empty if you don't know better.
362 Note: just pass in the option _value_, that is only the part that goes
365 config CC_CORE_EXTRA_CONFIG
367 prompt "Core gcc extra config"
370 Extra flags to pass onto ./configure when configuring the core gcc.
372 The core gcc is a stripped down, C-only compiler needed to build
373 the C library. Kinda bootstrap gcc, if you wish.
375 config CC_EXTRA_CONFIG
377 prompt "gcc extra config"
379 depends on ! BARE_METAL
381 Extra flags to pass onto ./configure when configuring gcc.