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 "3.2.3 (OBSOLETE)"
27 prompt "3.3.6 (OBSOLETE)"
32 prompt "3.4.6 (OBSOLETE)"
37 prompt "4.0.0 (OBSOLETE)"
42 prompt "4.0.1 (OBSOLETE)"
47 prompt "4.0.2 (OBSOLETE)"
52 prompt "4.0.3 (OBSOLETE)"
61 prompt "4.1.0 (OBSOLETE)"
66 prompt "4.1.1 (OBSOLETE)"
95 prompt "4.3.0 (EXPERIMENTAL)"
96 depends on EXPERIMENTAL
97 select CC_GCC_4_3_or_later
102 select CC_GCC_4_3_or_later
107 select CC_GCC_4_3_or_later
112 select CC_GCC_4_3_or_later
117 select CC_GCC_4_3_or_later
121 prompt "4.4.0 (EXPERIMENTAL)"
122 depends on EXPERIMENTAL
123 select CC_GCC_4_3_or_later
124 select CC_GCC_4_4_or_later
128 prompt "4.4.1 (EXPERIMENTAL)"
129 depends on EXPERIMENTAL
130 select CC_GCC_4_3_or_later
131 select CC_GCC_4_4_or_later
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 "3.2.3" if CC_V_3_2_3
150 default "3.3.6" if CC_V_3_3_6
151 default "3.4.6" if CC_V_3_4_6
152 default "4.0.0" if CC_V_4_0_0
153 default "4.0.1" if CC_V_4_0_1
154 default "4.0.2" if CC_V_4_0_2
155 default "4.0.3" if CC_V_4_0_3
156 default "4.0.4" if CC_V_4_0_4
157 default "4.1.0" if CC_V_4_1_0
158 default "4.1.1" if CC_V_4_1_1
159 default "4.1.2" if CC_V_4_1_2
160 default "4.2.0" if CC_V_4_2_0
161 default "4.2.1" if CC_V_4_2_1
162 default "4.2.2" if CC_V_4_2_2
163 default "4.2.3" if CC_V_4_2_3
164 default "4.2.4" if CC_V_4_2_4
165 default "4.3.0" if CC_V_4_3_0
166 default "4.3.1" if CC_V_4_3_1
167 default "4.3.2" if CC_V_4_3_2
168 default "4.3.3" if CC_V_4_3_3
169 default "4.3.4" if CC_V_4_3_4
170 default "4.4.0" if CC_V_4_4_0
171 default "4.4.1" if CC_V_4_4_1
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