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_3_or_later
26 select CC_GCC_4_4_or_later
31 select CC_GCC_4_3_or_later
32 select CC_GCC_4_4_or_later
37 select CC_GCC_4_3_or_later
38 select CC_GCC_4_4_or_later
43 select CC_GCC_4_3_or_later
44 select CC_GCC_4_4_or_later
49 select CC_GCC_4_3_or_later
54 select CC_GCC_4_3_or_later
59 select CC_GCC_4_3_or_later
64 select CC_GCC_4_3_or_later
68 prompt "4.3.0 (EXPERIMENTAL)"
69 depends on EXPERIMENTAL
70 select CC_GCC_4_3_or_later
78 prompt "4.2.3 (OBSOLETE)"
87 prompt "4.2.1 (OBSOLETE)"
92 prompt "4.2.0 (OBSOLETE)"
97 prompt "4.1.2 (OBSOLETE)"
102 prompt "4.0.4 (OBSOLETE)"
107 prompt "3.4.6 (OBSOLETE)"
112 config CC_GCC_4_3_or_later
117 config CC_GCC_4_4_or_later
124 # Don't remove next line
125 # CT_INSERT_VERSION_STRING_BELOW
126 default "4.4.3" if CC_V_4_4_3
127 default "4.4.2" if CC_V_4_4_2
128 default "4.4.1" if CC_V_4_4_1
129 default "4.4.0" if CC_V_4_4_0
130 default "4.3.4" if CC_V_4_3_4
131 default "4.3.3" if CC_V_4_3_3
132 default "4.3.2" if CC_V_4_3_2
133 default "4.3.1" if CC_V_4_3_1
134 default "4.3.0" if CC_V_4_3_0
135 default "4.2.4" if CC_V_4_2_4
136 default "4.2.3" if CC_V_4_2_3
137 default "4.2.2" if CC_V_4_2_2
138 default "4.2.1" if CC_V_4_2_1
139 default "4.2.0" if CC_V_4_2_0
140 default "4.1.2" if CC_V_4_1_2
141 default "4.0.4" if CC_V_4_0_4
142 default "3.4.6" if CC_V_3_4_6
146 prompt "Use __cxa_atexit"
148 depends on ! BARE_METAL
150 If you get the missing symbol "__cxa_atexit" when building C++ programs,
151 you might want to try disabling this option.
155 prompt "Use sjlj for exceptions"
156 default CC_SJLJ_EXCEPTIONS_CONFIGURE
157 depends on ! BARE_METAL
159 # This config option is used nowhere in the code on purpose.
160 # It only serves as a choice entry to force neither using nor not using sjlj
161 config CC_SJLJ_EXCEPTIONS_CONFIGURE
163 prompt "Let configure decide"
165 Let configure decide if setjmp/longjmp should be used to handle
168 Choose that if you trust configure to detect the correct settings.
169 This is the default choice.
171 config CC_SJLJ_EXCEPTIONS_USE
173 prompt "Force using sjlj"
175 Do use setjmp/longjmp for exceptions.
176 This is gcc's --enable-sjlj-exceptions configure switch.
178 Choose that if you want to use setjmp/longjmp to handle exceptions.
180 config CC_SJLJ_EXCEPTIONS_DONT_USE
182 prompt "Force not using sjlj"
184 Do not use setjmp/longjmp for exceptions.
185 This is gcc's --disable-sjlj-exceptions configure switch.
187 Choose that if you want to not use setjmp/longjmp to handle exceptions.
191 config CC_ENABLE_CXX_FLAGS
193 prompt "Flags to pass to --enable-cxx-flags"
196 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
197 Leave empty if you don't know better.
199 Note: just pass in the option _value_, that is only the part that goes
202 config CC_CORE_EXTRA_CONFIG
204 prompt "Core gcc extra config"
207 Extra flags to pass onto ./configure when configuring the core gcc.
209 The core gcc is a stripped down, C-only compiler needed to build
210 the C library. Kinda bootstrap gcc, if you wish.
212 config CC_EXTRA_CONFIG
214 prompt "gcc extra config"
216 depends on ! BARE_METAL
218 Extra flags to pass onto ./configure when configuring gcc.
222 prompt "gcc ID string"
223 depends on CC_GCC_4_3_or_later
224 default "crosstool-NG-${CT_VERSION}"
226 Specify a string that identifies your package. You may wish to include
227 a build number or build date. This version string will be included in
228 the output of gcc --version.
230 This is passed to the configure flag --with-pkgversion.
235 depends on CC_GCC_4_3_or_later
238 Specify the URL that users should visit if they wish to report a bug.
240 config CC_LANG_JAVA_USE_ECJ
243 depends on CC_LANG_JAVA
244 depends on CC_GCC_4_3_or_later