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.
22 prompt "3.2.3 (OBSOLETE)"
27 prompt "3.3.6 (OBSOLETE)"
32 prompt "3.4.6 (OBSOLETE)"
37 prompt "4.0.0 (OBSOLETE)"
42 prompt "4.0.1 (OBSOLETE)"
47 prompt "4.0.2 (OBSOLETE)"
52 prompt "4.0.3 (OBSOLETE)"
61 prompt "4.1.0 (OBSOLETE)"
66 prompt "4.1.1 (OBSOLETE)"
95 prompt "4.3.0 (EXPERIMENTAL)"
96 depends on EXPERIMENTAL
97 select CC_GCC_4_3_or_later
102 select CC_GCC_4_3_or_later
107 select CC_GCC_4_3_or_later
111 prompt "4.3.3 (EXPERIMENTAL)"
112 depends on EXPERIMENTAL
113 select CC_GCC_4_3_or_later
117 prompt "4.4.0 snapshot"
118 depends on EXPERIMENTAL
119 select CC_GCC_4_3_or_later
120 select CC_GCC_4_4_snapshot
122 # CT_INSERT_VERSION_ABOVE
123 # Don't remove above line!
126 config CC_GCC_4_3_or_later
131 config CC_GCC_4_4_snapshot
135 config CC_GCC_4_4_snapshot_date
137 prompt "Snapshot date"
138 depends on CC_GCC_4_4_snapshot
140 Enter the snapshot date in the form YYYYMMDD.
141 Snapshots are made every friday, at around 22:30 GMT+1,
142 so look at your calendar to find a suitable date.
144 Also, know that crosstool-NG does *not* carry any patch
145 for the gcc-4.4 snapshots. So, you may have to answer
146 'y' to CUSTOM_PATCH, and set CUSTOM_PATCH_DIR adequately.
150 default "3.2.3" if CC_V_3_2_3
151 default "3.3.6" if CC_V_3_3_6
152 default "3.4.6" if CC_V_3_4_6
153 default "4.0.0" if CC_V_4_0_0
154 default "4.0.1" if CC_V_4_0_1
155 default "4.0.2" if CC_V_4_0_2
156 default "4.0.3" if CC_V_4_0_3
157 default "4.0.4" if CC_V_4_0_4
158 default "4.1.0" if CC_V_4_1_0
159 default "4.1.1" if CC_V_4_1_1
160 default "4.1.2" if CC_V_4_1_2
161 default "4.2.0" if CC_V_4_2_0
162 default "4.2.1" if CC_V_4_2_1
163 default "4.2.2" if CC_V_4_2_2
164 default "4.2.3" if CC_V_4_2_3
165 default "4.2.4" if CC_V_4_2_4
166 default "4.3.0" if CC_V_4_3_0
167 default "4.3.1" if CC_V_4_3_1
168 default "4.3.2" if CC_V_4_3_2
169 default "4.3.3" if CC_V_4_3_3
170 default "4.4-" if CC_V_4_4_0
171 # CT_INSERT_VERSION_STRING_ABOVE
172 # Don't remove above line!
176 prompt "Use __cxa_atexit"
178 depends on ! BARE_METAL
180 If you get the missing symbol "__cxa_atexit" when building C++ programs,
181 you might want to try disabling this option.
185 prompt "Use sjlj for exceptions"
186 default CC_SJLJ_EXCEPTIONS_CONFIGURE
187 depends on ! BARE_METAL
189 # This config option is used nowhere in the code on purpose.
190 # It only serves as a choice entry to force neither using nor not using sjlj
191 config CC_SJLJ_EXCEPTIONS_CONFIGURE
193 prompt "Let configure decide"
195 Let configure decide if setjmp/longjmp should be used to handle
198 Choose that if you trust configure to detect the correct settings.
199 This is the default choice.
201 config CC_SJLJ_EXCEPTIONS_USE
203 prompt "Force using sjlj"
205 Do use setjmp/longjmp for exceptions.
206 This is gcc's --enable-sjlj-exceptions configure switch.
208 Choose that if you want to use setjmp/longjmp to handle exceptions.
210 config CC_SJLJ_EXCEPTIONS_DONT_USE
212 prompt "Force not using sjlj"
214 Do not use setjmp/longjmp for exceptions.
215 This is gcc's --disable-sjlj-exceptions configure switch.
217 Choose that if you want to not use setjmp/longjmp to handle exceptions.
221 config CC_CORE_EXTRA_CONFIG
223 prompt "Core gcc extra config"
226 Extra flags to pass onto ./configure when configuring the core gcc.
228 The core gcc is a stripped down, C-only compiler needed to build
229 the C library. Kinda bootstrap gcc, if you wish.
231 config CC_EXTRA_CONFIG
233 prompt "gcc extra config"
235 depends on ! BARE_METAL
237 Extra flags to pass onto ./configure when configuring gcc.
241 prompt "gcc ID string"
242 depends on CC_GCC_4_3_or_later
243 default "crosstool-NG-${CT_VERSION}"
245 Specify a string that identifies your package. You may wish to include
246 a build number or build date. This version string will be included in
247 the output of gcc --version.
249 This is passed to the configure flag --with-pkgversion.
254 depends on CC_GCC_4_3_or_later
257 Specify the URL that users should visit if they wish to report a bug.
259 config CC_LANG_JAVA_USE_ECJ
262 depends on CC_LANG_JAVA
263 depends on CC_GCC_4_3_or_later