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
75 prompt "4.2.3 (OBSOLETE)"
84 prompt "4.2.1 (OBSOLETE)"
89 prompt "4.2.0 (OBSOLETE)"
94 prompt "4.1.2 (OBSOLETE)"
99 prompt "4.0.4 (OBSOLETE)"
104 prompt "3.4.6 (OBSOLETE)"
109 config CC_GCC_4_3_or_later
114 config CC_GCC_4_4_or_later
121 # Don't remove next line
122 # CT_INSERT_VERSION_STRING_BELOW
123 default "4.4.2" if CC_V_4_4_2
124 default "4.4.1" if CC_V_4_4_1
125 default "4.4.0" if CC_V_4_4_0
126 default "4.3.4" if CC_V_4_3_4
127 default "4.3.3" if CC_V_4_3_3
128 default "4.3.2" if CC_V_4_3_2
129 default "4.3.1" if CC_V_4_3_1
130 default "4.3.0" if CC_V_4_3_0
131 default "4.2.4" if CC_V_4_2_4
132 default "4.2.3" if CC_V_4_2_3
133 default "4.2.2" if CC_V_4_2_2
134 default "4.2.1" if CC_V_4_2_1
135 default "4.2.0" if CC_V_4_2_0
136 default "4.1.2" if CC_V_4_1_2
137 default "4.0.4" if CC_V_4_0_4
138 default "3.4.6" if CC_V_3_4_6
142 prompt "Use __cxa_atexit"
144 depends on ! BARE_METAL
146 If you get the missing symbol "__cxa_atexit" when building C++ programs,
147 you might want to try disabling this option.
151 prompt "Use sjlj for exceptions"
152 default CC_SJLJ_EXCEPTIONS_CONFIGURE
153 depends on ! BARE_METAL
155 # This config option is used nowhere in the code on purpose.
156 # It only serves as a choice entry to force neither using nor not using sjlj
157 config CC_SJLJ_EXCEPTIONS_CONFIGURE
159 prompt "Let configure decide"
161 Let configure decide if setjmp/longjmp should be used to handle
164 Choose that if you trust configure to detect the correct settings.
165 This is the default choice.
167 config CC_SJLJ_EXCEPTIONS_USE
169 prompt "Force using sjlj"
171 Do use setjmp/longjmp for exceptions.
172 This is gcc's --enable-sjlj-exceptions configure switch.
174 Choose that if you want to use setjmp/longjmp to handle exceptions.
176 config CC_SJLJ_EXCEPTIONS_DONT_USE
178 prompt "Force not using sjlj"
180 Do not use setjmp/longjmp for exceptions.
181 This is gcc's --disable-sjlj-exceptions configure switch.
183 Choose that if you want to not use setjmp/longjmp to handle exceptions.
187 config CC_ENABLE_CXX_FLAGS
189 prompt "Flags to pass to --enable-cxx-flags"
192 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
193 Leave empty if you don't know better.
195 Note: just pass in the option _value_, that is only the part that goes
198 config CC_CORE_EXTRA_CONFIG
200 prompt "Core gcc extra config"
203 Extra flags to pass onto ./configure when configuring the core gcc.
205 The core gcc is a stripped down, C-only compiler needed to build
206 the C library. Kinda bootstrap gcc, if you wish.
208 config CC_EXTRA_CONFIG
210 prompt "gcc extra config"
212 depends on ! BARE_METAL
214 Extra flags to pass onto ./configure when configuring gcc.
218 prompt "gcc ID string"
219 depends on CC_GCC_4_3_or_later
220 default "crosstool-NG-${CT_VERSION}"
222 Specify a string that identifies your package. You may wish to include
223 a build number or build date. This version string will be included in
224 the output of gcc --version.
226 This is passed to the configure flag --with-pkgversion.
231 depends on CC_GCC_4_3_or_later
234 Specify the URL that users should visit if they wish to report a bug.
236 config CC_LANG_JAVA_USE_ECJ
239 depends on CC_LANG_JAVA
240 depends on CC_GCC_4_3_or_later