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
24 prompt "4.4.2 (EXPERIMENTAL)"
25 depends on EXPERIMENTAL
26 select CC_GCC_4_3_or_later
27 select CC_GCC_4_4_or_later
31 prompt "4.4.1 (EXPERIMENTAL)"
32 depends on EXPERIMENTAL
33 select CC_GCC_4_3_or_later
34 select CC_GCC_4_4_or_later
38 prompt "4.4.0 (EXPERIMENTAL)"
39 depends on EXPERIMENTAL
40 select CC_GCC_4_3_or_later
41 select CC_GCC_4_4_or_later
46 select CC_GCC_4_3_or_later
51 select CC_GCC_4_3_or_later
56 select CC_GCC_4_3_or_later
61 select CC_GCC_4_3_or_later
65 prompt "4.3.0 (EXPERIMENTAL)"
66 depends on EXPERIMENTAL
67 select CC_GCC_4_3_or_later
99 prompt "3.4.6 (OBSOLETE)"
104 config CC_GCC_4_3_or_later
109 config CC_GCC_4_4_or_later
116 # Don't remove next line
117 # CT_INSERT_VERSION_STRING_BELOW
118 default "4.4.2" if CC_V_4_4_2
119 default "4.4.1" if CC_V_4_4_1
120 default "4.4.0" if CC_V_4_4_0
121 default "4.3.4" if CC_V_4_3_4
122 default "4.3.3" if CC_V_4_3_3
123 default "4.3.2" if CC_V_4_3_2
124 default "4.3.1" if CC_V_4_3_1
125 default "4.3.0" if CC_V_4_3_0
126 default "4.2.4" if CC_V_4_2_4
127 default "4.2.3" if CC_V_4_2_3
128 default "4.2.2" if CC_V_4_2_2
129 default "4.2.1" if CC_V_4_2_1
130 default "4.2.0" if CC_V_4_2_0
131 default "4.1.2" if CC_V_4_1_2
132 default "4.0.4" if CC_V_4_0_4
133 default "3.4.6" if CC_V_3_4_6
137 prompt "Use __cxa_atexit"
139 depends on ! BARE_METAL
141 If you get the missing symbol "__cxa_atexit" when building C++ programs,
142 you might want to try disabling this option.
146 prompt "Use sjlj for exceptions"
147 default CC_SJLJ_EXCEPTIONS_CONFIGURE
148 depends on ! BARE_METAL
150 # This config option is used nowhere in the code on purpose.
151 # It only serves as a choice entry to force neither using nor not using sjlj
152 config CC_SJLJ_EXCEPTIONS_CONFIGURE
154 prompt "Let configure decide"
156 Let configure decide if setjmp/longjmp should be used to handle
159 Choose that if you trust configure to detect the correct settings.
160 This is the default choice.
162 config CC_SJLJ_EXCEPTIONS_USE
164 prompt "Force using sjlj"
166 Do use setjmp/longjmp for exceptions.
167 This is gcc's --enable-sjlj-exceptions configure switch.
169 Choose that if you want to use setjmp/longjmp to handle exceptions.
171 config CC_SJLJ_EXCEPTIONS_DONT_USE
173 prompt "Force not using sjlj"
175 Do not use setjmp/longjmp for exceptions.
176 This is gcc's --disable-sjlj-exceptions configure switch.
178 Choose that if you want to not use setjmp/longjmp to handle exceptions.
182 config CC_ENABLE_CXX_FLAGS
184 prompt "Flags to pass to --enable-cxx-flags"
187 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
188 Leave empty if you don't know better.
190 Note: just pass in the option _value_, that is only the part that goes
193 config CC_CORE_EXTRA_CONFIG
195 prompt "Core gcc extra config"
198 Extra flags to pass onto ./configure when configuring the core gcc.
200 The core gcc is a stripped down, C-only compiler needed to build
201 the C library. Kinda bootstrap gcc, if you wish.
203 config CC_EXTRA_CONFIG
205 prompt "gcc extra config"
207 depends on ! BARE_METAL
209 Extra flags to pass onto ./configure when configuring gcc.
213 prompt "gcc ID string"
214 depends on CC_GCC_4_3_or_later
215 default "crosstool-NG-${CT_VERSION}"
217 Specify a string that identifies your package. You may wish to include
218 a build number or build date. This version string will be included in
219 the output of gcc --version.
221 This is passed to the configure flag --with-pkgversion.
226 depends on CC_GCC_4_3_or_later
229 Specify the URL that users should visit if they wish to report a bug.
231 config CC_LANG_JAVA_USE_ECJ
234 depends on CC_LANG_JAVA
235 depends on CC_GCC_4_3_or_later