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.4.1 (EXPERIMENTAL)"
25 depends on EXPERIMENTAL
26 select CC_GCC_4_3_or_later
27 select CC_GCC_4_4_or_later
31 prompt "4.4.0 (EXPERIMENTAL)"
32 depends on EXPERIMENTAL
33 select CC_GCC_4_3_or_later
34 select CC_GCC_4_4_or_later
39 select CC_GCC_4_3_or_later
44 select CC_GCC_4_3_or_later
49 select CC_GCC_4_3_or_later
54 select CC_GCC_4_3_or_later
58 prompt "4.3.0 (EXPERIMENTAL)"
59 depends on EXPERIMENTAL
60 select CC_GCC_4_3_or_later
88 prompt "4.1.1 (OBSOLETE)"
93 prompt "4.1.0 (OBSOLETE)"
102 prompt "4.0.3 (OBSOLETE)"
107 prompt "4.0.2 (OBSOLETE)"
112 prompt "4.0.1 (OBSOLETE)"
117 prompt "4.0.0 (OBSOLETE)"
122 prompt "3.4.6 (OBSOLETE)"
127 prompt "3.3.6 (OBSOLETE)"
132 prompt "3.2.3 (OBSOLETE)"
137 config CC_GCC_4_3_or_later
142 config CC_GCC_4_4_or_later
149 # Don't remove next line
150 # CT_INSERT_VERSION_STRING_BELOW
151 default "4.4.1" if CC_V_4_4_1
152 default "4.4.0" if CC_V_4_4_0
153 default "4.3.4" if CC_V_4_3_4
154 default "4.3.3" if CC_V_4_3_3
155 default "4.3.2" if CC_V_4_3_2
156 default "4.3.1" if CC_V_4_3_1
157 default "4.3.0" if CC_V_4_3_0
158 default "4.2.4" if CC_V_4_2_4
159 default "4.2.3" if CC_V_4_2_3
160 default "4.2.2" if CC_V_4_2_2
161 default "4.2.1" if CC_V_4_2_1
162 default "4.2.0" if CC_V_4_2_0
163 default "4.1.2" if CC_V_4_1_2
164 default "4.1.1" if CC_V_4_1_1
165 default "4.1.0" if CC_V_4_1_0
166 default "4.0.4" if CC_V_4_0_4
167 default "4.0.3" if CC_V_4_0_3
168 default "4.0.2" if CC_V_4_0_2
169 default "4.0.1" if CC_V_4_0_1
170 default "4.0.0" if CC_V_4_0_0
171 default "3.4.6" if CC_V_3_4_6
172 default "3.3.6" if CC_V_3_3_6
173 default "3.2.3" if CC_V_3_2_3
177 prompt "Use __cxa_atexit"
179 depends on ! BARE_METAL
181 If you get the missing symbol "__cxa_atexit" when building C++ programs,
182 you might want to try disabling this option.
186 prompt "Use sjlj for exceptions"
187 default CC_SJLJ_EXCEPTIONS_CONFIGURE
188 depends on ! BARE_METAL
190 # This config option is used nowhere in the code on purpose.
191 # It only serves as a choice entry to force neither using nor not using sjlj
192 config CC_SJLJ_EXCEPTIONS_CONFIGURE
194 prompt "Let configure decide"
196 Let configure decide if setjmp/longjmp should be used to handle
199 Choose that if you trust configure to detect the correct settings.
200 This is the default choice.
202 config CC_SJLJ_EXCEPTIONS_USE
204 prompt "Force using sjlj"
206 Do use setjmp/longjmp for exceptions.
207 This is gcc's --enable-sjlj-exceptions configure switch.
209 Choose that if you want to use setjmp/longjmp to handle exceptions.
211 config CC_SJLJ_EXCEPTIONS_DONT_USE
213 prompt "Force not using sjlj"
215 Do not use setjmp/longjmp for exceptions.
216 This is gcc's --disable-sjlj-exceptions configure switch.
218 Choose that if you want to not use setjmp/longjmp to handle exceptions.
222 config CC_ENABLE_CXX_FLAGS
224 prompt "Flags to pass to --enable-cxx-flags"
227 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
228 Leave empty if you don't know better.
230 Note: just pass in the option _value_, that is only the part that goes
233 config CC_CORE_EXTRA_CONFIG
235 prompt "Core gcc extra config"
238 Extra flags to pass onto ./configure when configuring the core gcc.
240 The core gcc is a stripped down, C-only compiler needed to build
241 the C library. Kinda bootstrap gcc, if you wish.
243 config CC_EXTRA_CONFIG
245 prompt "gcc extra config"
247 depends on ! BARE_METAL
249 Extra flags to pass onto ./configure when configuring gcc.
253 prompt "gcc ID string"
254 depends on CC_GCC_4_3_or_later
255 default "crosstool-NG-${CT_VERSION}"
257 Specify a string that identifies your package. You may wish to include
258 a build number or build date. This version string will be included in
259 the output of gcc --version.
261 This is passed to the configure flag --with-pkgversion.
266 depends on CC_GCC_4_3_or_later
269 Specify the URL that users should visit if they wish to report a bug.
271 config CC_LANG_JAVA_USE_ECJ
274 depends on CC_LANG_JAVA
275 depends on CC_GCC_4_3_or_later