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.5.2 (EXPERIMENTAL)"
25 depends on EXPERIMENTAL
26 select CC_GCC_4_5_or_later
30 prompt "4.5.1 (EXPERIMENTAL)"
31 depends on EXPERIMENTAL
32 select CC_GCC_4_5_or_later
36 prompt "4.5.0 (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
38 select CC_GCC_4_5_or_later
43 select CC_GCC_4_4_or_later
48 select CC_GCC_4_4_or_later
53 select CC_GCC_4_4_or_later
58 select CC_GCC_4_4_or_later
63 select CC_GCC_4_4_or_later
68 select CC_GCC_4_4_or_later
73 select CC_GCC_4_3_or_later
78 select CC_GCC_4_3_or_later
83 select CC_GCC_4_3_or_later
88 select CC_GCC_4_3_or_later
93 select CC_GCC_4_3_or_later
98 select CC_GCC_4_2_or_later
102 prompt "4.2.3 (OBSOLETE)"
103 select CC_GCC_4_2_or_later
109 select CC_GCC_4_2_or_later
113 prompt "4.2.1 (OBSOLETE)"
114 select CC_GCC_4_2_or_later
119 prompt "4.2.0 (OBSOLETE)"
120 select CC_GCC_4_2_or_later
125 prompt "4.1.2 (OBSOLETE)"
130 prompt "4.0.4 (OBSOLETE)"
135 prompt "3.4.6 (OBSOLETE)"
140 config CC_GCC_4_2_or_later
144 config CC_GCC_4_3_or_later
147 select CC_GCC_4_2_or_later
148 select CC_GCC_USE_GMP_MPFR
150 config CC_GCC_4_4_or_later
153 select CC_GCC_4_3_or_later
154 select CC_GCC_HAS_GRAPHITE
156 config CC_GCC_4_5_or_later
159 select CC_GCC_4_4_or_later
160 select CC_GCC_USE_MPC
161 select CC_GCC_HAS_LTO
163 config CC_GCC_HAS_GRAPHITE
167 # The way LTO works is a bit twisted.
168 # See: http://gcc.gnu.org/wiki/LinkTimeOptimization#Requirements
170 # - if binutils has plugins: LTO is handled by ld/gold by loading
171 # the plugin when linking
172 # - if binutils does not have plugins: LTO is handled by collect2
173 # In any case, LTO support does not depend on plugins, but takes
175 config CC_GCC_HAS_LTO
179 # Only enable gcc's support for plugins if binutils has it as well
180 # They are usefull only when doing LTO, but it does no harm enabling
181 # them even without LTO.
182 config CC_GCC_ENABLE_PLUGINS
184 depends on BINUTILS_PLUGINS
187 # If binutils installs gold, enable support for gold in gcc
190 depends on BINUTILS_GOLD_INSTALLED
193 config CC_GCC_USE_GMP_MPFR
199 config CC_GCC_USE_PPL_CLOOG
205 config CC_GCC_USE_MPC
210 config CC_GCC_USE_LIBELF
217 # Don't remove next line
218 # CT_INSERT_VERSION_STRING_BELOW
219 default "4.5.2" if CC_V_4_5_2
220 default "4.5.1" if CC_V_4_5_1
221 default "4.5.0" if CC_V_4_5_0
222 default "4.4.5" if CC_V_4_4_5
223 default "4.4.4" if CC_V_4_4_4
224 default "4.4.3" if CC_V_4_4_3
225 default "4.4.2" if CC_V_4_4_2
226 default "4.4.1" if CC_V_4_4_1
227 default "4.4.0" if CC_V_4_4_0
228 default "4.3.5" if CC_V_4_3_5
229 default "4.3.4" if CC_V_4_3_4
230 default "4.3.3" if CC_V_4_3_3
231 default "4.3.2" if CC_V_4_3_2
232 default "4.3.1" if CC_V_4_3_1
233 default "4.3.0" if CC_V_4_3_0
234 default "4.2.4" if CC_V_4_2_4
235 default "4.2.3" if CC_V_4_2_3
236 default "4.2.2" if CC_V_4_2_2
237 default "4.2.1" if CC_V_4_2_1
238 default "4.2.0" if CC_V_4_2_0
239 default "4.1.2" if CC_V_4_1_2
240 default "4.0.4" if CC_V_4_0_4
241 default "3.4.6" if CC_V_3_4_6
243 config CC_LANG_JAVA_USE_ECJ
246 depends on CC_LANG_JAVA
247 depends on CC_GCC_4_3_or_later
251 prompt "gcc ID string"
252 depends on CC_GCC_4_3_or_later
253 default "crosstool-NG-${CT_VERSION}"
255 Specify a string that identifies your package. You may wish to include
256 a build number or build date. This version string will be included in
257 the output of gcc --version.
259 This is passed to the configure flag --with-pkgversion.
264 depends on CC_GCC_4_3_or_later
267 Specify the URL that users should visit if they wish to report a bug.
269 config CC_ENABLE_CXX_FLAGS
271 prompt "Flags to pass to --enable-cxx-flags"
274 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
275 Leave empty if you don't know better.
277 Note: just pass in the option _value_, that is only the part that goes
280 config CC_CORE_EXTRA_CONFIG
282 prompt "Core gcc extra config"
285 Extra flags to pass onto ./configure when configuring the core gcc.
287 The core gcc is a stripped down, C-only compiler needed to build
288 the C library. Kinda bootstrap gcc, if you wish.
290 config CC_EXTRA_CONFIG
292 prompt "gcc extra config"
294 depends on ! BARE_METAL
296 Extra flags to pass onto ./configure when configuring gcc.