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.
19 # Don't remove next line
20 # CT_INSERT_VERSION_BELOW
22 config CC_V_linaro_4_5_2011_03_0
24 prompt "linaro-4.5-2011.03-0 (EXPERIMENTAL)"
25 depends on EXPERIMENTAL
30 prompt "4.5.2 (EXPERIMENTAL)"
31 depends on EXPERIMENTAL
36 prompt "4.5.1 (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
42 prompt "4.5.0 (EXPERIMENTAL)"
43 depends on EXPERIMENTAL
47 config CC_V_linaro_4_4_2011_02_0
49 prompt "linaro-4.4-2011.02-0 (EXPERIMENTAL)"
50 depends on EXPERIMENTAL
115 prompt "4.2.3 (OBSOLETE)"
126 prompt "4.2.1 (OBSOLETE)"
132 prompt "4.2.0 (OBSOLETE)"
138 prompt "4.1.2 (OBSOLETE)"
143 prompt "4.0.4 (OBSOLETE)"
148 prompt "3.4.6 (OBSOLETE)"
156 select CC_GCC_4_2_or_later
158 config CC_GCC_4_2_or_later
165 select CC_GCC_4_3_or_later
166 select CC_GCC_USE_GMP_MPFR
168 config CC_GCC_4_3_or_later
171 select CC_GCC_4_2_or_later
176 select CC_GCC_4_4_or_later
177 select CC_GCC_USE_GMP_MPFR
178 select CC_GCC_HAS_GRAPHITE
180 config CC_GCC_4_4_or_later
183 select CC_GCC_4_3_or_later
188 select CC_GCC_4_5_or_later
189 select CC_GCC_USE_GMP_MPFR
190 select CC_GCC_USE_MPC
191 select CC_GCC_HAS_GRAPHITE
192 select CC_GCC_HAS_LTO
194 config CC_GCC_4_5_or_later
197 select CC_GCC_4_4_or_later
199 config CC_GCC_HAS_GRAPHITE
203 # The way LTO works is a bit twisted.
204 # See: http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements
206 # - if binutils has plugins: LTO is handled by ld/gold by loading
207 # the plugin when linking
208 # - if binutils does not have plugins: LTO is handled by collect2
209 # In any case, LTO support does not depend on plugins, but takes
211 config CC_GCC_HAS_LTO
215 # Only enable gcc's support for plugins if binutils has it as well
216 # They are usefull only when doing LTO, but it does no harm enabling
217 # them even without LTO.
218 config CC_GCC_ENABLE_PLUGINS
220 depends on BINUTILS_PLUGINS
221 depends on ! STATIC_TOOLCHAIN
224 # If binutils installs gold, enable support for gold in gcc
227 depends on BINUTILS_GOLD_INSTALLED
230 config CC_GCC_USE_GMP_MPFR
236 config CC_GCC_USE_PPL_CLOOG
242 config CC_GCC_USE_MPC
247 config CC_GCC_USE_LIBELF
254 # Don't remove next line
255 # CT_INSERT_VERSION_STRING_BELOW
256 default "linaro-4.5-2011.03-0" if CC_V_linaro_4_5_2011_03_0
257 default "4.5.2" if CC_V_4_5_2
258 default "4.5.1" if CC_V_4_5_1
259 default "4.5.0" if CC_V_4_5_0
260 default "linaro-4.4-2011.02-0" if CC_V_linaro_4_4_2011_02_0
261 default "4.4.5" if CC_V_4_4_5
262 default "4.4.4" if CC_V_4_4_4
263 default "4.4.3" if CC_V_4_4_3
264 default "4.4.2" if CC_V_4_4_2
265 default "4.4.1" if CC_V_4_4_1
266 default "4.4.0" if CC_V_4_4_0
267 default "4.3.5" if CC_V_4_3_5
268 default "4.3.4" if CC_V_4_3_4
269 default "4.3.3" if CC_V_4_3_3
270 default "4.3.2" if CC_V_4_3_2
271 default "4.3.1" if CC_V_4_3_1
272 default "4.3.0" if CC_V_4_3_0
273 default "4.2.4" if CC_V_4_2_4
274 default "4.2.3" if CC_V_4_2_3
275 default "4.2.2" if CC_V_4_2_2
276 default "4.2.1" if CC_V_4_2_1
277 default "4.2.0" if CC_V_4_2_0
278 default "4.1.2" if CC_V_4_1_2
279 default "4.0.4" if CC_V_4_0_4
280 default "3.4.6" if CC_V_3_4_6
282 config CC_LANG_JAVA_USE_ECJ
285 depends on CC_LANG_JAVA
286 depends on CC_GCC_4_3_or_later
290 prompt "gcc ID string"
291 depends on CC_GCC_4_3_or_later
292 default "crosstool-NG-${CT_VERSION}"
294 Specify a string that identifies your package. You may wish to include
295 a build number or build date. This version string will be included in
296 the output of gcc --version.
298 This is passed to the configure flag --with-pkgversion.
303 depends on CC_GCC_4_3_or_later
306 Specify the URL that users should visit if they wish to report a bug.
308 config CC_ENABLE_CXX_FLAGS
310 prompt "Flags to pass to --enable-cxx-flags"
313 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
314 Leave empty if you don't know better.
316 Note: just pass in the option _value_, that is only the part that goes
319 config CC_CORE_EXTRA_CONFIG
321 prompt "Core gcc extra config"
324 Extra flags to pass onto ./configure when configuring the core gcc.
326 The core gcc is a stripped down, C-only compiler needed to build
327 the C library. Kinda bootstrap gcc, if you wish.
329 config CC_EXTRA_CONFIG
331 prompt "gcc extra config"
333 depends on ! BARE_METAL
335 Extra flags to pass onto ./configure when configuring gcc.