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
68 prompt "4.2.3 (OBSOLETE)"
77 prompt "4.2.1 (OBSOLETE)"
82 prompt "4.2.0 (OBSOLETE)"
87 prompt "4.1.2 (OBSOLETE)"
92 prompt "4.0.4 (OBSOLETE)"
97 prompt "3.4.6 (OBSOLETE)"
102 config CC_GCC_4_3_or_later
105 select CC_GCC_USE_GMP_MPFR
107 config CC_GCC_4_4_or_later
110 select CC_GCC_4_3_or_later
111 select CC_GCC_USE_PPL_CLOOG_MPC
113 config CC_GCC_USE_GMP_MPFR
119 config CC_GCC_USE_PPL_CLOOG_MPC
128 # Don't remove next line
129 # CT_INSERT_VERSION_STRING_BELOW
130 default "4.4.3" if CC_V_4_4_3
131 default "4.4.2" if CC_V_4_4_2
132 default "4.4.1" if CC_V_4_4_1
133 default "4.4.0" if CC_V_4_4_0
134 default "4.3.4" if CC_V_4_3_4
135 default "4.3.3" if CC_V_4_3_3
136 default "4.3.2" if CC_V_4_3_2
137 default "4.3.1" if CC_V_4_3_1
138 default "4.3.0" if CC_V_4_3_0
139 default "4.2.4" if CC_V_4_2_4
140 default "4.2.3" if CC_V_4_2_3
141 default "4.2.2" if CC_V_4_2_2
142 default "4.2.1" if CC_V_4_2_1
143 default "4.2.0" if CC_V_4_2_0
144 default "4.1.2" if CC_V_4_1_2
145 default "4.0.4" if CC_V_4_0_4
146 default "3.4.6" if CC_V_3_4_6
150 prompt "Use __cxa_atexit"
152 depends on ! BARE_METAL
154 If you get the missing symbol "__cxa_atexit" when building C++ programs,
155 you might want to try disabling this option.
159 prompt "Use sjlj for exceptions"
160 default CC_SJLJ_EXCEPTIONS_CONFIGURE
161 depends on ! BARE_METAL
163 # This config option is used nowhere in the code on purpose.
164 # It only serves as a choice entry to force neither using nor not using sjlj
165 config CC_SJLJ_EXCEPTIONS_CONFIGURE
167 prompt "Let configure decide"
169 Let configure decide if setjmp/longjmp should be used to handle
172 Choose that if you trust configure to detect the correct settings.
173 This is the default choice.
175 config CC_SJLJ_EXCEPTIONS_USE
177 prompt "Force using sjlj"
179 Do use setjmp/longjmp for exceptions.
180 This is gcc's --enable-sjlj-exceptions configure switch.
182 Choose that if you want to use setjmp/longjmp to handle exceptions.
184 config CC_SJLJ_EXCEPTIONS_DONT_USE
186 prompt "Force not using sjlj"
188 Do not use setjmp/longjmp for exceptions.
189 This is gcc's --disable-sjlj-exceptions configure switch.
191 Choose that if you want to not use setjmp/longjmp to handle exceptions.
195 config CC_ENABLE_CXX_FLAGS
197 prompt "Flags to pass to --enable-cxx-flags"
200 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
201 Leave empty if you don't know better.
203 Note: just pass in the option _value_, that is only the part that goes
206 config CC_CORE_EXTRA_CONFIG
208 prompt "Core gcc extra config"
211 Extra flags to pass onto ./configure when configuring the core gcc.
213 The core gcc is a stripped down, C-only compiler needed to build
214 the C library. Kinda bootstrap gcc, if you wish.
216 config CC_EXTRA_CONFIG
218 prompt "gcc extra config"
220 depends on ! BARE_METAL
222 Extra flags to pass onto ./configure when configuring gcc.
226 prompt "gcc ID string"
227 depends on CC_GCC_4_3_or_later
228 default "crosstool-NG-${CT_VERSION}"
230 Specify a string that identifies your package. You may wish to include
231 a build number or build date. This version string will be included in
232 the output of gcc --version.
234 This is passed to the configure flag --with-pkgversion.
239 depends on CC_GCC_4_3_or_later
242 Specify the URL that users should visit if they wish to report a bug.
244 config CC_LANG_JAVA_USE_ECJ
247 depends on CC_LANG_JAVA
248 depends on CC_GCC_4_3_or_later