Fix building MPFR >= 2.4.0.
/trunk/scripts/build/mpfr.sh | 51 29 22 0 ++++++++++++++++++++++++++++----------------------
1 file changed, 29 insertions(+), 22 deletions(-)
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
115 # CT_INSERT_VERSION_ABOVE
116 # Don't remove above line!
121 default "3.2.3" if CC_V_3_2_3
122 default "3.3.6" if CC_V_3_3_6
123 default "3.4.6" if CC_V_3_4_6
124 default "4.0.0" if CC_V_4_0_0
125 default "4.0.1" if CC_V_4_0_1
126 default "4.0.2" if CC_V_4_0_2
127 default "4.0.3" if CC_V_4_0_3
128 default "4.0.4" if CC_V_4_0_4
129 default "4.1.0" if CC_V_4_1_0
130 default "4.1.1" if CC_V_4_1_1
131 default "4.1.2" if CC_V_4_1_2
132 default "4.2.0" if CC_V_4_2_0
133 default "4.2.1" if CC_V_4_2_1
134 default "4.2.2" if CC_V_4_2_2
135 default "4.2.3" if CC_V_4_2_3
136 default "4.2.4" if CC_V_4_2_4
137 default "4.3.0" if CC_V_4_3_0
138 default "4.3.1" if CC_V_4_3_1
139 default "4.3.2" if CC_V_4_3_2
140 default "4.3.3" if CC_V_4_3_3
141 # CT_INSERT_VERSION_STRING_ABOVE
142 # Don't remove above line!
144 config CC_GCC_4_3_or_later
151 prompt "Use __cxa_atexit"
153 depends on ! BARE_METAL
155 If you get the missing symbol "__cxa_atexit" when building C++ programs,
156 you might want to try disabling this option.
160 prompt "Use sjlj for exceptions"
161 default CC_SJLJ_EXCEPTIONS_CONFIGURE
162 depends on ! BARE_METAL
164 # This config option is used nowhere in the code on purpose.
165 # It only serves as a choice entry to force neither using nor not using sjlj
166 config CC_SJLJ_EXCEPTIONS_CONFIGURE
168 prompt "Let configure decide"
170 Let configure decide if setjmp/longjmp should be used to handle
173 Choose that if you trust configure to detect the correct settings.
174 This is the default choice.
176 config CC_SJLJ_EXCEPTIONS_USE
178 prompt "Force using sjlj"
180 Do use setjmp/longjmp for exceptions.
181 This is gcc's --enable-sjlj-exceptions configure switch.
183 Choose that if you want to use setjmp/longjmp to handle exceptions.
185 config CC_SJLJ_EXCEPTIONS_DONT_USE
187 prompt "Force not using sjlj"
189 Do not use setjmp/longjmp for exceptions.
190 This is gcc's --disable-sjlj-exceptions configure switch.
192 Choose that if you want to not use setjmp/longjmp to handle exceptions.
196 config CC_CORE_EXTRA_CONFIG
198 prompt "Core gcc extra config"
201 Extra flags to pass onto ./configure when configuring the core gcc.
203 The core gcc is a stripped down, C-only compiler needed to build
204 the C library. Kinda bootstrap gcc, if you wish.
206 config CC_EXTRA_CONFIG
208 prompt "gcc extra config"
210 depends on ! BARE_METAL
212 Extra flags to pass onto ./configure when configuring gcc.
216 prompt "gcc ID string"
217 depends on CC_GCC_4_3_or_later
218 default "crosstool-NG-${CT_VERSION}"
220 Specify a string that identifies your package. You may wish to include
221 a build number or build date. This version string will be included in
222 the output of gcc --version.
224 This is passed to the configure flag --with-pkgversion.
229 depends on CC_GCC_4_3_or_later
232 Specify the URL that users should visit if they wish to report a bug.
234 config CC_LANG_JAVA_USE_ECJ
237 depends on CC_LANG_JAVA
238 depends on CC_GCC_4_3_or_later