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.
22 prompt "4.4.1 (EXPERIMENTAL)"
23 depends on EXPERIMENTAL
24 select CC_GCC_4_3_or_later
25 select CC_GCC_4_4_or_later
29 prompt "4.4.0 (EXPERIMENTAL)"
30 depends on EXPERIMENTAL
31 select CC_GCC_4_3_or_later
32 select CC_GCC_4_4_or_later
37 select CC_GCC_4_3_or_later
42 select CC_GCC_4_3_or_later
47 select CC_GCC_4_3_or_later
52 select CC_GCC_4_3_or_later
56 prompt "4.3.0 (EXPERIMENTAL)"
57 depends on EXPERIMENTAL
58 select CC_GCC_4_3_or_later
86 prompt "4.1.1 (OBSOLETE)"
91 prompt "4.1.0 (OBSOLETE)"
100 prompt "4.0.3 (OBSOLETE)"
105 prompt "4.0.2 (OBSOLETE)"
110 prompt "4.0.1 (OBSOLETE)"
115 prompt "4.0.0 (OBSOLETE)"
120 prompt "3.4.6 (OBSOLETE)"
125 prompt "3.3.6 (OBSOLETE)"
130 prompt "3.2.3 (OBSOLETE)"
133 # CT_INSERT_VERSION_ABOVE
134 # Don't remove above line!
137 config CC_GCC_4_3_or_later
142 config CC_GCC_4_4_or_later
149 default "4.4.1" if CC_V_4_4_1
150 default "4.4.0" if CC_V_4_4_0
151 default "4.3.4" if CC_V_4_3_4
152 default "4.3.3" if CC_V_4_3_3
153 default "4.3.2" if CC_V_4_3_2
154 default "4.3.1" if CC_V_4_3_1
155 default "4.3.0" if CC_V_4_3_0
156 default "4.2.4" if CC_V_4_2_4
157 default "4.2.3" if CC_V_4_2_3
158 default "4.2.2" if CC_V_4_2_2
159 default "4.2.1" if CC_V_4_2_1
160 default "4.2.0" if CC_V_4_2_0
161 default "4.1.2" if CC_V_4_1_2
162 default "4.1.1" if CC_V_4_1_1
163 default "4.1.0" if CC_V_4_1_0
164 default "4.0.4" if CC_V_4_0_4
165 default "4.0.3" if CC_V_4_0_3
166 default "4.0.2" if CC_V_4_0_2
167 default "4.0.1" if CC_V_4_0_1
168 default "4.0.0" if CC_V_4_0_0
169 default "3.4.6" if CC_V_3_4_6
170 default "3.3.6" if CC_V_3_3_6
171 default "3.2.3" if CC_V_3_2_3
172 # CT_INSERT_VERSION_STRING_ABOVE
173 # Don't remove above line!
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