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_02_0
24 prompt "linaro-4.5-2011.02-0 (EXPERIMENTAL)"
25 depends on EXPERIMENTAL
26 select CC_GCC_4_5_or_later
30 prompt "4.5.2 (EXPERIMENTAL)"
31 depends on EXPERIMENTAL
32 select CC_GCC_4_5_or_later
36 prompt "4.5.1 (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
38 select CC_GCC_4_5_or_later
42 prompt "4.5.0 (EXPERIMENTAL)"
43 depends on EXPERIMENTAL
44 select CC_GCC_4_5_or_later
47 config CC_V_linaro_4_4_2011_02_0
49 prompt "linaro-4.4-2011.02-0 (EXPERIMENTAL)"
50 depends on EXPERIMENTAL
51 select CC_GCC_4_4_or_later
56 select CC_GCC_4_4_or_later
61 select CC_GCC_4_4_or_later
66 select CC_GCC_4_4_or_later
71 select CC_GCC_4_4_or_later
76 select CC_GCC_4_4_or_later
81 select CC_GCC_4_4_or_later
86 select CC_GCC_4_3_or_later
91 select CC_GCC_4_3_or_later
96 select CC_GCC_4_3_or_later
101 select CC_GCC_4_3_or_later
106 select CC_GCC_4_3_or_later
111 select CC_GCC_4_2_or_later
115 prompt "4.2.3 (OBSOLETE)"
116 select CC_GCC_4_2_or_later
122 select CC_GCC_4_2_or_later
126 prompt "4.2.1 (OBSOLETE)"
127 select CC_GCC_4_2_or_later
132 prompt "4.2.0 (OBSOLETE)"
133 select CC_GCC_4_2_or_later
138 prompt "4.1.2 (OBSOLETE)"
143 prompt "4.0.4 (OBSOLETE)"
148 prompt "3.4.6 (OBSOLETE)"
153 config CC_GCC_4_2_or_later
157 config CC_GCC_4_3_or_later
160 select CC_GCC_4_2_or_later
161 select CC_GCC_USE_GMP_MPFR
163 config CC_GCC_4_4_or_later
166 select CC_GCC_4_3_or_later
167 select CC_GCC_HAS_GRAPHITE
169 config CC_GCC_4_5_or_later
172 select CC_GCC_4_4_or_later
173 select CC_GCC_USE_MPC
174 select CC_GCC_HAS_LTO
176 config CC_GCC_HAS_GRAPHITE
180 # The way LTO works is a bit twisted.
181 # See: http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements
183 # - if binutils has plugins: LTO is handled by ld/gold by loading
184 # the plugin when linking
185 # - if binutils does not have plugins: LTO is handled by collect2
186 # In any case, LTO support does not depend on plugins, but takes
188 config CC_GCC_HAS_LTO
192 # Only enable gcc's support for plugins if binutils has it as well
193 # They are usefull only when doing LTO, but it does no harm enabling
194 # them even without LTO.
195 config CC_GCC_ENABLE_PLUGINS
197 depends on BINUTILS_PLUGINS
198 depends on ! STATIC_TOOLCHAIN
201 # If binutils installs gold, enable support for gold in gcc
204 depends on BINUTILS_GOLD_INSTALLED
207 config CC_GCC_USE_GMP_MPFR
213 config CC_GCC_USE_PPL_CLOOG
219 config CC_GCC_USE_MPC
224 config CC_GCC_USE_LIBELF
231 # Don't remove next line
232 # CT_INSERT_VERSION_STRING_BELOW
233 default "linaro-4.5-2011.02-0" if CC_V_linaro_4_5_2011_02_0
234 default "4.5.2" if CC_V_4_5_2
235 default "4.5.1" if CC_V_4_5_1
236 default "4.5.0" if CC_V_4_5_0
237 default "linaro-4.4-2011.02-0" if CC_V_linaro_4_4_2011_02_0
238 default "4.4.5" if CC_V_4_4_5
239 default "4.4.4" if CC_V_4_4_4
240 default "4.4.3" if CC_V_4_4_3
241 default "4.4.2" if CC_V_4_4_2
242 default "4.4.1" if CC_V_4_4_1
243 default "4.4.0" if CC_V_4_4_0
244 default "4.3.5" if CC_V_4_3_5
245 default "4.3.4" if CC_V_4_3_4
246 default "4.3.3" if CC_V_4_3_3
247 default "4.3.2" if CC_V_4_3_2
248 default "4.3.1" if CC_V_4_3_1
249 default "4.3.0" if CC_V_4_3_0
250 default "4.2.4" if CC_V_4_2_4
251 default "4.2.3" if CC_V_4_2_3
252 default "4.2.2" if CC_V_4_2_2
253 default "4.2.1" if CC_V_4_2_1
254 default "4.2.0" if CC_V_4_2_0
255 default "4.1.2" if CC_V_4_1_2
256 default "4.0.4" if CC_V_4_0_4
257 default "3.4.6" if CC_V_3_4_6
259 config CC_LANG_JAVA_USE_ECJ
262 depends on CC_LANG_JAVA
263 depends on CC_GCC_4_3_or_later
267 prompt "gcc ID string"
268 depends on CC_GCC_4_3_or_later
269 default "crosstool-NG-${CT_VERSION}"
271 Specify a string that identifies your package. You may wish to include
272 a build number or build date. This version string will be included in
273 the output of gcc --version.
275 This is passed to the configure flag --with-pkgversion.
280 depends on CC_GCC_4_3_or_later
283 Specify the URL that users should visit if they wish to report a bug.
285 config CC_ENABLE_CXX_FLAGS
287 prompt "Flags to pass to --enable-cxx-flags"
290 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
291 Leave empty if you don't know better.
293 Note: just pass in the option _value_, that is only the part that goes
296 config CC_CORE_EXTRA_CONFIG
298 prompt "Core gcc extra config"
301 Extra flags to pass onto ./configure when configuring the core gcc.
303 The core gcc is a stripped down, C-only compiler needed to build
304 the C library. Kinda bootstrap gcc, if you wish.
306 config CC_EXTRA_CONFIG
308 prompt "gcc extra config"
310 depends on ! BARE_METAL
312 Extra flags to pass onto ./configure when configuring gcc.