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
24 prompt "4.6.0 (EXPERIMENTAL)"
25 depends on EXPERIMENTAL
28 config CC_V_linaro_4_5_2011_03_0
30 prompt "linaro-4.5-2011.03-0 (EXPERIMENTAL)"
31 depends on EXPERIMENTAL
36 prompt "4.5.2 (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
42 prompt "4.5.1 (EXPERIMENTAL)"
43 depends on EXPERIMENTAL
48 prompt "4.5.0 (EXPERIMENTAL)"
49 depends on EXPERIMENTAL
53 config CC_V_linaro_4_4_2011_02_0
55 prompt "linaro-4.4-2011.02-0 (EXPERIMENTAL)"
56 depends on EXPERIMENTAL
121 prompt "4.2.3 (OBSOLETE)"
132 prompt "4.2.1 (OBSOLETE)"
138 prompt "4.2.0 (OBSOLETE)"
144 prompt "4.1.2 (OBSOLETE)"
149 prompt "4.0.4 (OBSOLETE)"
154 prompt "3.4.6 (OBSOLETE)"
162 select CC_GCC_4_2_or_later
164 config CC_GCC_4_2_or_later
171 select CC_GCC_4_3_or_later
172 select CC_GCC_USE_GMP_MPFR
174 config CC_GCC_4_3_or_later
177 select CC_GCC_4_2_or_later
182 select CC_GCC_4_4_or_later
183 select CC_GCC_USE_GMP_MPFR
184 select CC_GCC_HAS_GRAPHITE
186 config CC_GCC_4_4_or_later
189 select CC_GCC_4_3_or_later
194 select CC_GCC_4_5_or_later
195 select CC_GCC_USE_GMP_MPFR
196 select CC_GCC_USE_MPC
197 select CC_GCC_HAS_GRAPHITE
198 select CC_GCC_HAS_LTO
200 config CC_GCC_4_5_or_later
203 select CC_GCC_4_4_or_later
208 select CC_GCC_4_6_or_later
209 select CC_GCC_USE_GMP_MPFR
210 select CC_GCC_USE_MPC
211 select CC_GCC_HAS_GRAPHITE
212 select CC_GCC_HAS_LTO
214 config CC_GCC_4_6_or_later
217 select CC_GCC_4_5_or_later
219 config CC_GCC_HAS_GRAPHITE
223 # The way LTO works is a bit twisted.
224 # See: http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements
226 # - if binutils has plugins: LTO is handled by ld/gold by loading
227 # the plugin when linking
228 # - if binutils does not have plugins: LTO is handled by collect2
229 # In any case, LTO support does not depend on plugins, but takes
231 config CC_GCC_HAS_LTO
235 # Only enable gcc's support for plugins if binutils has it as well
236 # They are usefull only when doing LTO, but it does no harm enabling
237 # them even without LTO.
238 config CC_GCC_ENABLE_PLUGINS
240 depends on BINUTILS_PLUGINS
241 depends on ! STATIC_TOOLCHAIN
244 # If binutils installs gold, enable support for gold in gcc
247 depends on BINUTILS_GOLD_INSTALLED
250 config CC_GCC_USE_GMP_MPFR
256 config CC_GCC_USE_PPL_CLOOG
262 config CC_GCC_USE_MPC
267 config CC_GCC_USE_LIBELF
274 # Don't remove next line
275 # CT_INSERT_VERSION_STRING_BELOW
276 default "4.6.0" if CC_V_4_6_0
277 default "linaro-4.5-2011.03-0" if CC_V_linaro_4_5_2011_03_0
278 default "4.5.2" if CC_V_4_5_2
279 default "4.5.1" if CC_V_4_5_1
280 default "4.5.0" if CC_V_4_5_0
281 default "linaro-4.4-2011.02-0" if CC_V_linaro_4_4_2011_02_0
282 default "4.4.5" if CC_V_4_4_5
283 default "4.4.4" if CC_V_4_4_4
284 default "4.4.3" if CC_V_4_4_3
285 default "4.4.2" if CC_V_4_4_2
286 default "4.4.1" if CC_V_4_4_1
287 default "4.4.0" if CC_V_4_4_0
288 default "4.3.5" if CC_V_4_3_5
289 default "4.3.4" if CC_V_4_3_4
290 default "4.3.3" if CC_V_4_3_3
291 default "4.3.2" if CC_V_4_3_2
292 default "4.3.1" if CC_V_4_3_1
293 default "4.3.0" if CC_V_4_3_0
294 default "4.2.4" if CC_V_4_2_4
295 default "4.2.3" if CC_V_4_2_3
296 default "4.2.2" if CC_V_4_2_2
297 default "4.2.1" if CC_V_4_2_1
298 default "4.2.0" if CC_V_4_2_0
299 default "4.1.2" if CC_V_4_1_2
300 default "4.0.4" if CC_V_4_0_4
301 default "3.4.6" if CC_V_3_4_6
303 config CC_LANG_JAVA_USE_ECJ
306 depends on CC_LANG_JAVA
307 depends on CC_GCC_4_3_or_later
311 prompt "gcc ID string"
312 depends on CC_GCC_4_3_or_later
313 default "crosstool-NG-${CT_VERSION}"
315 Specify a string that identifies your package. You may wish to include
316 a build number or build date. This version string will be included in
317 the output of gcc --version.
319 This is passed to the configure flag --with-pkgversion.
324 depends on CC_GCC_4_3_or_later
327 Specify the URL that users should visit if they wish to report a bug.
329 config CC_ENABLE_CXX_FLAGS
331 prompt "Flags to pass to --enable-cxx-flags"
334 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
335 Leave empty if you don't know better.
337 Note: just pass in the option _value_, that is only the part that goes
340 config CC_CORE_EXTRA_CONFIG
342 prompt "Core gcc extra config"
345 Extra flags to pass onto ./configure when configuring the core gcc.
347 The core gcc is a stripped down, C-only compiler needed to build
348 the C library. Kinda bootstrap gcc, if you wish.
350 config CC_EXTRA_CONFIG
352 prompt "gcc extra config"
354 depends on ! BARE_METAL
356 Extra flags to pass onto ./configure when configuring gcc.