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.1 (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.0 (EXPERIMENTAL)"
32 depends on EXPERIMENTAL
33 select CC_GCC_4_3_or_later
34 select CC_GCC_4_4_or_later
39 select CC_GCC_4_3_or_later
44 select CC_GCC_4_3_or_later
49 select CC_GCC_4_3_or_later
54 select CC_GCC_4_3_or_later
58 prompt "4.3.0 (EXPERIMENTAL)"
59 depends on EXPERIMENTAL
60 select CC_GCC_4_3_or_later
92 prompt "3.4.6 (OBSOLETE)"
97 config CC_GCC_4_3_or_later
102 config CC_GCC_4_4_or_later
109 # Don't remove next line
110 # CT_INSERT_VERSION_STRING_BELOW
111 default "4.4.1" if CC_V_4_4_1
112 default "4.4.0" if CC_V_4_4_0
113 default "4.3.4" if CC_V_4_3_4
114 default "4.3.3" if CC_V_4_3_3
115 default "4.3.2" if CC_V_4_3_2
116 default "4.3.1" if CC_V_4_3_1
117 default "4.3.0" if CC_V_4_3_0
118 default "4.2.4" if CC_V_4_2_4
119 default "4.2.3" if CC_V_4_2_3
120 default "4.2.2" if CC_V_4_2_2
121 default "4.2.1" if CC_V_4_2_1
122 default "4.2.0" if CC_V_4_2_0
123 default "4.1.2" if CC_V_4_1_2
124 default "4.0.4" if CC_V_4_0_4
125 default "3.4.6" if CC_V_3_4_6
129 prompt "Use __cxa_atexit"
131 depends on ! BARE_METAL
133 If you get the missing symbol "__cxa_atexit" when building C++ programs,
134 you might want to try disabling this option.
138 prompt "Use sjlj for exceptions"
139 default CC_SJLJ_EXCEPTIONS_CONFIGURE
140 depends on ! BARE_METAL
142 # This config option is used nowhere in the code on purpose.
143 # It only serves as a choice entry to force neither using nor not using sjlj
144 config CC_SJLJ_EXCEPTIONS_CONFIGURE
146 prompt "Let configure decide"
148 Let configure decide if setjmp/longjmp should be used to handle
151 Choose that if you trust configure to detect the correct settings.
152 This is the default choice.
154 config CC_SJLJ_EXCEPTIONS_USE
156 prompt "Force using sjlj"
158 Do use setjmp/longjmp for exceptions.
159 This is gcc's --enable-sjlj-exceptions configure switch.
161 Choose that if you want to use setjmp/longjmp to handle exceptions.
163 config CC_SJLJ_EXCEPTIONS_DONT_USE
165 prompt "Force not using sjlj"
167 Do not use setjmp/longjmp for exceptions.
168 This is gcc's --disable-sjlj-exceptions configure switch.
170 Choose that if you want to not use setjmp/longjmp to handle exceptions.
174 config CC_ENABLE_CXX_FLAGS
176 prompt "Flags to pass to --enable-cxx-flags"
179 Enter here the value of the gcc's ./configure option --enable-cxx-flags.
180 Leave empty if you don't know better.
182 Note: just pass in the option _value_, that is only the part that goes
185 config CC_CORE_EXTRA_CONFIG
187 prompt "Core gcc extra config"
190 Extra flags to pass onto ./configure when configuring the core gcc.
192 The core gcc is a stripped down, C-only compiler needed to build
193 the C library. Kinda bootstrap gcc, if you wish.
195 config CC_EXTRA_CONFIG
197 prompt "gcc extra config"
199 depends on ! BARE_METAL
201 Extra flags to pass onto ./configure when configuring gcc.
205 prompt "gcc ID string"
206 depends on CC_GCC_4_3_or_later
207 default "crosstool-NG-${CT_VERSION}"
209 Specify a string that identifies your package. You may wish to include
210 a build number or build date. This version string will be included in
211 the output of gcc --version.
213 This is passed to the configure flag --with-pkgversion.
218 depends on CC_GCC_4_3_or_later
221 Specify the URL that users should visit if they wish to report a bug.
223 config CC_LANG_JAVA_USE_ECJ
226 depends on CC_LANG_JAVA
227 depends on CC_GCC_4_3_or_later