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
25 select CC_GCC_4_4_or_later
30 select CC_GCC_4_4_or_later
35 select CC_GCC_4_4_or_later
40 select CC_GCC_4_4_or_later
45 select CC_GCC_4_3_or_later
50 select CC_GCC_4_3_or_later
55 select CC_GCC_4_3_or_later
60 select CC_GCC_4_3_or_later
65 select CC_GCC_4_2_or_later
69 prompt "4.2.3 (OBSOLETE)"
70 select CC_GCC_4_2_or_later
76 select CC_GCC_4_2_or_later
80 prompt "4.2.1 (OBSOLETE)"
81 select CC_GCC_4_2_or_later
86 prompt "4.2.0 (OBSOLETE)"
87 select CC_GCC_4_2_or_later
92 prompt "4.1.2 (OBSOLETE)"
97 prompt "4.0.4 (OBSOLETE)"
102 prompt "3.4.6 (OBSOLETE)"
107 config CC_GCC_4_2_or_later
111 config CC_GCC_4_3_or_later
114 select CC_GCC_4_2_or_later
115 select CC_GCC_USE_GMP_MPFR
117 config CC_GCC_4_4_or_later
120 select CC_GCC_4_3_or_later
121 select CC_GCC_4_2_or_later
122 select CC_GCC_USE_PPL_CLOOG_MPC
124 config CC_GCC_USE_GMP_MPFR
130 config CC_GCC_USE_PPL_CLOOG_MPC
139 # Don't remove next line
140 # CT_INSERT_VERSION_STRING_BELOW
141 default "4.4.3" if CC_V_4_4_3
142 default "4.4.2" if CC_V_4_4_2
143 default "4.4.1" if CC_V_4_4_1
144 default "4.4.0" if CC_V_4_4_0
145 default "4.3.4" if CC_V_4_3_4
146 default "4.3.3" if CC_V_4_3_3
147 default "4.3.2" if CC_V_4_3_2
148 default "4.3.1" if CC_V_4_3_1
149 default "4.3.0" if CC_V_4_3_0
150 default "4.2.4" if CC_V_4_2_4
151 default "4.2.3" if CC_V_4_2_3
152 default "4.2.2" if CC_V_4_2_2
153 default "4.2.1" if CC_V_4_2_1
154 default "4.2.0" if CC_V_4_2_0
155 default "4.1.2" if CC_V_4_1_2
156 default "4.0.4" if CC_V_4_0_4
157 default "3.4.6" if CC_V_3_4_6
161 prompt "Use __cxa_atexit"
163 depends on ! BARE_METAL
165 If you get the missing symbol "__cxa_atexit" when building C++ programs,
166 you might want to try disabling this option.
170 prompt "Use sjlj for exceptions"
171 default CC_SJLJ_EXCEPTIONS_CONFIGURE
172 depends on ! BARE_METAL
174 # This config option is used nowhere in the code on purpose.
175 # It only serves as a choice entry to force neither using nor not using sjlj
176 config CC_SJLJ_EXCEPTIONS_CONFIGURE
178 prompt "Let configure decide"
180 Let configure decide if setjmp/longjmp should be used to handle
183 Choose that if you trust configure to detect the correct settings.
184 This is the default choice.
186 config CC_SJLJ_EXCEPTIONS_USE
188 prompt "Force using sjlj"
190 Do use setjmp/longjmp for exceptions.
191 This is gcc's --enable-sjlj-exceptions configure switch.
193 Choose that if you want to use setjmp/longjmp to handle exceptions.
195 config CC_SJLJ_EXCEPTIONS_DONT_USE
197 prompt "Force not using sjlj"
199 Do not use setjmp/longjmp for exceptions.
200 This is gcc's --disable-sjlj-exceptions configure switch.
202 Choose that if you want to not use setjmp/longjmp to handle exceptions.
206 config CC_ENABLE_CXX_FLAGS
208 prompt "Flags to pass to --enable-cxx-flags"
211 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
212 Leave empty if you don't know better.
214 Note: just pass in the option _value_, that is only the part that goes
217 config CC_CORE_EXTRA_CONFIG
219 prompt "Core gcc extra config"
222 Extra flags to pass onto ./configure when configuring the core gcc.
224 The core gcc is a stripped down, C-only compiler needed to build
225 the C library. Kinda bootstrap gcc, if you wish.
227 config CC_EXTRA_CONFIG
229 prompt "gcc extra config"
231 depends on ! BARE_METAL
233 Extra flags to pass onto ./configure when configuring gcc.
237 prompt "gcc ID string"
238 depends on CC_GCC_4_3_or_later
239 default "crosstool-NG-${CT_VERSION}"
241 Specify a string that identifies your package. You may wish to include
242 a build number or build date. This version string will be included in
243 the output of gcc --version.
245 This is passed to the configure flag --with-pkgversion.
250 depends on CC_GCC_4_3_or_later
253 Specify the URL that users should visit if they wish to report a bug.
255 config CC_LANG_JAVA_USE_ECJ
258 depends on CC_LANG_JAVA
259 depends on CC_GCC_4_3_or_later