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
116 prompt "4.4.0 (EXPERIMENTAL)"
117 depends on EXPERIMENTAL
118 select CC_GCC_4_3_or_later
119 select CC_GCC_4_4_or_later
121 # CT_INSERT_VERSION_ABOVE
122 # Don't remove above line!
125 config CC_GCC_4_3_or_later
130 config CC_GCC_4_4_or_later
137 default "3.2.3" if CC_V_3_2_3
138 default "3.3.6" if CC_V_3_3_6
139 default "3.4.6" if CC_V_3_4_6
140 default "4.0.0" if CC_V_4_0_0
141 default "4.0.1" if CC_V_4_0_1
142 default "4.0.2" if CC_V_4_0_2
143 default "4.0.3" if CC_V_4_0_3
144 default "4.0.4" if CC_V_4_0_4
145 default "4.1.0" if CC_V_4_1_0
146 default "4.1.1" if CC_V_4_1_1
147 default "4.1.2" if CC_V_4_1_2
148 default "4.2.0" if CC_V_4_2_0
149 default "4.2.1" if CC_V_4_2_1
150 default "4.2.2" if CC_V_4_2_2
151 default "4.2.3" if CC_V_4_2_3
152 default "4.2.4" if CC_V_4_2_4
153 default "4.3.0" if CC_V_4_3_0
154 default "4.3.1" if CC_V_4_3_1
155 default "4.3.2" if CC_V_4_3_2
156 default "4.3.3" if CC_V_4_3_3
157 default "4.4.0" if CC_V_4_4_0
158 # CT_INSERT_VERSION_STRING_ABOVE
159 # Don't remove above line!
163 prompt "Use __cxa_atexit"
165 depends on ! BARE_METAL
167 If you get the missing symbol "__cxa_atexit" when building C++ programs,
168 you might want to try disabling this option.
172 prompt "Use sjlj for exceptions"
173 default CC_SJLJ_EXCEPTIONS_CONFIGURE
174 depends on ! BARE_METAL
176 # This config option is used nowhere in the code on purpose.
177 # It only serves as a choice entry to force neither using nor not using sjlj
178 config CC_SJLJ_EXCEPTIONS_CONFIGURE
180 prompt "Let configure decide"
182 Let configure decide if setjmp/longjmp should be used to handle
185 Choose that if you trust configure to detect the correct settings.
186 This is the default choice.
188 config CC_SJLJ_EXCEPTIONS_USE
190 prompt "Force using sjlj"
192 Do use setjmp/longjmp for exceptions.
193 This is gcc's --enable-sjlj-exceptions configure switch.
195 Choose that if you want to use setjmp/longjmp to handle exceptions.
197 config CC_SJLJ_EXCEPTIONS_DONT_USE
199 prompt "Force not using sjlj"
201 Do not use setjmp/longjmp for exceptions.
202 This is gcc's --disable-sjlj-exceptions configure switch.
204 Choose that if you want to not use setjmp/longjmp to handle exceptions.
208 config CC_CORE_EXTRA_CONFIG
210 prompt "Core gcc extra config"
213 Extra flags to pass onto ./configure when configuring the core gcc.
215 The core gcc is a stripped down, C-only compiler needed to build
216 the C library. Kinda bootstrap gcc, if you wish.
218 config CC_EXTRA_CONFIG
220 prompt "gcc extra config"
222 depends on ! BARE_METAL
224 Extra flags to pass onto ./configure when configuring gcc.
228 prompt "gcc ID string"
229 depends on CC_GCC_4_3_or_later
230 default "crosstool-NG-${CT_VERSION}"
232 Specify a string that identifies your package. You may wish to include
233 a build number or build date. This version string will be included in
234 the output of gcc --version.
236 This is passed to the configure flag --with-pkgversion.
241 depends on CC_GCC_4_3_or_later
244 Specify the URL that users should visit if they wish to report a bug.
246 config CC_LANG_JAVA_USE_ECJ
249 depends on CC_LANG_JAVA
250 depends on CC_GCC_4_3_or_later