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.0 (EXPERIMENTAL)"
25 depends on EXPERIMENTAL
26 select CC_GCC_4_5_or_later
30 prompt "4.4.4 (EXPERIMENTAL)"
31 depends on EXPERIMENTAL
32 select CC_GCC_4_4_or_later
37 select CC_GCC_4_4_or_later
42 select CC_GCC_4_4_or_later
47 select CC_GCC_4_4_or_later
52 select CC_GCC_4_4_or_later
57 select CC_GCC_4_3_or_later
62 select CC_GCC_4_3_or_later
67 select CC_GCC_4_3_or_later
72 select CC_GCC_4_3_or_later
77 select CC_GCC_4_2_or_later
81 prompt "4.2.3 (OBSOLETE)"
82 select CC_GCC_4_2_or_later
88 select CC_GCC_4_2_or_later
92 prompt "4.2.1 (OBSOLETE)"
93 select CC_GCC_4_2_or_later
98 prompt "4.2.0 (OBSOLETE)"
99 select CC_GCC_4_2_or_later
104 prompt "4.1.2 (OBSOLETE)"
109 prompt "4.0.4 (OBSOLETE)"
114 prompt "3.4.6 (OBSOLETE)"
119 config CC_GCC_4_2_or_later
123 config CC_GCC_4_3_or_later
126 select CC_GCC_4_2_or_later
127 select CC_GCC_USE_GMP_MPFR
129 config CC_GCC_4_4_or_later
132 select CC_GCC_4_3_or_later
133 select CC_GCC_4_2_or_later
134 select CC_GCC_USE_PPL_CLOOG_MPC
136 config CC_GCC_4_5_or_later
139 select CC_GCC_4_4_or_later
140 select CC_GCC_4_3_or_later
141 select CC_GCC_4_2_or_later
142 select CC_GCC_USE_LIBELF
144 config CC_GCC_USE_GMP_MPFR
150 config CC_GCC_USE_PPL_CLOOG_MPC
157 config CC_GCC_USE_LIBELF
164 # Don't remove next line
165 # CT_INSERT_VERSION_STRING_BELOW
166 default "4.5.0" if CC_V_4_5_0
167 default "4.4.4" if CC_V_4_4_4
168 default "4.4.3" if CC_V_4_4_3
169 default "4.4.2" if CC_V_4_4_2
170 default "4.4.1" if CC_V_4_4_1
171 default "4.4.0" if CC_V_4_4_0
172 default "4.3.4" if CC_V_4_3_4
173 default "4.3.3" if CC_V_4_3_3
174 default "4.3.2" if CC_V_4_3_2
175 default "4.3.1" if CC_V_4_3_1
176 default "4.3.0" if CC_V_4_3_0
177 default "4.2.4" if CC_V_4_2_4
178 default "4.2.3" if CC_V_4_2_3
179 default "4.2.2" if CC_V_4_2_2
180 default "4.2.1" if CC_V_4_2_1
181 default "4.2.0" if CC_V_4_2_0
182 default "4.1.2" if CC_V_4_1_2
183 default "4.0.4" if CC_V_4_0_4
184 default "3.4.6" if CC_V_3_4_6
188 prompt "Use __cxa_atexit"
190 depends on ! BARE_METAL
192 If you get the missing symbol "__cxa_atexit" when building C++ programs,
193 you might want to try disabling this option.
197 prompt "Use sjlj for exceptions"
198 default CC_SJLJ_EXCEPTIONS_CONFIGURE
199 depends on ! BARE_METAL
201 # This config option is used nowhere in the code on purpose.
202 # It only serves as a choice entry to force neither using nor not using sjlj
203 config CC_SJLJ_EXCEPTIONS_CONFIGURE
205 prompt "Let configure decide"
207 Let configure decide if setjmp/longjmp should be used to handle
210 Choose that if you trust configure to detect the correct settings.
211 This is the default choice.
213 config CC_SJLJ_EXCEPTIONS_USE
215 prompt "Force using sjlj"
217 Do use setjmp/longjmp for exceptions.
218 This is gcc's --enable-sjlj-exceptions configure switch.
220 Choose that if you want to use setjmp/longjmp to handle exceptions.
222 config CC_SJLJ_EXCEPTIONS_DONT_USE
224 prompt "Force not using sjlj"
226 Do not use setjmp/longjmp for exceptions.
227 This is gcc's --disable-sjlj-exceptions configure switch.
229 Choose that if you want to not use setjmp/longjmp to handle exceptions.
233 config CC_ENABLE_CXX_FLAGS
235 prompt "Flags to pass to --enable-cxx-flags"
238 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
239 Leave empty if you don't know better.
241 Note: just pass in the option _value_, that is only the part that goes
244 config CC_CORE_EXTRA_CONFIG
246 prompt "Core gcc extra config"
249 Extra flags to pass onto ./configure when configuring the core gcc.
251 The core gcc is a stripped down, C-only compiler needed to build
252 the C library. Kinda bootstrap gcc, if you wish.
254 config CC_EXTRA_CONFIG
256 prompt "gcc extra config"
258 depends on ! BARE_METAL
260 Extra flags to pass onto ./configure when configuring gcc.
262 config CC_GCC_ENABLE_TARGET_OPTSPACE
264 prompt "Optimize gcc libs for size"
267 Pass --enable-target-optspace to crossgcc's configure.
269 This will compile crossgcc's libs with -Os.
271 config CC_GCC_DISABLE_PCH
273 prompt "Do not build PCH"
276 Say 'y' here to not use Pre-Compiled Headers in the resulting toolchain.
277 at the expense of speed when compiling C++ code.
279 For some configurations (most notably canadian?), PCH are broken, and
280 need to be disabled. Please see:
281 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40974
285 prompt "gcc ID string"
286 depends on CC_GCC_4_3_or_later
287 default "crosstool-NG-${CT_VERSION}"
289 Specify a string that identifies your package. You may wish to include
290 a build number or build date. This version string will be included in
291 the output of gcc --version.
293 This is passed to the configure flag --with-pkgversion.
298 depends on CC_GCC_4_3_or_later
301 Specify the URL that users should visit if they wish to report a bug.
303 config CC_LANG_JAVA_USE_ECJ
306 depends on CC_LANG_JAVA
307 depends on CC_GCC_4_3_or_later