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_4_5_or_later
127 select CC_GCC_4_4_or_later
128 select CC_GCC_4_3_or_later
129 select CC_GCC_4_2_or_later
130 select CC_GCC_USE_LIBELF
132 config CC_GCC_USE_GMP_MPFR
138 config CC_GCC_USE_PPL_CLOOG_MPC
145 config CC_GCC_USE_LIBELF
152 # Don't remove next line
153 # CT_INSERT_VERSION_STRING_BELOW
154 default "4.4.3" if CC_V_4_4_3
155 default "4.4.2" if CC_V_4_4_2
156 default "4.4.1" if CC_V_4_4_1
157 default "4.4.0" if CC_V_4_4_0
158 default "4.3.4" if CC_V_4_3_4
159 default "4.3.3" if CC_V_4_3_3
160 default "4.3.2" if CC_V_4_3_2
161 default "4.3.1" if CC_V_4_3_1
162 default "4.3.0" if CC_V_4_3_0
163 default "4.2.4" if CC_V_4_2_4
164 default "4.2.3" if CC_V_4_2_3
165 default "4.2.2" if CC_V_4_2_2
166 default "4.2.1" if CC_V_4_2_1
167 default "4.2.0" if CC_V_4_2_0
168 default "4.1.2" if CC_V_4_1_2
169 default "4.0.4" if CC_V_4_0_4
170 default "3.4.6" if CC_V_3_4_6
174 prompt "Use __cxa_atexit"
176 depends on ! BARE_METAL
178 If you get the missing symbol "__cxa_atexit" when building C++ programs,
179 you might want to try disabling this option.
183 prompt "Use sjlj for exceptions"
184 default CC_SJLJ_EXCEPTIONS_CONFIGURE
185 depends on ! BARE_METAL
187 # This config option is used nowhere in the code on purpose.
188 # It only serves as a choice entry to force neither using nor not using sjlj
189 config CC_SJLJ_EXCEPTIONS_CONFIGURE
191 prompt "Let configure decide"
193 Let configure decide if setjmp/longjmp should be used to handle
196 Choose that if you trust configure to detect the correct settings.
197 This is the default choice.
199 config CC_SJLJ_EXCEPTIONS_USE
201 prompt "Force using sjlj"
203 Do use setjmp/longjmp for exceptions.
204 This is gcc's --enable-sjlj-exceptions configure switch.
206 Choose that if you want to use setjmp/longjmp to handle exceptions.
208 config CC_SJLJ_EXCEPTIONS_DONT_USE
210 prompt "Force not using sjlj"
212 Do not use setjmp/longjmp for exceptions.
213 This is gcc's --disable-sjlj-exceptions configure switch.
215 Choose that if you want to not use setjmp/longjmp to handle exceptions.
219 config CC_ENABLE_CXX_FLAGS
221 prompt "Flags to pass to --enable-cxx-flags"
224 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
225 Leave empty if you don't know better.
227 Note: just pass in the option _value_, that is only the part that goes
230 config CC_CORE_EXTRA_CONFIG
232 prompt "Core gcc extra config"
235 Extra flags to pass onto ./configure when configuring the core gcc.
237 The core gcc is a stripped down, C-only compiler needed to build
238 the C library. Kinda bootstrap gcc, if you wish.
240 config CC_EXTRA_CONFIG
242 prompt "gcc extra config"
244 depends on ! BARE_METAL
246 Extra flags to pass onto ./configure when configuring gcc.
250 prompt "gcc ID string"
251 depends on CC_GCC_4_3_or_later
252 default "crosstool-NG-${CT_VERSION}"
254 Specify a string that identifies your package. You may wish to include
255 a build number or build date. This version string will be included in
256 the output of gcc --version.
258 This is passed to the configure flag --with-pkgversion.
263 depends on CC_GCC_4_3_or_later
266 Specify the URL that users should visit if they wish to report a bug.
268 config CC_LANG_JAVA_USE_ECJ
271 depends on CC_LANG_JAVA
272 depends on CC_GCC_4_3_or_later