1 diff -ruN gcc-4.2.4/configure gcc-4.2.4.aros/configure
2 --- gcc-4.2.4/configure 2007-09-15 02:42:24.000000000 +0200
3 +++ gcc-4.2.4.aros/configure 2011-04-11 22:46:42.763937000 +0200
6 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
9 + noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl tix gnuserv gdb"
12 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
15 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
16 host_makefile_frag="config/mh-x86omitfp"
24 # Extract the first word of "gcc", so it can be a program name with args.
25 set dummy gcc; ac_word=$2
26 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
27 -echo "configure:1866: checking for $ac_word" >&5
28 +echo "configure:1871: checking for $ac_word" >&5
29 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
30 echo $ac_n "(cached) $ac_c" 1>&6
33 # Extract the first word of "cc", so it can be a program name with args.
34 set dummy cc; ac_word=$2
35 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
36 -echo "configure:1896: checking for $ac_word" >&5
37 +echo "configure:1901: checking for $ac_word" >&5
38 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
39 echo $ac_n "(cached) $ac_c" 1>&6
42 # Extract the first word of "cl", so it can be a program name with args.
43 set dummy cl; ac_word=$2
44 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
45 -echo "configure:1947: checking for $ac_word" >&5
46 +echo "configure:1952: checking for $ac_word" >&5
47 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
48 echo $ac_n "(cached) $ac_c" 1>&6
53 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
54 -echo "configure:1979: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
55 +echo "configure:1984: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
58 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
59 @@ -1986,12 +1991,12 @@
61 cat > conftest.$ac_ext << EOF
63 -#line 1990 "configure"
64 +#line 1995 "configure"
69 -if { (eval echo configure:1995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
70 +if { (eval echo configure:2000: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
71 ac_cv_prog_cc_works=yes
72 # If we can't run a trivial program, we are probably using a cross compiler.
73 if (./conftest; exit) 2>/dev/null; then
74 @@ -2017,12 +2022,12 @@
75 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
77 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
78 -echo "configure:2021: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
79 +echo "configure:2026: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
80 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
81 cross_compiling=$ac_cv_prog_cc_cross
83 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
84 -echo "configure:2026: checking whether we are using GNU C" >&5
85 +echo "configure:2031: checking whether we are using GNU C" >&5
86 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
87 echo $ac_n "(cached) $ac_c" 1>&6
93 -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
94 +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:2040: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
99 ac_save_CFLAGS="$CFLAGS"
101 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
102 -echo "configure:2054: checking whether ${CC-cc} accepts -g" >&5
103 +echo "configure:2059: checking whether ${CC-cc} accepts -g" >&5
104 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
105 echo $ac_n "(cached) $ac_c" 1>&6
107 @@ -2117,7 +2122,7 @@
108 # Extract the first word of "${ac_tool_prefix}gnatbind", so it can be a program name with args.
109 set dummy ${ac_tool_prefix}gnatbind; ac_word=$2
110 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
111 -echo "configure:2121: checking for $ac_word" >&5
112 +echo "configure:2126: checking for $ac_word" >&5
113 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
114 echo $ac_n "(cached) $ac_c" 1>&6
116 @@ -2149,7 +2154,7 @@
117 # Extract the first word of "gnatbind", so it can be a program name with args.
118 set dummy gnatbind; ac_word=$2
119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
120 -echo "configure:2153: checking for $ac_word" >&5
121 +echo "configure:2158: checking for $ac_word" >&5
122 if eval "test \"`echo '$''{'ac_cv_prog_GNATBIND'+set}'`\" = set"; then
123 echo $ac_n "(cached) $ac_c" 1>&6
125 @@ -2182,7 +2187,7 @@
128 echo $ac_n "checking whether compiler driver understands Ada""... $ac_c" 1>&6
129 -echo "configure:2186: checking whether compiler driver understands Ada" >&5
130 +echo "configure:2191: checking whether compiler driver understands Ada" >&5
131 if eval "test \"`echo '$''{'acx_cv_cc_gcc_supports_ada'+set}'`\" = set"; then
132 echo $ac_n "(cached) $ac_c" 1>&6
134 @@ -2214,7 +2219,7 @@
137 echo $ac_n "checking how to compare bootstrapped objects""... $ac_c" 1>&6
138 -echo "configure:2218: checking how to compare bootstrapped objects" >&5
139 +echo "configure:2223: checking how to compare bootstrapped objects" >&5
140 if eval "test \"`echo '$''{'gcc_cv_prog_cmp_skip'+set}'`\" = set"; then
141 echo $ac_n "(cached) $ac_c" 1>&6
143 @@ -2334,9 +2339,9 @@
144 CFLAGS="$CFLAGS $gmpinc"
145 # Check GMP actually works
146 echo $ac_n "checking for correct version of gmp.h""... $ac_c" 1>&6
147 -echo "configure:2338: checking for correct version of gmp.h" >&5
148 +echo "configure:2343: checking for correct version of gmp.h" >&5
149 cat > conftest.$ac_ext <<EOF
150 -#line 2340 "configure"
151 +#line 2345 "configure"
152 #include "confdefs.h"
155 @@ -2347,7 +2352,7 @@
159 -if { (eval echo configure:2351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
160 +if { (eval echo configure:2356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
162 echo "$ac_t""yes" 1>&6
164 @@ -2360,9 +2365,9 @@
166 if test x"$have_gmp" = xyes; then
167 echo $ac_n "checking for correct version of mpfr.h""... $ac_c" 1>&6
168 -echo "configure:2364: checking for correct version of mpfr.h" >&5
169 +echo "configure:2369: checking for correct version of mpfr.h" >&5
170 cat > conftest.$ac_ext <<EOF
171 -#line 2366 "configure"
172 +#line 2371 "configure"
173 #include "confdefs.h"
176 @@ -2374,7 +2379,7 @@
180 -if { (eval echo configure:2378: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
181 +if { (eval echo configure:2383: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
183 echo "$ac_t""yes" 1>&6
185 @@ -2388,9 +2393,9 @@
187 LIBS="$LIBS $gmplibs"
188 echo $ac_n "checking for any version of mpfr.h""... $ac_c" 1>&6
189 -echo "configure:2392: checking for any version of mpfr.h" >&5
190 +echo "configure:2397: checking for any version of mpfr.h" >&5
191 cat > conftest.$ac_ext <<EOF
192 -#line 2394 "configure"
193 +#line 2399 "configure"
194 #include "confdefs.h"
197 @@ -2398,7 +2403,7 @@
198 mpfr_t n; mpfr_init(n);
201 -if { (eval echo configure:2402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
202 +if { (eval echo configure:2407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
204 echo "$ac_t""yes" 1>&6
206 @@ -3509,7 +3514,7 @@
207 # Extract the first word of "$ac_prog", so it can be a program name with args.
208 set dummy $ac_prog; ac_word=$2
209 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
210 -echo "configure:3513: checking for $ac_word" >&5
211 +echo "configure:3518: checking for $ac_word" >&5
212 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
213 echo $ac_n "(cached) $ac_c" 1>&6
215 @@ -3549,7 +3554,7 @@
216 # Extract the first word of "$ac_prog", so it can be a program name with args.
217 set dummy $ac_prog; ac_word=$2
218 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
219 -echo "configure:3553: checking for $ac_word" >&5
220 +echo "configure:3558: checking for $ac_word" >&5
221 if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
222 echo $ac_n "(cached) $ac_c" 1>&6
224 @@ -3588,7 +3593,7 @@
225 # Extract the first word of "$ac_prog", so it can be a program name with args.
226 set dummy $ac_prog; ac_word=$2
227 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
228 -echo "configure:3592: checking for $ac_word" >&5
229 +echo "configure:3597: checking for $ac_word" >&5
230 if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
231 echo $ac_n "(cached) $ac_c" 1>&6
233 @@ -3627,7 +3632,7 @@
234 # Extract the first word of "$ac_prog", so it can be a program name with args.
235 set dummy $ac_prog; ac_word=$2
236 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
237 -echo "configure:3631: checking for $ac_word" >&5
238 +echo "configure:3636: checking for $ac_word" >&5
239 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
240 echo $ac_n "(cached) $ac_c" 1>&6
242 @@ -3667,7 +3672,7 @@
243 # Extract the first word of "$ac_prog", so it can be a program name with args.
244 set dummy $ac_prog; ac_word=$2
245 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
246 -echo "configure:3671: checking for $ac_word" >&5
247 +echo "configure:3676: checking for $ac_word" >&5
248 if eval "test \"`echo '$''{'ac_cv_prog_FLEX'+set}'`\" = set"; then
249 echo $ac_n "(cached) $ac_c" 1>&6
251 @@ -3706,7 +3711,7 @@
252 # Extract the first word of "$ac_prog", so it can be a program name with args.
253 set dummy $ac_prog; ac_word=$2
254 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
255 -echo "configure:3710: checking for $ac_word" >&5
256 +echo "configure:3715: checking for $ac_word" >&5
257 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then
258 echo $ac_n "(cached) $ac_c" 1>&6
260 @@ -3759,7 +3764,7 @@
261 # Extract the first word of "$ac_prog", so it can be a program name with args.
262 set dummy $ac_prog; ac_word=$2
263 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
264 -echo "configure:3763: checking for $ac_word" >&5
265 +echo "configure:3768: checking for $ac_word" >&5
266 if eval "test \"`echo '$''{'ac_cv_prog_EXPECT'+set}'`\" = set"; then
267 echo $ac_n "(cached) $ac_c" 1>&6
269 @@ -3800,7 +3805,7 @@
270 # Extract the first word of "$ac_prog", so it can be a program name with args.
271 set dummy $ac_prog; ac_word=$2
272 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
273 -echo "configure:3804: checking for $ac_word" >&5
274 +echo "configure:3809: checking for $ac_word" >&5
275 if eval "test \"`echo '$''{'ac_cv_prog_RUNTEST'+set}'`\" = set"; then
276 echo $ac_n "(cached) $ac_c" 1>&6
278 @@ -3848,7 +3853,7 @@
279 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
280 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
282 -echo "configure:3852: checking for $ac_word" >&5
283 +echo "configure:3857: checking for $ac_word" >&5
284 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
285 echo $ac_n "(cached) $ac_c" 1>&6
287 @@ -3879,7 +3884,7 @@
288 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
289 set dummy ${ncn_progname}; ac_word=$2
290 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
291 -echo "configure:3883: checking for $ac_word" >&5
292 +echo "configure:3888: checking for $ac_word" >&5
293 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
294 echo $ac_n "(cached) $ac_c" 1>&6
296 @@ -3923,7 +3928,7 @@
297 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
298 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
299 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
300 -echo "configure:3927: checking for $ac_word" >&5
301 +echo "configure:3932: checking for $ac_word" >&5
302 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
303 echo $ac_n "(cached) $ac_c" 1>&6
305 @@ -3954,7 +3959,7 @@
306 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
307 set dummy ${ncn_progname}; ac_word=$2
308 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
309 -echo "configure:3958: checking for $ac_word" >&5
310 +echo "configure:3963: checking for $ac_word" >&5
311 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
312 echo $ac_n "(cached) $ac_c" 1>&6
314 @@ -3998,7 +4003,7 @@
315 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
316 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
317 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
318 -echo "configure:4002: checking for $ac_word" >&5
319 +echo "configure:4007: checking for $ac_word" >&5
320 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
321 echo $ac_n "(cached) $ac_c" 1>&6
323 @@ -4029,7 +4034,7 @@
324 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
325 set dummy ${ncn_progname}; ac_word=$2
326 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
327 -echo "configure:4033: checking for $ac_word" >&5
328 +echo "configure:4038: checking for $ac_word" >&5
329 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
330 echo $ac_n "(cached) $ac_c" 1>&6
332 @@ -4073,7 +4078,7 @@
333 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
334 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
335 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
336 -echo "configure:4077: checking for $ac_word" >&5
337 +echo "configure:4082: checking for $ac_word" >&5
338 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
339 echo $ac_n "(cached) $ac_c" 1>&6
341 @@ -4104,7 +4109,7 @@
342 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
343 set dummy ${ncn_progname}; ac_word=$2
344 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
345 -echo "configure:4108: checking for $ac_word" >&5
346 +echo "configure:4113: checking for $ac_word" >&5
347 if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
348 echo $ac_n "(cached) $ac_c" 1>&6
350 @@ -4148,7 +4153,7 @@
351 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
352 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
353 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
354 -echo "configure:4152: checking for $ac_word" >&5
355 +echo "configure:4157: checking for $ac_word" >&5
356 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
357 echo $ac_n "(cached) $ac_c" 1>&6
359 @@ -4179,7 +4184,7 @@
360 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
361 set dummy ${ncn_progname}; ac_word=$2
362 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
363 -echo "configure:4183: checking for $ac_word" >&5
364 +echo "configure:4188: checking for $ac_word" >&5
365 if eval "test \"`echo '$''{'ac_cv_prog_LIPO'+set}'`\" = set"; then
366 echo $ac_n "(cached) $ac_c" 1>&6
368 @@ -4223,7 +4228,7 @@
369 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
370 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
372 -echo "configure:4227: checking for $ac_word" >&5
373 +echo "configure:4232: checking for $ac_word" >&5
374 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
375 echo $ac_n "(cached) $ac_c" 1>&6
377 @@ -4254,7 +4259,7 @@
378 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
379 set dummy ${ncn_progname}; ac_word=$2
380 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
381 -echo "configure:4258: checking for $ac_word" >&5
382 +echo "configure:4263: checking for $ac_word" >&5
383 if eval "test \"`echo '$''{'ac_cv_prog_NM'+set}'`\" = set"; then
384 echo $ac_n "(cached) $ac_c" 1>&6
386 @@ -4298,7 +4303,7 @@
387 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
388 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
389 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
390 -echo "configure:4302: checking for $ac_word" >&5
391 +echo "configure:4307: checking for $ac_word" >&5
392 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
393 echo $ac_n "(cached) $ac_c" 1>&6
395 @@ -4329,7 +4334,7 @@
396 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
397 set dummy ${ncn_progname}; ac_word=$2
398 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
399 -echo "configure:4333: checking for $ac_word" >&5
400 +echo "configure:4338: checking for $ac_word" >&5
401 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
402 echo $ac_n "(cached) $ac_c" 1>&6
404 @@ -4368,7 +4373,7 @@
405 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
406 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
407 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
408 -echo "configure:4372: checking for $ac_word" >&5
409 +echo "configure:4377: checking for $ac_word" >&5
410 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
411 echo $ac_n "(cached) $ac_c" 1>&6
413 @@ -4399,7 +4404,7 @@
414 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
415 set dummy ${ncn_progname}; ac_word=$2
416 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
417 -echo "configure:4403: checking for $ac_word" >&5
418 +echo "configure:4408: checking for $ac_word" >&5
419 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
420 echo $ac_n "(cached) $ac_c" 1>&6
422 @@ -4438,7 +4443,7 @@
423 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
424 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
425 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
426 -echo "configure:4442: checking for $ac_word" >&5
427 +echo "configure:4447: checking for $ac_word" >&5
428 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
429 echo $ac_n "(cached) $ac_c" 1>&6
431 @@ -4469,7 +4474,7 @@
432 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
433 set dummy ${ncn_progname}; ac_word=$2
434 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
435 -echo "configure:4473: checking for $ac_word" >&5
436 +echo "configure:4478: checking for $ac_word" >&5
437 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES'+set}'`\" = set"; then
438 echo $ac_n "(cached) $ac_c" 1>&6
440 @@ -4513,7 +4518,7 @@
441 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
442 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
443 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
444 -echo "configure:4517: checking for $ac_word" >&5
445 +echo "configure:4522: checking for $ac_word" >&5
446 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
447 echo $ac_n "(cached) $ac_c" 1>&6
449 @@ -4544,7 +4549,7 @@
450 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
451 set dummy ${ncn_progname}; ac_word=$2
452 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
453 -echo "configure:4548: checking for $ac_word" >&5
454 +echo "configure:4553: checking for $ac_word" >&5
455 if eval "test \"`echo '$''{'ac_cv_prog_OBJCOPY'+set}'`\" = set"; then
456 echo $ac_n "(cached) $ac_c" 1>&6
458 @@ -4588,7 +4593,7 @@
459 # Extract the first word of "${ncn_tool_prefix}${ncn_progname}", so it can be a program name with args.
460 set dummy ${ncn_tool_prefix}${ncn_progname}; ac_word=$2
461 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
462 -echo "configure:4592: checking for $ac_word" >&5
463 +echo "configure:4597: checking for $ac_word" >&5
464 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
465 echo $ac_n "(cached) $ac_c" 1>&6
467 @@ -4619,7 +4624,7 @@
468 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
469 set dummy ${ncn_progname}; ac_word=$2
470 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
471 -echo "configure:4623: checking for $ac_word" >&5
472 +echo "configure:4628: checking for $ac_word" >&5
473 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
474 echo $ac_n "(cached) $ac_c" 1>&6
476 @@ -4683,7 +4688,7 @@
477 if test -n "$with_build_time_tools"; then
478 for ncn_progname in cc gcc; do
479 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
480 -echo "configure:4687: checking for ${ncn_progname} in $with_build_time_tools" >&5
481 +echo "configure:4692: checking for ${ncn_progname} in $with_build_time_tools" >&5
482 if test -x $with_build_time_tools/${ncn_progname}; then
483 ac_cv_prog_CC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
484 echo "$ac_t""yes" 1>&6
485 @@ -4700,7 +4705,7 @@
486 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
487 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
488 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
489 -echo "configure:4704: checking for $ac_word" >&5
490 +echo "configure:4709: checking for $ac_word" >&5
491 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
492 echo $ac_n "(cached) $ac_c" 1>&6
494 @@ -4731,7 +4736,7 @@
495 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
496 set dummy ${ncn_progname}; ac_word=$2
497 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
498 -echo "configure:4735: checking for $ac_word" >&5
499 +echo "configure:4740: checking for $ac_word" >&5
500 if eval "test \"`echo '$''{'ac_cv_prog_CC_FOR_TARGET'+set}'`\" = set"; then
501 echo $ac_n "(cached) $ac_c" 1>&6
503 @@ -4776,7 +4781,7 @@
504 if test -n "$with_build_time_tools"; then
505 for ncn_progname in c++ g++ cxx gxx; do
506 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
507 -echo "configure:4780: checking for ${ncn_progname} in $with_build_time_tools" >&5
508 +echo "configure:4785: checking for ${ncn_progname} in $with_build_time_tools" >&5
509 if test -x $with_build_time_tools/${ncn_progname}; then
510 ac_cv_prog_CXX_FOR_TARGET=$with_build_time_tools/${ncn_progname}
511 echo "$ac_t""yes" 1>&6
512 @@ -4793,7 +4798,7 @@
513 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
514 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
515 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
516 -echo "configure:4797: checking for $ac_word" >&5
517 +echo "configure:4802: checking for $ac_word" >&5
518 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
519 echo $ac_n "(cached) $ac_c" 1>&6
521 @@ -4824,7 +4829,7 @@
522 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
523 set dummy ${ncn_progname}; ac_word=$2
524 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
525 -echo "configure:4828: checking for $ac_word" >&5
526 +echo "configure:4833: checking for $ac_word" >&5
527 if eval "test \"`echo '$''{'ac_cv_prog_CXX_FOR_TARGET'+set}'`\" = set"; then
528 echo $ac_n "(cached) $ac_c" 1>&6
530 @@ -4869,7 +4874,7 @@
531 if test -n "$with_build_time_tools"; then
532 for ncn_progname in gcc; do
533 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
534 -echo "configure:4873: checking for ${ncn_progname} in $with_build_time_tools" >&5
535 +echo "configure:4878: checking for ${ncn_progname} in $with_build_time_tools" >&5
536 if test -x $with_build_time_tools/${ncn_progname}; then
537 ac_cv_prog_GCC_FOR_TARGET=$with_build_time_tools/${ncn_progname}
538 echo "$ac_t""yes" 1>&6
539 @@ -4886,7 +4891,7 @@
540 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
541 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
542 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
543 -echo "configure:4890: checking for $ac_word" >&5
544 +echo "configure:4895: checking for $ac_word" >&5
545 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
546 echo $ac_n "(cached) $ac_c" 1>&6
548 @@ -4917,7 +4922,7 @@
549 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
550 set dummy ${ncn_progname}; ac_word=$2
551 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
552 -echo "configure:4921: checking for $ac_word" >&5
553 +echo "configure:4926: checking for $ac_word" >&5
554 if eval "test \"`echo '$''{'ac_cv_prog_GCC_FOR_TARGET'+set}'`\" = set"; then
555 echo $ac_n "(cached) $ac_c" 1>&6
557 @@ -4957,7 +4962,7 @@
558 if test -n "$with_build_time_tools"; then
559 for ncn_progname in gcj; do
560 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
561 -echo "configure:4961: checking for ${ncn_progname} in $with_build_time_tools" >&5
562 +echo "configure:4966: checking for ${ncn_progname} in $with_build_time_tools" >&5
563 if test -x $with_build_time_tools/${ncn_progname}; then
564 ac_cv_prog_GCJ_FOR_TARGET=$with_build_time_tools/${ncn_progname}
565 echo "$ac_t""yes" 1>&6
566 @@ -4974,7 +4979,7 @@
567 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
568 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
569 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
570 -echo "configure:4978: checking for $ac_word" >&5
571 +echo "configure:4983: checking for $ac_word" >&5
572 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
573 echo $ac_n "(cached) $ac_c" 1>&6
575 @@ -5005,7 +5010,7 @@
576 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
577 set dummy ${ncn_progname}; ac_word=$2
578 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
579 -echo "configure:5009: checking for $ac_word" >&5
580 +echo "configure:5014: checking for $ac_word" >&5
581 if eval "test \"`echo '$''{'ac_cv_prog_GCJ_FOR_TARGET'+set}'`\" = set"; then
582 echo $ac_n "(cached) $ac_c" 1>&6
584 @@ -5050,7 +5055,7 @@
585 if test -n "$with_build_time_tools"; then
586 for ncn_progname in gfortran; do
587 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
588 -echo "configure:5054: checking for ${ncn_progname} in $with_build_time_tools" >&5
589 +echo "configure:5059: checking for ${ncn_progname} in $with_build_time_tools" >&5
590 if test -x $with_build_time_tools/${ncn_progname}; then
591 ac_cv_prog_GFORTRAN_FOR_TARGET=$with_build_time_tools/${ncn_progname}
592 echo "$ac_t""yes" 1>&6
593 @@ -5067,7 +5072,7 @@
594 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
595 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
596 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
597 -echo "configure:5071: checking for $ac_word" >&5
598 +echo "configure:5076: checking for $ac_word" >&5
599 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
600 echo $ac_n "(cached) $ac_c" 1>&6
602 @@ -5098,7 +5103,7 @@
603 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
604 set dummy ${ncn_progname}; ac_word=$2
605 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
606 -echo "configure:5102: checking for $ac_word" >&5
607 +echo "configure:5107: checking for $ac_word" >&5
608 if eval "test \"`echo '$''{'ac_cv_prog_GFORTRAN_FOR_TARGET'+set}'`\" = set"; then
609 echo $ac_n "(cached) $ac_c" 1>&6
611 @@ -5207,7 +5212,7 @@
612 if test -z "$ac_cv_path_AR_FOR_TARGET" ; then
613 if test -n "$with_build_time_tools"; then
614 echo $ac_n "checking for ar in $with_build_time_tools""... $ac_c" 1>&6
615 -echo "configure:5211: checking for ar in $with_build_time_tools" >&5
616 +echo "configure:5216: checking for ar in $with_build_time_tools" >&5
617 if test -x $with_build_time_tools/ar; then
618 AR_FOR_TARGET=`cd $with_build_time_tools && pwd`/ar
619 ac_cv_path_AR_FOR_TARGET=$AR_FOR_TARGET
620 @@ -5225,7 +5230,7 @@
621 # Extract the first word of "ar", so it can be a program name with args.
622 set dummy ar; ac_word=$2
623 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
624 -echo "configure:5229: checking for $ac_word" >&5
625 +echo "configure:5234: checking for $ac_word" >&5
626 if eval "test \"`echo '$''{'ac_cv_path_AR_FOR_TARGET'+set}'`\" = set"; then
627 echo $ac_n "(cached) $ac_c" 1>&6
629 @@ -5262,7 +5267,7 @@
630 if test -n "$with_build_time_tools"; then
631 for ncn_progname in ar; do
632 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
633 -echo "configure:5266: checking for ${ncn_progname} in $with_build_time_tools" >&5
634 +echo "configure:5271: checking for ${ncn_progname} in $with_build_time_tools" >&5
635 if test -x $with_build_time_tools/${ncn_progname}; then
636 ac_cv_prog_AR_FOR_TARGET=$with_build_time_tools/${ncn_progname}
637 echo "$ac_t""yes" 1>&6
638 @@ -5279,7 +5284,7 @@
639 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
640 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
641 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
642 -echo "configure:5283: checking for $ac_word" >&5
643 +echo "configure:5288: checking for $ac_word" >&5
644 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
645 echo $ac_n "(cached) $ac_c" 1>&6
647 @@ -5310,7 +5315,7 @@
648 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
649 set dummy ${ncn_progname}; ac_word=$2
650 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
651 -echo "configure:5314: checking for $ac_word" >&5
652 +echo "configure:5319: checking for $ac_word" >&5
653 if eval "test \"`echo '$''{'ac_cv_prog_AR_FOR_TARGET'+set}'`\" = set"; then
654 echo $ac_n "(cached) $ac_c" 1>&6
656 @@ -5362,7 +5367,7 @@
657 if test -z "$ac_cv_path_AS_FOR_TARGET" ; then
658 if test -n "$with_build_time_tools"; then
659 echo $ac_n "checking for as in $with_build_time_tools""... $ac_c" 1>&6
660 -echo "configure:5366: checking for as in $with_build_time_tools" >&5
661 +echo "configure:5371: checking for as in $with_build_time_tools" >&5
662 if test -x $with_build_time_tools/as; then
663 AS_FOR_TARGET=`cd $with_build_time_tools && pwd`/as
664 ac_cv_path_AS_FOR_TARGET=$AS_FOR_TARGET
665 @@ -5380,7 +5385,7 @@
666 # Extract the first word of "as", so it can be a program name with args.
667 set dummy as; ac_word=$2
668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
669 -echo "configure:5384: checking for $ac_word" >&5
670 +echo "configure:5389: checking for $ac_word" >&5
671 if eval "test \"`echo '$''{'ac_cv_path_AS_FOR_TARGET'+set}'`\" = set"; then
672 echo $ac_n "(cached) $ac_c" 1>&6
674 @@ -5417,7 +5422,7 @@
675 if test -n "$with_build_time_tools"; then
676 for ncn_progname in as; do
677 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
678 -echo "configure:5421: checking for ${ncn_progname} in $with_build_time_tools" >&5
679 +echo "configure:5426: checking for ${ncn_progname} in $with_build_time_tools" >&5
680 if test -x $with_build_time_tools/${ncn_progname}; then
681 ac_cv_prog_AS_FOR_TARGET=$with_build_time_tools/${ncn_progname}
682 echo "$ac_t""yes" 1>&6
683 @@ -5434,7 +5439,7 @@
684 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
685 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
686 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
687 -echo "configure:5438: checking for $ac_word" >&5
688 +echo "configure:5443: checking for $ac_word" >&5
689 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
690 echo $ac_n "(cached) $ac_c" 1>&6
692 @@ -5465,7 +5470,7 @@
693 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
694 set dummy ${ncn_progname}; ac_word=$2
695 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
696 -echo "configure:5469: checking for $ac_word" >&5
697 +echo "configure:5474: checking for $ac_word" >&5
698 if eval "test \"`echo '$''{'ac_cv_prog_AS_FOR_TARGET'+set}'`\" = set"; then
699 echo $ac_n "(cached) $ac_c" 1>&6
701 @@ -5517,7 +5522,7 @@
702 if test -z "$ac_cv_path_DLLTOOL_FOR_TARGET" ; then
703 if test -n "$with_build_time_tools"; then
704 echo $ac_n "checking for dlltool in $with_build_time_tools""... $ac_c" 1>&6
705 -echo "configure:5521: checking for dlltool in $with_build_time_tools" >&5
706 +echo "configure:5526: checking for dlltool in $with_build_time_tools" >&5
707 if test -x $with_build_time_tools/dlltool; then
708 DLLTOOL_FOR_TARGET=`cd $with_build_time_tools && pwd`/dlltool
709 ac_cv_path_DLLTOOL_FOR_TARGET=$DLLTOOL_FOR_TARGET
710 @@ -5535,7 +5540,7 @@
711 # Extract the first word of "dlltool", so it can be a program name with args.
712 set dummy dlltool; ac_word=$2
713 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
714 -echo "configure:5539: checking for $ac_word" >&5
715 +echo "configure:5544: checking for $ac_word" >&5
716 if eval "test \"`echo '$''{'ac_cv_path_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
717 echo $ac_n "(cached) $ac_c" 1>&6
719 @@ -5572,7 +5577,7 @@
720 if test -n "$with_build_time_tools"; then
721 for ncn_progname in dlltool; do
722 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
723 -echo "configure:5576: checking for ${ncn_progname} in $with_build_time_tools" >&5
724 +echo "configure:5581: checking for ${ncn_progname} in $with_build_time_tools" >&5
725 if test -x $with_build_time_tools/${ncn_progname}; then
726 ac_cv_prog_DLLTOOL_FOR_TARGET=$with_build_time_tools/${ncn_progname}
727 echo "$ac_t""yes" 1>&6
728 @@ -5589,7 +5594,7 @@
729 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
730 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
731 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
732 -echo "configure:5593: checking for $ac_word" >&5
733 +echo "configure:5598: checking for $ac_word" >&5
734 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
735 echo $ac_n "(cached) $ac_c" 1>&6
737 @@ -5620,7 +5625,7 @@
738 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
739 set dummy ${ncn_progname}; ac_word=$2
740 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
741 -echo "configure:5624: checking for $ac_word" >&5
742 +echo "configure:5629: checking for $ac_word" >&5
743 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL_FOR_TARGET'+set}'`\" = set"; then
744 echo $ac_n "(cached) $ac_c" 1>&6
746 @@ -5672,7 +5677,7 @@
747 if test -z "$ac_cv_path_LD_FOR_TARGET" ; then
748 if test -n "$with_build_time_tools"; then
749 echo $ac_n "checking for ld in $with_build_time_tools""... $ac_c" 1>&6
750 -echo "configure:5676: checking for ld in $with_build_time_tools" >&5
751 +echo "configure:5681: checking for ld in $with_build_time_tools" >&5
752 if test -x $with_build_time_tools/ld; then
753 LD_FOR_TARGET=`cd $with_build_time_tools && pwd`/ld
754 ac_cv_path_LD_FOR_TARGET=$LD_FOR_TARGET
755 @@ -5690,7 +5695,7 @@
756 # Extract the first word of "ld", so it can be a program name with args.
757 set dummy ld; ac_word=$2
758 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
759 -echo "configure:5694: checking for $ac_word" >&5
760 +echo "configure:5699: checking for $ac_word" >&5
761 if eval "test \"`echo '$''{'ac_cv_path_LD_FOR_TARGET'+set}'`\" = set"; then
762 echo $ac_n "(cached) $ac_c" 1>&6
764 @@ -5727,7 +5732,7 @@
765 if test -n "$with_build_time_tools"; then
766 for ncn_progname in ld; do
767 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
768 -echo "configure:5731: checking for ${ncn_progname} in $with_build_time_tools" >&5
769 +echo "configure:5736: checking for ${ncn_progname} in $with_build_time_tools" >&5
770 if test -x $with_build_time_tools/${ncn_progname}; then
771 ac_cv_prog_LD_FOR_TARGET=$with_build_time_tools/${ncn_progname}
772 echo "$ac_t""yes" 1>&6
773 @@ -5744,7 +5749,7 @@
774 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
775 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
776 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
777 -echo "configure:5748: checking for $ac_word" >&5
778 +echo "configure:5753: checking for $ac_word" >&5
779 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
780 echo $ac_n "(cached) $ac_c" 1>&6
782 @@ -5775,7 +5780,7 @@
783 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
784 set dummy ${ncn_progname}; ac_word=$2
785 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
786 -echo "configure:5779: checking for $ac_word" >&5
787 +echo "configure:5784: checking for $ac_word" >&5
788 if eval "test \"`echo '$''{'ac_cv_prog_LD_FOR_TARGET'+set}'`\" = set"; then
789 echo $ac_n "(cached) $ac_c" 1>&6
791 @@ -5827,7 +5832,7 @@
792 if test -z "$ac_cv_path_LIPO_FOR_TARGET" ; then
793 if test -n "$with_build_time_tools"; then
794 echo $ac_n "checking for lipo in $with_build_time_tools""... $ac_c" 1>&6
795 -echo "configure:5831: checking for lipo in $with_build_time_tools" >&5
796 +echo "configure:5836: checking for lipo in $with_build_time_tools" >&5
797 if test -x $with_build_time_tools/lipo; then
798 LIPO_FOR_TARGET=`cd $with_build_time_tools && pwd`/lipo
799 ac_cv_path_LIPO_FOR_TARGET=$LIPO_FOR_TARGET
800 @@ -5845,7 +5850,7 @@
801 # Extract the first word of "lipo", so it can be a program name with args.
802 set dummy lipo; ac_word=$2
803 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
804 -echo "configure:5849: checking for $ac_word" >&5
805 +echo "configure:5854: checking for $ac_word" >&5
806 if eval "test \"`echo '$''{'ac_cv_path_LIPO_FOR_TARGET'+set}'`\" = set"; then
807 echo $ac_n "(cached) $ac_c" 1>&6
809 @@ -5882,7 +5887,7 @@
810 if test -n "$with_build_time_tools"; then
811 for ncn_progname in lipo; do
812 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
813 -echo "configure:5886: checking for ${ncn_progname} in $with_build_time_tools" >&5
814 +echo "configure:5891: checking for ${ncn_progname} in $with_build_time_tools" >&5
815 if test -x $with_build_time_tools/${ncn_progname}; then
816 ac_cv_prog_LIPO_FOR_TARGET=$with_build_time_tools/${ncn_progname}
817 echo "$ac_t""yes" 1>&6
818 @@ -5899,7 +5904,7 @@
819 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
820 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
821 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
822 -echo "configure:5903: checking for $ac_word" >&5
823 +echo "configure:5908: checking for $ac_word" >&5
824 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
825 echo $ac_n "(cached) $ac_c" 1>&6
827 @@ -5930,7 +5935,7 @@
828 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
829 set dummy ${ncn_progname}; ac_word=$2
830 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
831 -echo "configure:5934: checking for $ac_word" >&5
832 +echo "configure:5939: checking for $ac_word" >&5
833 if eval "test \"`echo '$''{'ac_cv_prog_LIPO_FOR_TARGET'+set}'`\" = set"; then
834 echo $ac_n "(cached) $ac_c" 1>&6
836 @@ -5982,7 +5987,7 @@
837 if test -z "$ac_cv_path_NM_FOR_TARGET" ; then
838 if test -n "$with_build_time_tools"; then
839 echo $ac_n "checking for nm in $with_build_time_tools""... $ac_c" 1>&6
840 -echo "configure:5986: checking for nm in $with_build_time_tools" >&5
841 +echo "configure:5991: checking for nm in $with_build_time_tools" >&5
842 if test -x $with_build_time_tools/nm; then
843 NM_FOR_TARGET=`cd $with_build_time_tools && pwd`/nm
844 ac_cv_path_NM_FOR_TARGET=$NM_FOR_TARGET
845 @@ -6000,7 +6005,7 @@
846 # Extract the first word of "nm", so it can be a program name with args.
847 set dummy nm; ac_word=$2
848 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
849 -echo "configure:6004: checking for $ac_word" >&5
850 +echo "configure:6009: checking for $ac_word" >&5
851 if eval "test \"`echo '$''{'ac_cv_path_NM_FOR_TARGET'+set}'`\" = set"; then
852 echo $ac_n "(cached) $ac_c" 1>&6
854 @@ -6037,7 +6042,7 @@
855 if test -n "$with_build_time_tools"; then
856 for ncn_progname in nm; do
857 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
858 -echo "configure:6041: checking for ${ncn_progname} in $with_build_time_tools" >&5
859 +echo "configure:6046: checking for ${ncn_progname} in $with_build_time_tools" >&5
860 if test -x $with_build_time_tools/${ncn_progname}; then
861 ac_cv_prog_NM_FOR_TARGET=$with_build_time_tools/${ncn_progname}
862 echo "$ac_t""yes" 1>&6
863 @@ -6054,7 +6059,7 @@
864 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
865 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
866 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
867 -echo "configure:6058: checking for $ac_word" >&5
868 +echo "configure:6063: checking for $ac_word" >&5
869 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
870 echo $ac_n "(cached) $ac_c" 1>&6
872 @@ -6085,7 +6090,7 @@
873 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
874 set dummy ${ncn_progname}; ac_word=$2
875 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
876 -echo "configure:6089: checking for $ac_word" >&5
877 +echo "configure:6094: checking for $ac_word" >&5
878 if eval "test \"`echo '$''{'ac_cv_prog_NM_FOR_TARGET'+set}'`\" = set"; then
879 echo $ac_n "(cached) $ac_c" 1>&6
881 @@ -6137,7 +6142,7 @@
882 if test -z "$ac_cv_path_OBJDUMP_FOR_TARGET" ; then
883 if test -n "$with_build_time_tools"; then
884 echo $ac_n "checking for objdump in $with_build_time_tools""... $ac_c" 1>&6
885 -echo "configure:6141: checking for objdump in $with_build_time_tools" >&5
886 +echo "configure:6146: checking for objdump in $with_build_time_tools" >&5
887 if test -x $with_build_time_tools/objdump; then
888 OBJDUMP_FOR_TARGET=`cd $with_build_time_tools && pwd`/objdump
889 ac_cv_path_OBJDUMP_FOR_TARGET=$OBJDUMP_FOR_TARGET
890 @@ -6155,7 +6160,7 @@
891 # Extract the first word of "objdump", so it can be a program name with args.
892 set dummy objdump; ac_word=$2
893 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
894 -echo "configure:6159: checking for $ac_word" >&5
895 +echo "configure:6164: checking for $ac_word" >&5
896 if eval "test \"`echo '$''{'ac_cv_path_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
897 echo $ac_n "(cached) $ac_c" 1>&6
899 @@ -6192,7 +6197,7 @@
900 if test -n "$with_build_time_tools"; then
901 for ncn_progname in objdump; do
902 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
903 -echo "configure:6196: checking for ${ncn_progname} in $with_build_time_tools" >&5
904 +echo "configure:6201: checking for ${ncn_progname} in $with_build_time_tools" >&5
905 if test -x $with_build_time_tools/${ncn_progname}; then
906 ac_cv_prog_OBJDUMP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
907 echo "$ac_t""yes" 1>&6
908 @@ -6209,7 +6214,7 @@
909 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
910 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
911 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
912 -echo "configure:6213: checking for $ac_word" >&5
913 +echo "configure:6218: checking for $ac_word" >&5
914 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
915 echo $ac_n "(cached) $ac_c" 1>&6
917 @@ -6240,7 +6245,7 @@
918 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
919 set dummy ${ncn_progname}; ac_word=$2
920 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
921 -echo "configure:6244: checking for $ac_word" >&5
922 +echo "configure:6249: checking for $ac_word" >&5
923 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP_FOR_TARGET'+set}'`\" = set"; then
924 echo $ac_n "(cached) $ac_c" 1>&6
926 @@ -6292,7 +6297,7 @@
927 if test -z "$ac_cv_path_RANLIB_FOR_TARGET" ; then
928 if test -n "$with_build_time_tools"; then
929 echo $ac_n "checking for ranlib in $with_build_time_tools""... $ac_c" 1>&6
930 -echo "configure:6296: checking for ranlib in $with_build_time_tools" >&5
931 +echo "configure:6301: checking for ranlib in $with_build_time_tools" >&5
932 if test -x $with_build_time_tools/ranlib; then
933 RANLIB_FOR_TARGET=`cd $with_build_time_tools && pwd`/ranlib
934 ac_cv_path_RANLIB_FOR_TARGET=$RANLIB_FOR_TARGET
935 @@ -6310,7 +6315,7 @@
936 # Extract the first word of "ranlib", so it can be a program name with args.
937 set dummy ranlib; ac_word=$2
938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
939 -echo "configure:6314: checking for $ac_word" >&5
940 +echo "configure:6319: checking for $ac_word" >&5
941 if eval "test \"`echo '$''{'ac_cv_path_RANLIB_FOR_TARGET'+set}'`\" = set"; then
942 echo $ac_n "(cached) $ac_c" 1>&6
944 @@ -6347,7 +6352,7 @@
945 if test -n "$with_build_time_tools"; then
946 for ncn_progname in ranlib; do
947 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
948 -echo "configure:6351: checking for ${ncn_progname} in $with_build_time_tools" >&5
949 +echo "configure:6356: checking for ${ncn_progname} in $with_build_time_tools" >&5
950 if test -x $with_build_time_tools/${ncn_progname}; then
951 ac_cv_prog_RANLIB_FOR_TARGET=$with_build_time_tools/${ncn_progname}
952 echo "$ac_t""yes" 1>&6
953 @@ -6364,7 +6369,7 @@
954 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
955 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
956 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
957 -echo "configure:6368: checking for $ac_word" >&5
958 +echo "configure:6373: checking for $ac_word" >&5
959 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
960 echo $ac_n "(cached) $ac_c" 1>&6
962 @@ -6395,7 +6400,7 @@
963 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
964 set dummy ${ncn_progname}; ac_word=$2
965 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
966 -echo "configure:6399: checking for $ac_word" >&5
967 +echo "configure:6404: checking for $ac_word" >&5
968 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB_FOR_TARGET'+set}'`\" = set"; then
969 echo $ac_n "(cached) $ac_c" 1>&6
971 @@ -6447,7 +6452,7 @@
972 if test -z "$ac_cv_path_STRIP_FOR_TARGET" ; then
973 if test -n "$with_build_time_tools"; then
974 echo $ac_n "checking for strip in $with_build_time_tools""... $ac_c" 1>&6
975 -echo "configure:6451: checking for strip in $with_build_time_tools" >&5
976 +echo "configure:6456: checking for strip in $with_build_time_tools" >&5
977 if test -x $with_build_time_tools/strip; then
978 STRIP_FOR_TARGET=`cd $with_build_time_tools && pwd`/strip
979 ac_cv_path_STRIP_FOR_TARGET=$STRIP_FOR_TARGET
980 @@ -6465,7 +6470,7 @@
981 # Extract the first word of "strip", so it can be a program name with args.
982 set dummy strip; ac_word=$2
983 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
984 -echo "configure:6469: checking for $ac_word" >&5
985 +echo "configure:6474: checking for $ac_word" >&5
986 if eval "test \"`echo '$''{'ac_cv_path_STRIP_FOR_TARGET'+set}'`\" = set"; then
987 echo $ac_n "(cached) $ac_c" 1>&6
989 @@ -6502,7 +6507,7 @@
990 if test -n "$with_build_time_tools"; then
991 for ncn_progname in strip; do
992 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
993 -echo "configure:6506: checking for ${ncn_progname} in $with_build_time_tools" >&5
994 +echo "configure:6511: checking for ${ncn_progname} in $with_build_time_tools" >&5
995 if test -x $with_build_time_tools/${ncn_progname}; then
996 ac_cv_prog_STRIP_FOR_TARGET=$with_build_time_tools/${ncn_progname}
997 echo "$ac_t""yes" 1>&6
998 @@ -6519,7 +6524,7 @@
999 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
1000 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
1001 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1002 -echo "configure:6523: checking for $ac_word" >&5
1003 +echo "configure:6528: checking for $ac_word" >&5
1004 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
1005 echo $ac_n "(cached) $ac_c" 1>&6
1007 @@ -6550,7 +6555,7 @@
1008 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
1009 set dummy ${ncn_progname}; ac_word=$2
1010 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1011 -echo "configure:6554: checking for $ac_word" >&5
1012 +echo "configure:6559: checking for $ac_word" >&5
1013 if eval "test \"`echo '$''{'ac_cv_prog_STRIP_FOR_TARGET'+set}'`\" = set"; then
1014 echo $ac_n "(cached) $ac_c" 1>&6
1016 @@ -6602,7 +6607,7 @@
1017 if test -z "$ac_cv_path_WINDRES_FOR_TARGET" ; then
1018 if test -n "$with_build_time_tools"; then
1019 echo $ac_n "checking for windres in $with_build_time_tools""... $ac_c" 1>&6
1020 -echo "configure:6606: checking for windres in $with_build_time_tools" >&5
1021 +echo "configure:6611: checking for windres in $with_build_time_tools" >&5
1022 if test -x $with_build_time_tools/windres; then
1023 WINDRES_FOR_TARGET=`cd $with_build_time_tools && pwd`/windres
1024 ac_cv_path_WINDRES_FOR_TARGET=$WINDRES_FOR_TARGET
1025 @@ -6620,7 +6625,7 @@
1026 # Extract the first word of "windres", so it can be a program name with args.
1027 set dummy windres; ac_word=$2
1028 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1029 -echo "configure:6624: checking for $ac_word" >&5
1030 +echo "configure:6629: checking for $ac_word" >&5
1031 if eval "test \"`echo '$''{'ac_cv_path_WINDRES_FOR_TARGET'+set}'`\" = set"; then
1032 echo $ac_n "(cached) $ac_c" 1>&6
1034 @@ -6657,7 +6662,7 @@
1035 if test -n "$with_build_time_tools"; then
1036 for ncn_progname in windres; do
1037 echo $ac_n "checking for ${ncn_progname} in $with_build_time_tools""... $ac_c" 1>&6
1038 -echo "configure:6661: checking for ${ncn_progname} in $with_build_time_tools" >&5
1039 +echo "configure:6666: checking for ${ncn_progname} in $with_build_time_tools" >&5
1040 if test -x $with_build_time_tools/${ncn_progname}; then
1041 ac_cv_prog_WINDRES_FOR_TARGET=$with_build_time_tools/${ncn_progname}
1042 echo "$ac_t""yes" 1>&6
1043 @@ -6674,7 +6679,7 @@
1044 # Extract the first word of "${ncn_target_tool_prefix}${ncn_progname}", so it can be a program name with args.
1045 set dummy ${ncn_target_tool_prefix}${ncn_progname}; ac_word=$2
1046 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1047 -echo "configure:6678: checking for $ac_word" >&5
1048 +echo "configure:6683: checking for $ac_word" >&5
1049 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
1050 echo $ac_n "(cached) $ac_c" 1>&6
1052 @@ -6705,7 +6710,7 @@
1053 # Extract the first word of "${ncn_progname}", so it can be a program name with args.
1054 set dummy ${ncn_progname}; ac_word=$2
1055 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1056 -echo "configure:6709: checking for $ac_word" >&5
1057 +echo "configure:6714: checking for $ac_word" >&5
1058 if eval "test \"`echo '$''{'ac_cv_prog_WINDRES_FOR_TARGET'+set}'`\" = set"; then
1059 echo $ac_n "(cached) $ac_c" 1>&6
1061 @@ -6755,7 +6760,7 @@
1062 RAW_CXX_FOR_TARGET="$CXX_FOR_TARGET"
1064 echo $ac_n "checking where to find the target ar""... $ac_c" 1>&6
1065 -echo "configure:6759: checking where to find the target ar" >&5
1066 +echo "configure:6764: checking where to find the target ar" >&5
1067 if test "x${build}" != "x${host}" ; then
1068 if expr "x$AR_FOR_TARGET" : "x/" > /dev/null; then
1069 # We already found the complete path
1070 @@ -6788,7 +6793,7 @@
1073 echo $ac_n "checking where to find the target as""... $ac_c" 1>&6
1074 -echo "configure:6792: checking where to find the target as" >&5
1075 +echo "configure:6797: checking where to find the target as" >&5
1076 if test "x${build}" != "x${host}" ; then
1077 if expr "x$AS_FOR_TARGET" : "x/" > /dev/null; then
1078 # We already found the complete path
1079 @@ -6821,7 +6826,7 @@
1082 echo $ac_n "checking where to find the target cc""... $ac_c" 1>&6
1083 -echo "configure:6825: checking where to find the target cc" >&5
1084 +echo "configure:6830: checking where to find the target cc" >&5
1085 if test "x${build}" != "x${host}" ; then
1086 if expr "x$CC_FOR_TARGET" : "x/" > /dev/null; then
1087 # We already found the complete path
1088 @@ -6854,7 +6859,7 @@
1091 echo $ac_n "checking where to find the target c++""... $ac_c" 1>&6
1092 -echo "configure:6858: checking where to find the target c++" >&5
1093 +echo "configure:6863: checking where to find the target c++" >&5
1094 if test "x${build}" != "x${host}" ; then
1095 if expr "x$CXX_FOR_TARGET" : "x/" > /dev/null; then
1096 # We already found the complete path
1097 @@ -6890,7 +6895,7 @@
1100 echo $ac_n "checking where to find the target c++ for libstdc++""... $ac_c" 1>&6
1101 -echo "configure:6894: checking where to find the target c++ for libstdc++" >&5
1102 +echo "configure:6899: checking where to find the target c++ for libstdc++" >&5
1103 if test "x${build}" != "x${host}" ; then
1104 if expr "x$RAW_CXX_FOR_TARGET" : "x/" > /dev/null; then
1105 # We already found the complete path
1106 @@ -6926,7 +6931,7 @@
1109 echo $ac_n "checking where to find the target dlltool""... $ac_c" 1>&6
1110 -echo "configure:6930: checking where to find the target dlltool" >&5
1111 +echo "configure:6935: checking where to find the target dlltool" >&5
1112 if test "x${build}" != "x${host}" ; then
1113 if expr "x$DLLTOOL_FOR_TARGET" : "x/" > /dev/null; then
1114 # We already found the complete path
1115 @@ -6959,7 +6964,7 @@
1118 echo $ac_n "checking where to find the target gcc""... $ac_c" 1>&6
1119 -echo "configure:6963: checking where to find the target gcc" >&5
1120 +echo "configure:6968: checking where to find the target gcc" >&5
1121 if test "x${build}" != "x${host}" ; then
1122 if expr "x$GCC_FOR_TARGET" : "x/" > /dev/null; then
1123 # We already found the complete path
1124 @@ -6992,7 +6997,7 @@
1127 echo $ac_n "checking where to find the target gcj""... $ac_c" 1>&6
1128 -echo "configure:6996: checking where to find the target gcj" >&5
1129 +echo "configure:7001: checking where to find the target gcj" >&5
1130 if test "x${build}" != "x${host}" ; then
1131 if expr "x$GCJ_FOR_TARGET" : "x/" > /dev/null; then
1132 # We already found the complete path
1133 @@ -7028,7 +7033,7 @@
1136 echo $ac_n "checking where to find the target gfortran""... $ac_c" 1>&6
1137 -echo "configure:7032: checking where to find the target gfortran" >&5
1138 +echo "configure:7037: checking where to find the target gfortran" >&5
1139 if test "x${build}" != "x${host}" ; then
1140 if expr "x$GFORTRAN_FOR_TARGET" : "x/" > /dev/null; then
1141 # We already found the complete path
1142 @@ -7064,7 +7069,7 @@
1145 echo $ac_n "checking where to find the target ld""... $ac_c" 1>&6
1146 -echo "configure:7068: checking where to find the target ld" >&5
1147 +echo "configure:7073: checking where to find the target ld" >&5
1148 if test "x${build}" != "x${host}" ; then
1149 if expr "x$LD_FOR_TARGET" : "x/" > /dev/null; then
1150 # We already found the complete path
1151 @@ -7097,7 +7102,7 @@
1154 echo $ac_n "checking where to find the target lipo""... $ac_c" 1>&6
1155 -echo "configure:7101: checking where to find the target lipo" >&5
1156 +echo "configure:7106: checking where to find the target lipo" >&5
1157 if test "x${build}" != "x${host}" ; then
1158 if expr "x$LIPO_FOR_TARGET" : "x/" > /dev/null; then
1159 # We already found the complete path
1160 @@ -7120,7 +7125,7 @@
1163 echo $ac_n "checking where to find the target nm""... $ac_c" 1>&6
1164 -echo "configure:7124: checking where to find the target nm" >&5
1165 +echo "configure:7129: checking where to find the target nm" >&5
1166 if test "x${build}" != "x${host}" ; then
1167 if expr "x$NM_FOR_TARGET" : "x/" > /dev/null; then
1168 # We already found the complete path
1169 @@ -7153,7 +7158,7 @@
1172 echo $ac_n "checking where to find the target objdump""... $ac_c" 1>&6
1173 -echo "configure:7157: checking where to find the target objdump" >&5
1174 +echo "configure:7162: checking where to find the target objdump" >&5
1175 if test "x${build}" != "x${host}" ; then
1176 if expr "x$OBJDUMP_FOR_TARGET" : "x/" > /dev/null; then
1177 # We already found the complete path
1178 @@ -7186,7 +7191,7 @@
1181 echo $ac_n "checking where to find the target ranlib""... $ac_c" 1>&6
1182 -echo "configure:7190: checking where to find the target ranlib" >&5
1183 +echo "configure:7195: checking where to find the target ranlib" >&5
1184 if test "x${build}" != "x${host}" ; then
1185 if expr "x$RANLIB_FOR_TARGET" : "x/" > /dev/null; then
1186 # We already found the complete path
1187 @@ -7219,7 +7224,7 @@
1190 echo $ac_n "checking where to find the target strip""... $ac_c" 1>&6
1191 -echo "configure:7223: checking where to find the target strip" >&5
1192 +echo "configure:7228: checking where to find the target strip" >&5
1193 if test "x${build}" != "x${host}" ; then
1194 if expr "x$STRIP_FOR_TARGET" : "x/" > /dev/null; then
1195 # We already found the complete path
1196 @@ -7252,7 +7257,7 @@
1199 echo $ac_n "checking where to find the target windres""... $ac_c" 1>&6
1200 -echo "configure:7256: checking where to find the target windres" >&5
1201 +echo "configure:7261: checking where to find the target windres" >&5
1202 if test "x${build}" != "x${host}" ; then
1203 if expr "x$WINDRES_FOR_TARGET" : "x/" > /dev/null; then
1204 # We already found the complete path
1205 @@ -7313,7 +7318,7 @@
1208 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1209 -echo "configure:7317: checking whether to enable maintainer-specific portions of Makefiles" >&5
1210 +echo "configure:7322: checking whether to enable maintainer-specific portions of Makefiles" >&5
1211 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1212 if test "${enable_maintainer_mode+set}" = set; then
1213 enableval="$enable_maintainer_mode"
1214 @@ -7362,9 +7367,9 @@
1215 # Pass -fkeep-inline-functions for stage 1 if the GCC version supports it.
1216 CFLAGS="$CFLAGS -fkeep-inline-functions"
1217 echo $ac_n "checking whether -fkeep-inline-functions is supported""... $ac_c" 1>&6
1218 -echo "configure:7366: checking whether -fkeep-inline-functions is supported" >&5
1219 +echo "configure:7371: checking whether -fkeep-inline-functions is supported" >&5
1220 cat > conftest.$ac_ext <<EOF
1221 -#line 7368 "configure"
1222 +#line 7373 "configure"
1223 #include "confdefs.h"
1225 #if (__GNUC__ < 3) \
1226 @@ -7377,7 +7382,7 @@
1230 -if { (eval echo configure:7381: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1231 +if { (eval echo configure:7386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1233 echo "$ac_t""yes" 1>&6; stage1_cflags="$stage1_cflags -fkeep-inline-functions"
1235 diff -ruN gcc-4.2.4/configure.in gcc-4.2.4.aros/configure.in
1236 --- gcc-4.2.4/configure.in 2007-09-15 02:42:24.000000000 +0200
1237 +++ gcc-4.2.4.aros/configure.in 2011-04-11 22:46:42.763937000 +0200
1240 noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl gnuserv"
1243 + noconfigdirs="$noconfigdirs patch diff make tk tcl expect dejagnu autoconf automake texinfo bison send-pr gprof rcs guile perl itcl tix gnuserv gdb"
1246 noconfigdirs="$noconfigdirs tk itcl libgui gdb dejagnu readline"
1249 # Build the stage2 and stage3 compilers with -fomit-frame-pointer.
1250 host_makefile_frag="config/mh-x86omitfp"
1257 diff -ruN gcc-4.2.4/fixincludes/configure gcc-4.2.4.aros/fixincludes/configure
1258 --- gcc-4.2.4/fixincludes/configure 2006-05-17 02:31:31.000000000 +0200
1259 +++ gcc-4.2.4.aros/fixincludes/configure 2011-04-11 22:46:42.763937000 +0200
1260 @@ -2561,6 +2561,7 @@
1265 i?86-*-msdosdjgpp* | \
1268 diff -ruN gcc-4.2.4/fixincludes/configure.ac gcc-4.2.4.aros/fixincludes/configure.ac
1269 --- gcc-4.2.4/fixincludes/configure.ac 2006-05-17 02:31:31.000000000 +0200
1270 +++ gcc-4.2.4.aros/fixincludes/configure.ac 2011-04-11 22:46:42.763937000 +0200
1276 i?86-*-msdosdjgpp* | \
1279 diff -ruN gcc-4.2.4/gcc/c-incpath.c gcc-4.2.4.aros/gcc/c-incpath.c
1280 --- gcc-4.2.4/gcc/c-incpath.c 2007-09-01 17:28:30.000000000 +0200
1281 +++ gcc-4.2.4.aros/gcc/c-incpath.c 2011-04-11 22:46:42.763937000 +0200
1283 # define INO_T_EQ(A, B) (!memcmp (&(A), &(B), sizeof (A)))
1284 # define INO_T_COPY(DEST, SRC) memcpy(&(DEST), &(SRC), sizeof (SRC))
1286 -# if (defined _WIN32 && !defined (_UWIN)) || defined __MSDOS__
1287 +# if (defined _WIN32 && !defined (_UWIN)) || defined __MSDOS__ || defined __AROS__
1288 # define INO_T_EQ(A, B) 0
1290 # define INO_T_EQ(A, B) ((A) == (B))
1291 diff -ruN gcc-4.2.4/gcc/config/aros.h gcc-4.2.4.aros/gcc/config/aros.h
1292 --- gcc-4.2.4/gcc/config/aros.h 1970-01-01 01:00:00.000000000 +0100
1293 +++ gcc-4.2.4.aros/gcc/config/aros.h 2011-04-11 22:46:42.763937000 +0200
1295 +/* Definitions for AROS
1296 + Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
1297 + Contributed by Fabio Alemagna
1298 + Based upon linux.h, contributed by Eric Youngdale.
1300 +This file is part of GNU CC.
1302 +GNU CC is free software; you can redistribute it and/or modify
1303 +it under the terms of the GNU General Public License as published by
1304 +the Free Software Foundation; either version 2, or (at your option)
1307 +GNU CC is distributed in the hope that it will be useful,
1308 +but WITHOUT ANY WARRANTY; without even the implied warranty of
1309 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1310 +GNU General Public License for more details.
1312 +You should have received a copy of the GNU General Public License
1313 +along with GNU CC; see the file COPYING. If not, write to
1314 +the Free Software Foundation, 59 Temple Place - Suite 330,
1315 +Boston, MA 02111-1307, USA. */
1317 +/* Don't assume anything about the header files. */
1318 +#define NO_IMPLICIT_EXTERN_C
1320 +/* AROS uses ctype from libc.a. I am not sure how complete it is.
1321 + For now, we play safe. It may change later. */
1324 +#undef MULTIBYTE_CHARS
1325 +#define MULTIBYTE_CHARS 1
1328 +#undef TARGET_OS_CPP_BUILTINS
1329 +#define TARGET_OS_CPP_BUILTINS() \
1332 + builtin_define_std ("unix"); \
1333 + builtin_define_std ("AROS"); \
1334 + builtin_define ("__ELF__"); \
1335 + builtin_assert ("system=posix"); \
1340 +#define ASM_APP_ON "#APP\n"
1343 +#define ASM_APP_OFF "#NO_APP\n"
1345 +#undef MD_EXEC_PREFIX
1346 +#undef MD_STARTFILE_PREFIX
1348 +/* Provide a STARTFILE_SPEC appropriate for AROS. AROS has its own
1349 + set of startup files which also take care of handling C++
1350 + constructors/destructors. */
1352 +#undef STARTFILE_SPEC
1353 +#define STARTFILE_SPEC \
1354 + "%{detach:%R/lib/detach.o%s} %R/lib/startup.o%s %{nix:%R/lib/nixmain.o%s}"
1356 +/* Provide a ENDFILE_SPEC appropriate for AROS. */
1358 +#undef ENDFILE_SPEC
1359 +#define ENDFILE_SPEC \
1363 +#define CPP_SPEC "%{nix:-D__NIX__}"
1365 +/* This is for -profile to use -lc_p instead of -lc. */
1367 +#define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
1369 +/* The GNU C++ standard library requires that these macros be defined. */
1370 +#undef CPLUSPLUS_CPP_SPEC
1371 +#define CPLUSPLUS_CPP_SPEC "-D_GNU_SOURCE %(cpp)"
1375 + "-lamiga %{!noarosc:-larosc} -larossupport -lm"
1377 +#undef STANDARD_INCLUDE_DIR
1378 +#define STANDARD_INCLUDE_DIR "/include"
1380 +#undef LOCAL_INCLUDE_DIR
1381 +#define LOCAL_INCLUDE_DIR "/local/include"
1383 +#if !defined(USE_GNULIBC_1) && defined(HAVE_LD_EH_FRAME_HDR)
1384 +#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
1387 +/* AROS uses its own collect-like program for the moment. */
1389 +#define LINKER_NAME "collect-aros"
1391 +/* Define this so we can compile MS code for use with WINE. */
1392 +#undef HANDLE_PRAGMA_PACK_PUSH_POP
1393 +#define HANDLE_PRAGMA_PACK_PUSH_POP
1395 +#define TARGET_HAS_F_SETLKW
1396 diff -ruN gcc-4.2.4/gcc/config/i386/aros64.h gcc-4.2.4.aros/gcc/config/i386/aros64.h
1397 --- gcc-4.2.4/gcc/config/i386/aros64.h 1970-01-01 01:00:00.000000000 +0100
1398 +++ gcc-4.2.4.aros/gcc/config/i386/aros64.h 2011-04-11 22:46:42.763937000 +0200
1400 +/* Definitions for AMD x86_64 running AROS systems with ELF64 format.
1401 + Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
1402 + Free Software Foundation, Inc.
1403 + Contributed by Stanislaw Szymczyk <sszymczy@gmail.com>. Based on aros.h.
1405 +This file is part of GNU CC.
1407 +GNU CC is free software; you can redistribute it and/or modify
1408 +it under the terms of the GNU General Public License as published by
1409 +the Free Software Foundation; either version 2, or (at your option)
1412 +GNU CC is distributed in the hope that it will be useful,
1413 +but WITHOUT ANY WARRANTY; without even the implied warranty of
1414 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1415 +GNU General Public License for more details.
1417 +You should have received a copy of the GNU General Public License
1418 +along with GNU CC; see the file COPYING. If not, write to
1419 +the Free Software Foundation, 59 Temple Place - Suite 330,
1420 +Boston, MA 02111-1307, USA. */
1422 +/* Output at beginning of assembler file. */
1423 +/* The .file command should always begin the output. */
1425 +#define TARGET_VERSION fprintf (stderr, " (x86_64 AROS/ELF)");
1428 +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
1430 +/* The svr4 ABI for the i386 says that records and unions are returned
1431 + in memory. In the 64bit compilation we will turn this flag off in
1432 + override_options, as we never do pcc_struct_return scheme on this target. */
1433 +#undef DEFAULT_PCC_STRUCT_RETURN
1434 +#define DEFAULT_PCC_STRUCT_RETURN 1
1436 +/* Provide a LINK_SPEC appropriate for AROS. */
1439 +#define LINK_SPEC "%{!m32:-m elf_x86_64} %{m32:-m elf_i386}"
1441 +/* FIXME: AROS doesn't support dw2 unwinding yet. */
1442 +#undef MD_FALLBACK_FRAME_STATE_FOR
1443 diff -ruN gcc-4.2.4/gcc/config/i386/aros.h gcc-4.2.4.aros/gcc/config/i386/aros.h
1444 --- gcc-4.2.4/gcc/config/i386/aros.h 1970-01-01 01:00:00.000000000 +0100
1445 +++ gcc-4.2.4.aros/gcc/config/i386/aros.h 2011-04-11 22:46:42.763937000 +0200
1447 +/* Definitions for Intel 386 running AROS systems with ELF format.
1448 + Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
1449 + Free Software Foundation, Inc.
1450 + Contributed by Fabio Alemagna.
1451 + Based upon i386/linux.h by Eric Youngdale.
1453 +This file is part of GNU CC.
1455 +GNU CC is free software; you can redistribute it and/or modify
1456 +it under the terms of the GNU General Public License as published by
1457 +the Free Software Foundation; either version 2, or (at your option)
1460 +GNU CC is distributed in the hope that it will be useful,
1461 +but WITHOUT ANY WARRANTY; without even the implied warranty of
1462 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1463 +GNU General Public License for more details.
1465 +You should have received a copy of the GNU General Public License
1466 +along with GNU CC; see the file COPYING. If not, write to
1467 +the Free Software Foundation, 59 Temple Place - Suite 330,
1468 +Boston, MA 02111-1307, USA. */
1470 +/* Output at beginning of assembler file. */
1471 +/* The .file command should always begin the output. */
1472 +#undef TARGET_ASM_FILE_START_FILE_DIRECTIVE
1473 +#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true
1475 +#define TARGET_VERSION fprintf (stderr, " (i386 AROS/ELF)");
1477 +/* The svr4 ABI for the i386 says that records and unions are returned
1479 +#undef DEFAULT_PCC_STRUCT_RETURN
1480 +#define DEFAULT_PCC_STRUCT_RETURN 1
1482 +#undef ASM_COMMENT_START
1483 +#define ASM_COMMENT_START "#"
1485 +#undef DBX_REGISTER_NUMBER
1486 +#define DBX_REGISTER_NUMBER(n) \
1487 + (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
1489 +/* Output assembler code to FILE to call the profiler.
1490 + To the best of my knowledge, no Linux libc has required the label
1491 + argument to mcount. */
1493 +#define NO_PROFILE_COUNTERS 1
1496 +#define MCOUNT_NAME "mcount"
1498 +/* The GLIBC version of mcount for the x86 assumes that there is a
1499 + frame, so we cannot allow profiling without a frame pointer. */
1501 +#undef SUBTARGET_FRAME_POINTER_REQUIRED
1502 +#define SUBTARGET_FRAME_POINTER_REQUIRED current_function_profile
1505 +#define SIZE_TYPE "unsigned int"
1507 +#undef PTRDIFF_TYPE
1508 +#define PTRDIFF_TYPE "int"
1511 +#define WCHAR_TYPE "long int"
1513 +#undef WCHAR_TYPE_SIZE
1514 +#define WCHAR_TYPE_SIZE BITS_PER_WORD
1516 +/* Provide a LINK_SPEC appropriate for AROS. */
1519 +#define LINK_SPEC "-m elf_i386 -L %R/lib"
1521 +/* A C statement (sans semicolon) to output to the stdio stream
1522 + FILE the assembler definition of uninitialized global DECL named
1523 + NAME whose size is SIZE bytes and alignment is ALIGN bytes.
1524 + Try to use asm_output_aligned_bss to implement this macro. */
1526 +#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
1527 + asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
1529 +/* A C statement to output to the stdio stream FILE an assembler
1530 + command to advance the location counter to a multiple of 1<<LOG
1531 + bytes if it is within MAX_SKIP bytes.
1533 + This is used to align code labels according to Intel recommendations. */
1535 +#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
1536 +#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \
1538 + if ((LOG) != 0) { \
1539 + if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
1540 + else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
1545 +/* Handle special EH pointer encodings. Absolute, pc-relative, and
1546 + indirect are handled automatically. */
1547 +#define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \
1549 + if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \
1551 + fputs (ASM_LONG, FILE); \
1552 + assemble_name (FILE, XSTR (ADDR, 0)); \
1553 + fputs (((ENCODING) & DW_EH_PE_indirect ? "@GOT" : "@GOTOFF"), FILE); \
1559 +/* FIXME: AROS doesn't support dw2 unwinding yet. */
1560 +#undef MD_FALLBACK_FRAME_STATE_FOR
1561 diff -ruN gcc-4.2.4/gcc/config/rs6000/aros.h gcc-4.2.4.aros/gcc/config/rs6000/aros.h
1562 --- gcc-4.2.4/gcc/config/rs6000/aros.h 1970-01-01 01:00:00.000000000 +0100
1563 +++ gcc-4.2.4.aros/gcc/config/rs6000/aros.h 2011-04-11 22:46:42.763937000 +0200
1565 +/* Definitions for Powerpc running AROS systems with ELF format.
1566 + Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002
1567 + Free Software Foundation, Inc.
1568 + Contributed by Markus Weiss.
1569 + Based upon i386/aros.h by Fabio Alemagna.
1571 +This file is part of GNU CC.
1573 +GNU CC is free software; you can redistribute it and/or modify
1574 +it under the terms of the GNU General Public License as published by
1575 +the Free Software Foundation; either version 2, or (at your option)
1578 +GNU CC is distributed in the hope that it will be useful,
1579 +but WITHOUT ANY WARRANTY; without even the implied warranty of
1580 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1581 +GNU General Public License for more details.
1583 +You should have received a copy of the GNU General Public License
1584 +along with GNU CC; see the file COPYING. If not, write to
1585 +the Free Software Foundation, 59 Temple Place - Suite 330,
1586 +Boston, MA 02111-1307, USA. */
1588 +/* Symbols missing in comparison to i386/aros.h are either
1589 + defined in elfos.h, rs6000/rs6000.h rs6000/sysv4.h
1590 + or not needed for PowerPC.
1593 +/* We need to define __powerpc__. */
1595 +#undef TARGET_OS_CPP_BUILTINS
1596 +#define TARGET_OS_CPP_BUILTINS() \
1599 + builtin_define_std ("unix"); \
1600 + builtin_define_std ("AROS"); \
1601 + builtin_define ("__powerpc__"); \
1602 + builtin_define ("__ELF__"); \
1603 + builtin_assert ("system=posix"); \
1606 + builtin_define ("__PIC__"); \
1607 + builtin_define ("__pic__"); \
1612 +/* This one taken from linux.h. */
1613 +/* We are 32-bit all the time, so optimize a little. */
1614 +#undef TARGET_64BIT
1615 +#define TARGET_64BIT 0
1617 +/* Output at beginning of assembler file. */
1618 +/* The .file command should always begin the output. */
1619 +/*#undef TARGET_ASM_FILE_START_FILE_DIRECTIVE
1620 +#define TARGET_ASM_FILE_START_FILE_DIRECTIVE true
1624 +#undef TARGET_VERSION
1625 +#define TARGET_VERSION fprintf (stderr, " (PowerPC AROS/ELF)");
1627 +/* The svr4 ABI for the i386 says that records and unions are returned
1629 +/*#undef DEFAULT_PCC_STRUCT_RETURN
1630 +#define DEFAULT_PCC_STRUCT_RETURN 1
1631 +see rs6000/rs6000.h
1635 +#undef ASM_COMMENT_START
1636 +#define ASM_COMMENT_START "#"
1637 +see rs6000/rs6000.h
1641 +#undef DBX_REGISTER_NUMBER
1642 +#define DBX_REGISTER_NUMBER(n) \
1643 + (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
1647 +/* Output assembler code to FILE to call the profiler.
1648 + To the best of my knowledge, no Linux libc has required the label
1649 + argument to mcount. */
1652 +#define NO_PROFILE_COUNTERS 1
1653 +not used by other similar ppc compilers
1654 +only in darwin.h rs6000/linux64.h rs6000/rs6000.c
1659 +#define MCOUNT_NAME "mcount"
1660 +see rs6000/sysv4.h RS6000_MCOUNT
1663 +/* The GLIBC version of mcount for the x86 assumes that there is a
1664 + frame, so we cannot allow profiling without a frame pointer. */
1666 +#undef SUBTARGET_FRAME_POINTER_REQUIRED
1667 +#define SUBTARGET_FRAME_POINTER_REQUIRED current_function_profile
1668 +seems to be handled by rs6000/rs6000.h
1672 +#define SIZE_TYPE "unsigned int"
1674 +#undef PTRDIFF_TYPE
1675 +#define PTRDIFF_TYPE "int"
1678 +#define WCHAR_TYPE "long int"
1680 +#undef WCHAR_TYPE_SIZE
1681 +#define WCHAR_TYPE_SIZE BITS_PER_WORD
1684 +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
1687 +#define CC1_SPEC "%(cc1_cpu) %{profile:-p}"
1689 +/* Provide a LINK_SPEC appropriate for AROS. */
1692 +#define LINK_SPEC "-m elf32ppc"
1694 +/* A C statement (sans semicolon) to output to the stdio stream
1695 + FILE the assembler definition of uninitialized global DECL named
1696 + NAME whose size is SIZE bytes and alignment is ALIGN bytes.
1697 + Try to use asm_output_aligned_bss to implement this macro. */
1699 +#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
1700 + asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
1704 +/* A C statement to output to the stdio stream FILE an assembler
1705 + command to advance the location counter to a multiple of 1<<LOG
1706 + bytes if it is within MAX_SKIP bytes.
1708 + This is used to align code labels according to Intel recommendations. */
1710 +#ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
1711 +#define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE,LOG,MAX_SKIP) \
1713 + if ((LOG) != 0) { \
1714 + if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG)); \
1715 + else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP)); \
1722 +/* Handle special EH pointer encodings. Absolute, pc-relative, and
1723 + indirect are handled automatically. */
1725 +#define ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX(FILE, ENCODING, SIZE, ADDR, DONE) \
1727 + if ((SIZE) == 4 && ((ENCODING) & 0x70) == DW_EH_PE_datarel) \
1729 + fputs (ASM_LONG, FILE); \
1730 + assemble_name (FILE, XSTR (ADDR, 0)); \
1731 + fputs (((ENCODING) & DW_EH_PE_indirect ? "@GOT" : "@GOTOFF"), FILE); \
1735 +not used for PowerPC
1738 +/* FIXME: AROS doesn't support dw2 unwinding yet. */
1739 +#undef MD_FALLBACK_FRAME_STATE_FOR
1740 diff -ruN gcc-4.2.4/gcc/config/rs6000/rs6000.c gcc-4.2.4.aros/gcc/config/rs6000/rs6000.c
1741 --- gcc-4.2.4/gcc/config/rs6000/rs6000.c 2007-09-01 17:28:30.000000000 +0200
1742 +++ gcc-4.2.4.aros/gcc/config/rs6000/rs6000.c 2011-04-11 22:46:42.763937000 +0200
1743 @@ -4434,6 +4434,9 @@
1744 && !lookup_attribute ("shortcall", TYPE_ATTRIBUTES (fntype))))
1745 cum->call_cookie |= CALL_LONG;
1747 + cum->stackparm = fntype && lookup_attribute("stackparm",
1748 + TYPE_ATTRIBUTES(fntype));
1750 if (TARGET_DEBUG_ARG)
1752 fprintf (stderr, "\ninit_cumulative_args:");
1753 @@ -5233,6 +5236,9 @@
1754 return GEN_INT (cum->call_cookie);
1757 + if (cum->stackparm)
1760 if (rs6000_darwin64_abi && mode == BLKmode
1761 && TREE_CODE (type) == RECORD_TYPE)
1763 @@ -5634,6 +5640,9 @@
1764 rtx save_area = NULL_RTX, mem;
1765 int first_reg_offset, set;
1767 + if (cum->stackparm)
1770 /* Skip the last named argument. */
1772 function_arg_advance (&next_cum, mode, type, 1, 0);
1773 @@ -17509,6 +17518,7 @@
1774 { "altivec", 1, 1, false, true, false, rs6000_handle_altivec_attribute },
1775 { "longcall", 0, 0, false, true, true, rs6000_handle_longcall_attribute },
1776 { "shortcall", 0, 0, false, true, true, rs6000_handle_longcall_attribute },
1777 + { "stackparm", 0, 0, false, true, true, rs6000_handle_longcall_attribute },
1778 { "ms_struct", 0, 0, false, false, false, rs6000_handle_struct_attribute },
1779 { "gcc_struct", 0, 0, false, false, false, rs6000_handle_struct_attribute },
1780 #ifdef SUBTARGET_ATTRIBUTE_TABLE
1781 diff -ruN gcc-4.2.4/gcc/config/rs6000/rs6000.h gcc-4.2.4.aros/gcc/config/rs6000/rs6000.h
1782 --- gcc-4.2.4/gcc/config/rs6000/rs6000.h 2007-09-01 17:28:30.000000000 +0200
1783 +++ gcc-4.2.4.aros/gcc/config/rs6000/rs6000.h 2011-04-11 22:46:42.763937000 +0200
1784 @@ -1369,6 +1369,7 @@
1785 int nargs_prototype; /* # args left in the current prototype */
1786 int prototype; /* Whether a prototype was defined */
1787 int stdarg; /* Whether function is a stdarg function. */
1788 + int stackparm; /* Whether function has all args on the stack */
1789 int call_cookie; /* Do special things for this call */
1790 int sysv_gregno; /* next available GP register */
1791 int intoffset; /* running offset in struct (darwin64) */
1792 diff -ruN gcc-4.2.4/gcc/config/t-aros gcc-4.2.4.aros/gcc/config/t-aros
1793 --- gcc-4.2.4/gcc/config/t-aros 1970-01-01 01:00:00.000000000 +0100
1794 +++ gcc-4.2.4.aros/gcc/config/t-aros 2011-04-11 22:46:42.763937000 +0200
1796 +# On AROS we assume that development files are installed in Development:
1797 +NATIVE_SYSTEM_HEADER_DIR = /include
1799 +# Don't add AROS target include path when compiling host compiler
1802 +# Allthough AROS does not have limits.h in SYSTEM_HEADER_DIR it has <limits.h>
1803 +# It is in aros/nixc which is normally added to system header search path
1804 +LIMITS_H_TEST = true
1805 diff -ruN gcc-4.2.4/gcc/config.gcc gcc-4.2.4.aros/gcc/config.gcc
1806 --- gcc-4.2.4/gcc/config.gcc 2008-03-13 20:11:43.000000000 +0100
1807 +++ gcc-4.2.4.aros/gcc/config.gcc 2011-04-11 22:46:42.763937000 +0200
1808 @@ -543,6 +543,15 @@
1813 + tmake_file="t-aros"
1816 + thread_file=single
1818 + xm_defines='STDC_HEADERS=1'
1822 tmake_file="t-libc-ok t-openbsd t-libgcc-pic"
1823 case ${enable_threads} in
1824 @@ -1112,6 +1121,12 @@
1826 tmake_file="${tmake_file} i386/t-linux64 i386/t-crtstuff i386/t-crtfm t-dfprules"
1828 +i[34567]86-*-aros*)
1829 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h aros.h i386/aros.h"
1832 + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h aros.h i386/x86-64.h i386/aros64.h"
1836 i[34567]86-pc-msdosdjgpp*)
1837 @@ -1803,6 +1818,11 @@
1838 extra_options="${extra_options} rs6000/sysv4.opt"
1839 tmake_file="rs6000/t-fprules rs6000/t-fprules-softfp soft-fp/t-softfp rs6000/t-ppcos ${tmake_file} rs6000/t-ppccomm"
1842 + tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h aros.h"
1843 + extra_options="${extra_options} rs6000/sysv4.opt"
1844 + tm_file="${tm_file} rs6000/aros.h"
1847 tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h rs6000/sysv4.h"
1848 extra_options="${extra_options} rs6000/sysv4.opt"
1849 diff -ruN gcc-4.2.4/gcc/config.host gcc-4.2.4.aros/gcc/config.host
1850 --- gcc-4.2.4/gcc/config.host 2007-09-01 17:28:30.000000000 +0200
1851 +++ gcc-4.2.4.aros/gcc/config.host 2011-04-11 22:46:42.763937000 +0200
1853 out_host_hook_obj=host-hpux.o
1854 host_xmake_file="${host_xmake_file} x-hpux"
1857 + host_can_use_collect2=no
1860 diff -ruN gcc-4.2.4/gcc/gcc.c gcc-4.2.4.aros/gcc/gcc.c
1861 --- gcc-4.2.4/gcc/gcc.c 2007-09-01 17:28:30.000000000 +0200
1862 +++ gcc-4.2.4.aros/gcc/gcc.c 2011-04-11 22:46:42.763937000 +0200
1863 @@ -3723,7 +3723,7 @@
1865 /* -pipe has to go into the switches array as well as
1871 else if (strcmp (argv[i], "-###") == 0)
1872 diff -ruN gcc-4.2.4/gcc/toplev.c gcc-4.2.4.aros/gcc/toplev.c
1873 --- gcc-4.2.4/gcc/toplev.c 2007-09-01 17:28:30.000000000 +0200
1874 +++ gcc-4.2.4.aros/gcc/toplev.c 2011-04-11 22:46:42.763937000 +0200
1876 for floor_log2 and exact_log2; see toplev.h. That construct, however,
1877 conflicts with the ISO C++ One Definition Rule. */
1879 -#if GCC_VERSION < 3004 || !defined (__cplusplus)
1880 +#if GCC_VERSION < 3004 || !defined (__cplusplus) || GCC_VERSION >= 4003
1882 /* Given X, an unsigned number, return the largest int Y such that 2**Y <= X.
1883 If X is 0, return -1. */
1884 diff -ruN gcc-4.2.4/gcc/toplev.h gcc-4.2.4.aros/gcc/toplev.h
1885 --- gcc-4.2.4/gcc/toplev.h 2007-09-01 17:28:30.000000000 +0200
1886 +++ gcc-4.2.4.aros/gcc/toplev.h 2011-04-11 22:46:42.763937000 +0200
1888 extern int floor_log2 (unsigned HOST_WIDE_INT);
1890 /* Inline versions of the above for speed. */
1891 -#if GCC_VERSION >= 3004
1892 +#if GCC_VERSION >= 3004 && GCC_VERSION < 4003
1893 # if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG
1894 # define CLZ_HWI __builtin_clzl
1895 # define CTZ_HWI __builtin_ctzl
1896 diff -ruN gcc-4.2.4/include/filenames.h gcc-4.2.4.aros/include/filenames.h
1897 --- gcc-4.2.4/include/filenames.h 2005-05-10 17:22:21.000000000 +0200
1898 +++ gcc-4.2.4.aros/include/filenames.h 2011-04-11 22:46:42.763937000 +0200
1900 #define IS_ABSOLUTE_PATH(f) (IS_DIR_SEPARATOR((f)[0]) || (((f)[0]) && ((f)[1] == ':')))
1901 #define FILENAME_CMP(s1, s2) strcasecmp(s1, s2)
1903 +#elif defined __AROS__
1905 +#define IS_DIR_SEPARATOR(c) ((c) == '/' || (c) == ':')
1906 +#define IS_ABSOLUTE_PATH(f) (IS_DIR_SEPARATOR((f)[0]) || (strchr((f), ':')))
1907 +#define FILENAME_CMP(s1, s2) strcasecmp(s1, s2)
1909 #else /* not DOSish */
1911 #define IS_DIR_SEPARATOR(c) ((c) == '/')
1912 diff -ruN gcc-4.2.4/libiberty/configure gcc-4.2.4.aros/libiberty/configure
1913 --- gcc-4.2.4/libiberty/configure 2006-08-30 15:46:50.000000000 +0200
1914 +++ gcc-4.2.4.aros/libiberty/configure 2011-04-11 22:46:42.763937000 +0200
1915 @@ -8403,6 +8403,7 @@
1916 *-*-mingw* | *-*-winnt*) pexecute=./pex-win32.o ;;
1917 *-*-msdosdjgpp*) pexecute=./pex-djgpp.o ;;
1918 *-*-msdos*) pexecute=./pex-msdos.o ;;
1919 + *-*-aros*) pexecute=./pex-aros.o ;;
1920 *) pexecute=./pex-unix.o ;;
1923 diff -ruN gcc-4.2.4/libiberty/configure.ac gcc-4.2.4.aros/libiberty/configure.ac
1924 --- gcc-4.2.4/libiberty/configure.ac 2006-08-30 15:46:50.000000000 +0200
1925 +++ gcc-4.2.4.aros/libiberty/configure.ac 2011-04-11 22:46:42.763937000 +0200
1927 *-*-mingw* | *-*-winnt*) pexecute=./pex-win32.o ;;
1928 *-*-msdosdjgpp*) pexecute=./pex-djgpp.o ;;
1929 *-*-msdos*) pexecute=./pex-msdos.o ;;
1930 + *-*-aros*) pexecute=./pex-aros.o ;;
1931 *) pexecute=./pex-unix.o ;;
1934 diff -ruN gcc-4.2.4/libiberty/Makefile.in gcc-4.2.4.aros/libiberty/Makefile.in
1935 --- gcc-4.2.4/libiberty/Makefile.in 2007-03-03 20:29:51.000000000 +0100
1936 +++ gcc-4.2.4.aros/libiberty/Makefile.in 2011-04-11 22:46:42.763937000 +0200
1938 objalloc.c obstack.c \
1939 partition.c pexecute.c \
1940 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
1941 - pex-unix.c pex-win32.c \
1942 + pex-unix.c pex-win32.c pex-aros.c \
1943 physmem.c putenv.c \
1944 random.c regex.c rename.c rindex.c \
1945 safe-ctype.c setenv.c sigsetmask.c snprintf.c sort.c spaces.c \
1947 ./memchr.o ./memcmp.o ./memcpy.o ./memmove.o ./mempcpy.o \
1948 ./memset.o ./mkstemps.o \
1949 ./pex-djgpp.o ./pex-msdos.o \
1950 - ./pex-unix.o ./pex-win32.o \
1951 + ./pex-unix.o ./pex-win32.o pex-aros.o \
1953 ./random.o ./rename.o ./rindex.o \
1954 ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o \
1955 @@ -879,6 +879,13 @@
1957 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
1959 +./pex-aros.o: $(srcdir)/pex-aros.c config.h $(INCDIR)/ansidecl.h \
1960 + $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1961 + if [ x"$(PICFLAG)" != x ]; then \
1962 + $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-aros.c -o pic/$@; \
1964 + $(COMPILE.c) $(srcdir)/pex-aros.c $(OUTPUT_OPTION)
1966 ./physmem.o: $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
1967 $(INCDIR)/libiberty.h
1968 if [ x"$(PICFLAG)" != x ]; then \
1969 diff -ruN gcc-4.2.4/libiberty/pex-aros.c gcc-4.2.4.aros/libiberty/pex-aros.c
1970 --- gcc-4.2.4/libiberty/pex-aros.c 1970-01-01 01:00:00.000000000 +0100
1971 +++ gcc-4.2.4.aros/libiberty/pex-aros.c 2011-04-11 22:46:42.763937000 +0200
1973 +/* Utilities to execute a program in a subprocess (possibly linked by pipes
1974 + with other subprocesses), and wait for it. OS/2 specialization.
1975 + Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
1976 + Free Software Foundation, Inc.
1978 +This file is part of the libiberty library.
1979 +Libiberty is free software; you can redistribute it and/or
1980 +modify it under the terms of the GNU Library General Public
1981 +License as published by the Free Software Foundation; either
1982 +version 2 of the License, or (at your option) any later version.
1984 +Libiberty is distributed in the hope that it will be useful,
1985 +but WITHOUT ANY WARRANTY; without even the implied warranty of
1986 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1987 +Library General Public License for more details.
1989 +You should have received a copy of the GNU Library General Public
1990 +License along with libiberty; see the file COPYING.LIB. If not,
1991 +write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
1992 +Boston, MA 02111-1307, USA. */
1994 +#include "config.h"
1995 +#include "libiberty.h"
1996 +#include "pex-common.h"
1999 +#include <signal.h>
2001 +#ifdef NEED_DECLARATION_ERRNO
2004 +#ifdef HAVE_STDLIB_H
2005 +#include <stdlib.h>
2007 +#ifdef HAVE_STRING_H
2008 +#include <string.h>
2010 +#ifdef HAVE_UNISTD_H
2011 +#include <unistd.h>
2014 +#include <sys/types.h>
2016 +#ifdef HAVE_FCNTL_H
2019 +#ifdef HAVE_SYS_WAIT_H
2020 +#include <sys/wait.h>
2022 +#ifdef HAVE_GETRUSAGE
2023 +#include <sys/time.h>
2024 +#include <sys/resource.h>
2026 +#ifdef HAVE_SYS_STAT_H
2027 +#include <sys/stat.h>
2030 +#include <process.h>
2033 +static int pex_aros_open_read (struct pex_obj *, const char *, int);
2034 +static int pex_aros_open_write (struct pex_obj *, const char *, int);
2035 +static long pex_aros_exec_child (struct pex_obj *, int, const char *,
2036 + char * const *, char * const *,
2037 + int, int, int, int,
2038 + const char **, int *);
2039 +static int pex_aros_close (struct pex_obj *, int);
2040 +static int pex_aros_wait (struct pex_obj *, long, int *, struct pex_time *,
2041 + int, const char **, int *);
2043 +/* The list of functions we pass to the common routines. */
2045 +const struct pex_funcs funcs =
2047 + pex_aros_open_read,
2048 + pex_aros_open_write,
2049 + pex_aros_exec_child,
2053 + NULL, /* fdopenr */
2054 + NULL, /* fdopenw */
2055 + NULL /* cleanup */
2058 +/* Return a newly initialized pex_obj structure. */
2061 +pex_init (int flags, const char *pname, const char *tempbase)
2063 + /* at the moment we do not support pipes */
2064 + flags &= ~ PEX_USE_PIPES;
2066 + return pex_init_common (flags, pname, tempbase, &funcs);
2069 +/* Open a file for reading. */
2072 +pex_aros_open_read (struct pex_obj *obj ATTRIBUTE_UNUSED, const char *name,
2073 + int binary ATTRIBUTE_UNUSED)
2075 + return open (name, O_RDONLY);
2078 +/* Open a file for writing. */
2081 +pex_aros_open_write (struct pex_obj *obj ATTRIBUTE_UNUSED, const char *name,
2082 + int binary ATTRIBUTE_UNUSED)
2084 + /* Note that we can't use O_EXCL here because gcc may have already
2085 + created the temporary file via make_temp_file. */
2086 + return open (name, O_WRONLY | O_CREAT | O_TRUNC);
2089 +/* Close a file. */
2092 +pex_aros_close (struct pex_obj *obj ATTRIBUTE_UNUSED, int fd)
2094 + return close (fd);
2097 +/* Execute a child. */
2100 +pex_aros_exec_child (struct pex_obj *obj, int flags, const char *executable,
2101 + char * const * argv, char * const * env ATTRIBUTE_UNUSED,
2102 + int in, int out, int errdes,
2103 + int toclose ATTRIBUTE_UNUSED, const char **errmsg, int *err)
2105 + int org_in, org_out, org_errdes;
2113 + if (in != STDIN_FILE_NO)
2115 + org_in = dup (STDIN_FILE_NO);
2122 + if (dup2 (in, STDIN_FILE_NO) < 0)
2128 + if (close (in) < 0)
2131 + *errmsg = "close";
2136 + if (out != STDOUT_FILE_NO)
2138 + org_out = dup (STDOUT_FILE_NO);
2145 + if (dup2 (out, STDOUT_FILE_NO) < 0)
2151 + if (close (out) < 0)
2154 + *errmsg = "close";
2159 + if (errdes != STDERR_FILE_NO
2160 + || (flags & PEX_STDERR_TO_STDOUT) != 0)
2162 + org_errdes = dup (STDERR_FILE_NO);
2163 + if (org_errdes < 0)
2169 + if (dup2 ((flags & PEX_STDERR_TO_STDOUT) != 0 ? STDOUT_FILE_NO : errdes,
2170 + STDERR_FILE_NO) < 0)
2176 + if (errdes != STDERR_FILE_NO)
2178 + if (close (errdes) < 0)
2181 + *errmsg = "close";
2187 + status = (((flags & PEX_SEARCH) != 0 ? spawnvp : spawnv)
2188 + (P_WAIT, executable, (char * const *) argv));
2193 + *errmsg = ((flags & PEX_SEARCH) != 0) ? "spawnvp" : "spawnv";
2196 + if (in != STDIN_FILE_NO)
2198 + if (dup2 (org_in, STDIN_FILE_NO) < 0)
2204 + if (close (org_in) < 0)
2207 + *errmsg = "close";
2212 + if (out != STDOUT_FILE_NO)
2214 + if (dup2 (org_out, STDOUT_FILE_NO) < 0)
2220 + if (close (org_out) < 0)
2223 + *errmsg = "close";
2228 + if (errdes != STDERR_FILE_NO
2229 + || (flags & PEX_STDERR_TO_STDOUT) != 0)
2231 + if (dup2 (org_errdes, STDERR_FILE_NO) < 0)
2237 + if (close (org_errdes) < 0)
2240 + *errmsg = "close";
2245 + /* Save the exit status for later. When we are called, obj->count
2246 + is the number of children which have executed before this
2248 + statuses = (int *) obj->sysdep;
2249 + statuses = XRESIZEVEC (int, statuses, obj->count + 1);
2250 + statuses[obj->count] = status;
2251 + obj->sysdep = (void *) statuses;
2253 + return obj->count;
2256 +/* Wait for a child process to complete. Actually the child process
2257 + has already completed, and we just need to return the exit
2261 +pex_aros_wait (struct pex_obj *obj, long pid, int *status,
2262 + struct pex_time *time, int done ATTRIBUTE_UNUSED,
2263 + const char **errmsg ATTRIBUTE_UNUSED,
2264 + int *err ATTRIBUTE_UNUSED)
2269 + memset (time, 0, sizeof (struct pex_time));
2271 + statuses = (int *) obj->sysdep;
2272 + *status = statuses[pid];
2276 diff -ruN gcc-4.2.4/libstdc++-v3/config/os/aros/ctype_base.h gcc-4.2.4.aros/libstdc++-v3/config/os/aros/ctype_base.h
2277 --- gcc-4.2.4/libstdc++-v3/config/os/aros/ctype_base.h 1970-01-01 01:00:00.000000000 +0100
2278 +++ gcc-4.2.4.aros/libstdc++-v3/config/os/aros/ctype_base.h 2011-04-11 22:46:42.763937000 +0200
2280 +_GLIBCXX_BEGIN_NAMESPACE(std)
2282 +struct ctype_base {
2283 + /* Non-standard typedefs */
2284 + typedef int * __to_type;
2286 + /* NB: Offsets into ctype<char>::_M_table force a particular size
2287 + on the mask type. Because of this, we don't use an enum. */
2288 + typedef unsigned short int mask;
2290 + static const mask upper = _ISupper;
2291 + static const mask lower = _ISlower;
2292 + static const mask alpha = _ISalpha;
2293 + static const mask digit = _ISdigit;
2294 + static const mask xdigit = _ISxdigit;
2295 + static const mask space = _ISspace;
2296 + static const mask print = _ISprint;
2297 + static const mask graph = _ISgraph;
2298 + static const mask cntrl = _IScntrl;
2299 + static const mask punct = _ISpunct;
2300 + static const mask alnum = _ISalnum;
2303 +_GLIBCXX_END_NAMESPACE
2304 diff -ruN gcc-4.2.4/libstdc++-v3/config/os/aros/ctype_inline.h gcc-4.2.4.aros/libstdc++-v3/config/os/aros/ctype_inline.h
2305 --- gcc-4.2.4/libstdc++-v3/config/os/aros/ctype_inline.h 1970-01-01 01:00:00.000000000 +0100
2306 +++ gcc-4.2.4.aros/libstdc++-v3/config/os/aros/ctype_inline.h 2011-04-11 22:46:42.763937000 +0200
2308 +// Locale support -*- C++ -*-
2310 +// Copyright (C) 2000, 2003 Free Software Foundation, Inc.
2312 +// This file is part of the GNU ISO C++ Library. This library is free
2313 +// software; you can redistribute it and/or modify it under the
2314 +// terms of the GNU General Public License as published by the
2315 +// Free Software Foundation; either version 2, or (at your option)
2316 +// any later version.
2318 +// This library is distributed in the hope that it will be useful,
2319 +// but WITHOUT ANY WARRANTY; without even the implied warranty of
2320 +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2321 +// GNU General Public License for more details.
2323 +// You should have received a copy of the GNU General Public License along
2324 +// with this library; see the file COPYING. If not, write to the Free
2325 +// Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
2328 +// As a special exception, you may use this file as part of a free software
2329 +// library without restriction. Specifically, if other files instantiate
2330 +// templates or use macros or inline functions from this file, or you compile
2331 +// this file and link it with other files to produce an executable, this
2332 +// file does not by itself cause the resulting executable to be covered by
2333 +// the GNU General Public License. This exception does not however
2334 +// invalidate any other reasons why the executable file might be covered by
2335 +// the GNU General Public License.
2337 +/** @file ctype_inline.h
2338 + * This is an internal header file, included by other library headers.
2339 + * You should not attempt to use it directly.
2343 +// ISO C++ 14882: 22.1 Locales
2346 +// ctype bits to be inlined go here. Non-inlinable (ie virtual do_*)
2347 +// functions go in ctype.cc
2349 +// The following definitions are portable, but insanely slow. If one
2350 +// cares at all about performance, then specialized ctype
2351 +// functionality should be added for the native os in question: see
2352 +// the config/os/bits/ctype_*.h files.
2354 +// Constructing a synthetic "C" table should be seriously considered...
2356 +_GLIBCXX_BEGIN_NAMESPACE(std)
2360 + is(mask __m, char __c) const
2363 + return _M_table[static_cast<unsigned char>(__c)] & __m;
2366 + bool __ret = false;
2367 + const size_t __bitmasksize = 15;
2368 + size_t __bitcur = 0; // Lowest bitmask in ctype_base == 0
2369 + for (; __bitcur <= __bitmasksize; ++__bitcur)
2371 + const mask __bit = static_cast<mask>(1 << __bitcur);
2378 + __testis = isspace(__c);
2381 + __testis = isprint(__c);
2384 + __testis = iscntrl(__c);
2387 + __testis = isupper(__c);
2390 + __testis = islower(__c);
2393 + __testis = isalpha(__c);
2396 + __testis = isdigit(__c);
2399 + __testis = ispunct(__c);
2402 + __testis = isxdigit(__c);
2405 + __testis = isalnum(__c);
2408 + __testis = isgraph(__c);
2414 + __ret |= __testis;
2423 + is(const char* __low, const char* __high, mask* __vec) const
2426 + while (__low < __high)
2427 + *__vec++ = _M_table[static_cast<unsigned char>(*__low++)];
2430 + // Highest bitmask in ctype_base == 10.
2431 + const size_t __bitmasksize = 15;
2432 + for (;__low < __high; ++__vec, ++__low)
2435 + // Lowest bitmask in ctype_base == 0
2437 + for (;__i <= __bitmasksize; ++__i)
2439 + const mask __bit = static_cast<mask>(1 << __i);
2440 + if (this->is(__bit, *__low))
2451 + scan_is(mask __m, const char* __low, const char* __high) const
2454 + while (__low < __high
2455 + && !(_M_table[static_cast<unsigned char>(*__low)] & __m))
2458 + while (__low < __high && !this->is(__m, *__low))
2465 + scan_not(mask __m, const char* __low, const char* __high) const
2468 + while (__low < __high
2469 + && (_M_table[static_cast<unsigned char>(*__low)] & __m) != 0)
2472 + while (__low < __high && this->is(__m, *__low) != 0)
2477 +_GLIBCXX_END_NAMESPACE
2478 diff -ruN gcc-4.2.4/libstdc++-v3/config/os/aros/ctype_noninline.h gcc-4.2.4.aros/libstdc++-v3/config/os/aros/ctype_noninline.h
2479 --- gcc-4.2.4/libstdc++-v3/config/os/aros/ctype_noninline.h 1970-01-01 01:00:00.000000000 +0100
2480 +++ gcc-4.2.4.aros/libstdc++-v3/config/os/aros/ctype_noninline.h 2011-04-11 22:46:42.763937000 +0200
2482 + const ctype_base::mask*
2483 + ctype<char>::classic_table() throw()
2484 + { return __ctype_b; }
2486 + ctype<char>::ctype(__c_locale, const mask* __table, bool __del,
2488 + : facet(__refs), _M_del(__table != 0 && __del),
2489 + _M_toupper(NULL), _M_tolower(NULL),
2490 + _M_table(__table ? __table : classic_table())
2492 + memset(_M_widen, 0, sizeof(_M_widen));
2494 + memset(_M_narrow, 0, sizeof(_M_narrow));
2498 + ctype<char>::ctype(const mask* __table, bool __del, size_t __refs)
2499 + : facet(__refs), _M_del(__table != 0 && __del),
2500 + _M_toupper(NULL), _M_tolower(NULL),
2501 + _M_table(__table ? __table : classic_table())
2503 + memset(_M_widen, 0, sizeof(_M_widen));
2505 + memset(_M_narrow, 0, sizeof(_M_narrow));
2510 + ctype<char>::do_toupper(char __c) const
2511 + { return ::toupper((int) __c); }
2514 + ctype<char>::do_toupper(char* __low, const char* __high) const
2516 + while (__low < __high)
2518 + *__low = ::toupper((int) *__low);
2525 + ctype<char>::do_tolower(char __c) const
2526 + { return ::tolower((int) __c); }
2529 + ctype<char>::do_tolower(char* __low, const char* __high) const
2531 + while (__low < __high)
2533 + *__low = ::tolower((int) *__low);
2538 diff -ruN gcc-4.2.4/libstdc++-v3/config/os/aros/os_defines.h gcc-4.2.4.aros/libstdc++-v3/config/os/aros/os_defines.h
2539 --- gcc-4.2.4/libstdc++-v3/config/os/aros/os_defines.h 1970-01-01 01:00:00.000000000 +0100
2540 +++ gcc-4.2.4.aros/libstdc++-v3/config/os/aros/os_defines.h 2011-04-11 22:46:42.763937000 +0200
2542 +#ifndef _GLIBCXX_OS_DEFINES
2543 +#define _GLIBCXX_OS_DEFINES
2545 +#define __off64_t off_t
2548 diff -ruN gcc-4.2.4/libstdc++-v3/configure gcc-4.2.4.aros/libstdc++-v3/configure
2549 --- gcc-4.2.4/libstdc++-v3/configure 2007-06-29 01:02:05.000000000 +0200
2550 +++ gcc-4.2.4.aros/libstdc++-v3/configure 2011-04-11 22:46:42.763937000 +0200
2551 @@ -32533,6 +32533,918 @@
2553 # Base decisions on target environment.
2568 +for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
2569 + machine/param.h sys/machine.h sys/types.h fp.h locale.h float.h inttypes.h
2571 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2572 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
2573 + echo "$as_me:$LINENO: checking for $ac_header" >&5
2574 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2575 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
2576 + echo $ECHO_N "(cached) $ECHO_C" >&6
2578 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2579 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2581 + # Is the header compilable?
2582 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
2583 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2584 +cat >conftest.$ac_ext <<_ACEOF
2587 +cat confdefs.h >>conftest.$ac_ext
2588 +cat >>conftest.$ac_ext <<_ACEOF
2589 +/* end confdefs.h. */
2590 +$ac_includes_default
2591 +#include <$ac_header>
2593 +rm -f conftest.$ac_objext
2594 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 + (eval $ac_compile) 2>conftest.er1
2597 + grep -v '^ *+' conftest.er1 >conftest.err
2598 + rm -f conftest.er1
2599 + cat conftest.err >&5
2600 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 + (exit $ac_status); } &&
2602 + { ac_try='test -z "$ac_c_werror_flag"
2603 + || test ! -s conftest.err'
2604 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605 + (eval $ac_try) 2>&5
2607 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 + (exit $ac_status); }; } &&
2609 + { ac_try='test -s conftest.$ac_objext'
2610 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611 + (eval $ac_try) 2>&5
2613 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614 + (exit $ac_status); }; }; then
2615 + ac_header_compiler=yes
2617 + echo "$as_me: failed program was:" >&5
2618 +sed 's/^/| /' conftest.$ac_ext >&5
2620 +ac_header_compiler=no
2622 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2623 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2624 +echo "${ECHO_T}$ac_header_compiler" >&6
2626 +# Is the header present?
2627 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
2628 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2629 +cat >conftest.$ac_ext <<_ACEOF
2632 +cat confdefs.h >>conftest.$ac_ext
2633 +cat >>conftest.$ac_ext <<_ACEOF
2634 +/* end confdefs.h. */
2635 +#include <$ac_header>
2637 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2638 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2640 + grep -v '^ *+' conftest.er1 >conftest.err
2641 + rm -f conftest.er1
2642 + cat conftest.err >&5
2643 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 + (exit $ac_status); } >/dev/null; then
2645 + if test -s conftest.err; then
2646 + ac_cpp_err=$ac_c_preproc_warn_flag
2647 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2654 +if test -z "$ac_cpp_err"; then
2655 + ac_header_preproc=yes
2657 + echo "$as_me: failed program was:" >&5
2658 +sed 's/^/| /' conftest.$ac_ext >&5
2660 + ac_header_preproc=no
2662 +rm -f conftest.err conftest.$ac_ext
2663 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2664 +echo "${ECHO_T}$ac_header_preproc" >&6
2666 +# So? What about this header?
2667 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
2669 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2670 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2671 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
2672 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
2673 + ac_header_preproc=yes
2676 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2677 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2678 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2679 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2680 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
2681 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
2682 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
2683 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
2684 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2685 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2686 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
2687 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
2690 +## ----------------------------------------- ##
2691 +## Report this to the package-unused lists. ##
2692 +## ----------------------------------------- ##
2695 + sed "s/^/$as_me: WARNING: /" >&2
2698 +echo "$as_me:$LINENO: checking for $ac_header" >&5
2699 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2700 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
2701 + echo $ECHO_N "(cached) $ECHO_C" >&6
2703 + eval "$as_ac_Header=\$ac_header_preproc"
2705 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2706 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2709 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
2710 + cat >>confdefs.h <<_ACEOF
2711 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2720 + # If we're not using GNU ld, then there's no point in even trying these
2721 + # tests. Check for that first. We should have already tested for gld
2722 + # by now (in libtool), but require it now just to be safe...
2723 + test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
2724 + test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
2728 + # The name set by libtool depends on the version of libtool. Shame on us
2729 + # for depending on an impl detail, but c'est la vie. Older versions used
2730 + # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
2731 + # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
2732 + # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
2733 + # set (hence we're using an older libtool), then set it.
2734 + if test x${with_gnu_ld+set} != xset; then
2735 + if test x${ac_cv_prog_gnu_ld+set} != xset; then
2736 + # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
2739 + with_gnu_ld=$ac_cv_prog_gnu_ld
2743 + # Start by getting the version number. I think the libtool test already
2744 + # does some of this, but throws away the result.
2745 + if test x"$with_gnu_ld" = x"yes"; then
2746 + echo "$as_me:$LINENO: checking for ld version" >&5
2747 +echo $ECHO_N "checking for ld version... $ECHO_C" >&6
2749 + ldver=`$LD --version 2>/dev/null | head -1 | \
2750 + sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
2752 + glibcxx_gnu_ld_version=`echo $ldver | \
2753 + $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
2754 + echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
2755 +echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
2758 + # Set --gc-sections.
2759 + glibcxx_gcsections_min_ld=21602
2760 + if test x"$with_gnu_ld" = x"yes" &&
2761 + test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
2763 + # Sufficiently young GNU ld it is! Joy and bunny rabbits!
2764 + # NB: This flag only works reliably after 2.16.1. Configure tests
2765 + # for this are difficult, so hard wire a value that should work.
2767 + ac_test_CFLAGS="${CFLAGS+set}"
2768 + ac_save_CFLAGS="$CFLAGS"
2769 + CFLAGS='-Wl,--gc-sections'
2771 + # Check for -Wl,--gc-sections
2772 + echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
2773 +echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
2774 + if test x$gcc_no_link = xyes; then
2775 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
2776 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
2777 + { (exit 1); exit 1; }; }
2779 +cat >conftest.$ac_ext <<_ACEOF
2782 +cat confdefs.h >>conftest.$ac_ext
2783 +cat >>conftest.$ac_ext <<_ACEOF
2784 +/* end confdefs.h. */
2785 + int one(void) { return 1; }
2786 + int two(void) { return 2; }
2796 +rm -f conftest.$ac_objext conftest$ac_exeext
2797 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2798 + (eval $ac_link) 2>conftest.er1
2800 + grep -v '^ *+' conftest.er1 >conftest.err
2801 + rm -f conftest.er1
2802 + cat conftest.err >&5
2803 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2804 + (exit $ac_status); } &&
2805 + { ac_try='test -z "$ac_c_werror_flag"
2806 + || test ! -s conftest.err'
2807 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2808 + (eval $ac_try) 2>&5
2810 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 + (exit $ac_status); }; } &&
2812 + { ac_try='test -s conftest$ac_exeext'
2813 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2814 + (eval $ac_try) 2>&5
2816 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 + (exit $ac_status); }; }; then
2820 + echo "$as_me: failed program was:" >&5
2821 +sed 's/^/| /' conftest.$ac_ext >&5
2825 +rm -f conftest.err conftest.$ac_objext \
2826 + conftest$ac_exeext conftest.$ac_ext
2827 + if test "$ac_gcsections" = "yes"; then
2830 + if $CC -c conftest.c; then
2831 + if $LD --gc-sections -o conftest conftest.o 2>&1 | \
2832 + grep "Warning: gc-sections option ignored" > /dev/null; then
2836 + rm -f conftest.c conftest.o conftest
2838 + if test "$ac_gcsections" = "yes"; then
2839 + SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
2841 + echo "$as_me:$LINENO: result: $ac_gcsections" >&5
2842 +echo "${ECHO_T}$ac_gcsections" >&6
2844 + if test "$ac_test_CFLAGS" = set; then
2845 + CFLAGS="$ac_save_CFLAGS"
2847 + # this is the suspicious part
2853 + # Note this is only for shared objects.
2855 + if test x"$with_gnu_ld" = x"yes"; then
2856 + echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
2857 +echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
2858 + cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
2859 + if test -n "$cxx_z_relo"; then
2860 + OPT_LDFLAGS="-Wl,-z,relro"
2863 + echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
2864 +echo "${ECHO_T}$ac_ld_relro" >&6
2867 + # Set linker optimization flags.
2868 + if test x"$with_gnu_ld" = x"yes"; then
2869 + OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
2877 +echo "$as_me:$LINENO: checking for main in -lm" >&5
2878 +echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
2879 +if test "${ac_cv_lib_m_main+set}" = set; then
2880 + echo $ECHO_N "(cached) $ECHO_C" >&6
2882 + ac_check_lib_save_LIBS=$LIBS
2884 +if test x$gcc_no_link = xyes; then
2885 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
2886 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
2887 + { (exit 1); exit 1; }; }
2889 +cat >conftest.$ac_ext <<_ACEOF
2892 +cat confdefs.h >>conftest.$ac_ext
2893 +cat >>conftest.$ac_ext <<_ACEOF
2894 +/* end confdefs.h. */
2905 +rm -f conftest.$ac_objext conftest$ac_exeext
2906 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2907 + (eval $ac_link) 2>conftest.er1
2909 + grep -v '^ *+' conftest.er1 >conftest.err
2910 + rm -f conftest.er1
2911 + cat conftest.err >&5
2912 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 + (exit $ac_status); } &&
2914 + { ac_try='test -z "$ac_c_werror_flag"
2915 + || test ! -s conftest.err'
2916 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2917 + (eval $ac_try) 2>&5
2919 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2920 + (exit $ac_status); }; } &&
2921 + { ac_try='test -s conftest$ac_exeext'
2922 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2923 + (eval $ac_try) 2>&5
2925 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2926 + (exit $ac_status); }; }; then
2927 + ac_cv_lib_m_main=yes
2929 + echo "$as_me: failed program was:" >&5
2930 +sed 's/^/| /' conftest.$ac_ext >&5
2932 +ac_cv_lib_m_main=no
2934 +rm -f conftest.err conftest.$ac_objext \
2935 + conftest$ac_exeext conftest.$ac_ext
2936 +LIBS=$ac_check_lib_save_LIBS
2938 +echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
2939 +echo "${ECHO_T}$ac_cv_lib_m_main" >&6
2940 +if test $ac_cv_lib_m_main = yes; then
2941 + cat >>confdefs.h <<_ACEOF
2942 +#define HAVE_LIBM 1
2950 +for ac_func in copysignf
2952 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2953 +echo "$as_me:$LINENO: checking for $ac_func" >&5
2954 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2955 +if eval "test \"\${$as_ac_var+set}\" = set"; then
2956 + echo $ECHO_N "(cached) $ECHO_C" >&6
2958 + if test x$gcc_no_link = xyes; then
2959 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
2960 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
2961 + { (exit 1); exit 1; }; }
2963 +cat >conftest.$ac_ext <<_ACEOF
2966 +cat confdefs.h >>conftest.$ac_ext
2967 +cat >>conftest.$ac_ext <<_ACEOF
2968 +/* end confdefs.h. */
2969 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2970 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
2971 +#define $ac_func innocuous_$ac_func
2973 +/* System header to define __stub macros and hopefully few prototypes,
2974 + which can conflict with char $ac_func (); below.
2975 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2976 + <limits.h> exists even on freestanding compilers. */
2979 +# include <limits.h>
2981 +# include <assert.h>
2986 +/* Override any gcc2 internal prototype to avoid an error. */
2991 +/* We use char because int might match the return type of a gcc2
2992 + builtin and then its argument prototype would still apply. */
2994 +/* The GNU C library defines this for functions which it implements
2995 + to always fail with ENOSYS. Some functions are actually named
2996 + something starting with __ and the normal name is an alias. */
2997 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3000 +char (*f) () = $ac_func;
3009 +return f != $ac_func;
3014 +rm -f conftest.$ac_objext conftest$ac_exeext
3015 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3016 + (eval $ac_link) 2>conftest.er1
3018 + grep -v '^ *+' conftest.er1 >conftest.err
3019 + rm -f conftest.er1
3020 + cat conftest.err >&5
3021 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022 + (exit $ac_status); } &&
3023 + { ac_try='test -z "$ac_c_werror_flag"
3024 + || test ! -s conftest.err'
3025 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3026 + (eval $ac_try) 2>&5
3028 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 + (exit $ac_status); }; } &&
3030 + { ac_try='test -s conftest$ac_exeext'
3031 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3032 + (eval $ac_try) 2>&5
3034 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 + (exit $ac_status); }; }; then
3036 + eval "$as_ac_var=yes"
3038 + echo "$as_me: failed program was:" >&5
3039 +sed 's/^/| /' conftest.$ac_ext >&5
3041 +eval "$as_ac_var=no"
3043 +rm -f conftest.err conftest.$ac_objext \
3044 + conftest$ac_exeext conftest.$ac_ext
3046 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3047 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3048 +if test `eval echo '${'$as_ac_var'}'` = yes; then
3049 + cat >>confdefs.h <<_ACEOF
3050 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3054 + LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
3060 +for ac_func in __signbit
3062 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3063 +echo "$as_me:$LINENO: checking for $ac_func" >&5
3064 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3065 +if eval "test \"\${$as_ac_var+set}\" = set"; then
3066 + echo $ECHO_N "(cached) $ECHO_C" >&6
3068 + if test x$gcc_no_link = xyes; then
3069 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3070 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3071 + { (exit 1); exit 1; }; }
3073 +cat >conftest.$ac_ext <<_ACEOF
3076 +cat confdefs.h >>conftest.$ac_ext
3077 +cat >>conftest.$ac_ext <<_ACEOF
3078 +/* end confdefs.h. */
3079 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3080 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
3081 +#define $ac_func innocuous_$ac_func
3083 +/* System header to define __stub macros and hopefully few prototypes,
3084 + which can conflict with char $ac_func (); below.
3085 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3086 + <limits.h> exists even on freestanding compilers. */
3089 +# include <limits.h>
3091 +# include <assert.h>
3096 +/* Override any gcc2 internal prototype to avoid an error. */
3101 +/* We use char because int might match the return type of a gcc2
3102 + builtin and then its argument prototype would still apply. */
3104 +/* The GNU C library defines this for functions which it implements
3105 + to always fail with ENOSYS. Some functions are actually named
3106 + something starting with __ and the normal name is an alias. */
3107 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3110 +char (*f) () = $ac_func;
3119 +return f != $ac_func;
3124 +rm -f conftest.$ac_objext conftest$ac_exeext
3125 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3126 + (eval $ac_link) 2>conftest.er1
3128 + grep -v '^ *+' conftest.er1 >conftest.err
3129 + rm -f conftest.er1
3130 + cat conftest.err >&5
3131 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 + (exit $ac_status); } &&
3133 + { ac_try='test -z "$ac_c_werror_flag"
3134 + || test ! -s conftest.err'
3135 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3136 + (eval $ac_try) 2>&5
3138 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3139 + (exit $ac_status); }; } &&
3140 + { ac_try='test -s conftest$ac_exeext'
3141 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3142 + (eval $ac_try) 2>&5
3144 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 + (exit $ac_status); }; }; then
3146 + eval "$as_ac_var=yes"
3148 + echo "$as_me: failed program was:" >&5
3149 +sed 's/^/| /' conftest.$ac_ext >&5
3151 +eval "$as_ac_var=no"
3153 +rm -f conftest.err conftest.$ac_objext \
3154 + conftest$ac_exeext conftest.$ac_ext
3156 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3157 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3158 +if test `eval echo '${'$as_ac_var'}'` = yes; then
3159 + cat >>confdefs.h <<_ACEOF
3160 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3164 + LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
3170 +for ac_func in __signbitf
3172 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3173 +echo "$as_me:$LINENO: checking for $ac_func" >&5
3174 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3175 +if eval "test \"\${$as_ac_var+set}\" = set"; then
3176 + echo $ECHO_N "(cached) $ECHO_C" >&6
3178 + if test x$gcc_no_link = xyes; then
3179 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3180 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3181 + { (exit 1); exit 1; }; }
3183 +cat >conftest.$ac_ext <<_ACEOF
3186 +cat confdefs.h >>conftest.$ac_ext
3187 +cat >>conftest.$ac_ext <<_ACEOF
3188 +/* end confdefs.h. */
3189 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3190 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
3191 +#define $ac_func innocuous_$ac_func
3193 +/* System header to define __stub macros and hopefully few prototypes,
3194 + which can conflict with char $ac_func (); below.
3195 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3196 + <limits.h> exists even on freestanding compilers. */
3199 +# include <limits.h>
3201 +# include <assert.h>
3206 +/* Override any gcc2 internal prototype to avoid an error. */
3211 +/* We use char because int might match the return type of a gcc2
3212 + builtin and then its argument prototype would still apply. */
3214 +/* The GNU C library defines this for functions which it implements
3215 + to always fail with ENOSYS. Some functions are actually named
3216 + something starting with __ and the normal name is an alias. */
3217 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3220 +char (*f) () = $ac_func;
3229 +return f != $ac_func;
3234 +rm -f conftest.$ac_objext conftest$ac_exeext
3235 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3236 + (eval $ac_link) 2>conftest.er1
3238 + grep -v '^ *+' conftest.er1 >conftest.err
3239 + rm -f conftest.er1
3240 + cat conftest.err >&5
3241 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 + (exit $ac_status); } &&
3243 + { ac_try='test -z "$ac_c_werror_flag"
3244 + || test ! -s conftest.err'
3245 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3246 + (eval $ac_try) 2>&5
3248 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 + (exit $ac_status); }; } &&
3250 + { ac_try='test -s conftest$ac_exeext'
3251 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3252 + (eval $ac_try) 2>&5
3254 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 + (exit $ac_status); }; }; then
3256 + eval "$as_ac_var=yes"
3258 + echo "$as_me: failed program was:" >&5
3259 +sed 's/^/| /' conftest.$ac_ext >&5
3261 +eval "$as_ac_var=no"
3263 +rm -f conftest.err conftest.$ac_objext \
3264 + conftest$ac_exeext conftest.$ac_ext
3266 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3267 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3268 +if test `eval echo '${'$as_ac_var'}'` = yes; then
3269 + cat >>confdefs.h <<_ACEOF
3270 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3274 + LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
3279 + if test x$ac_cv_func_copysignl = x"yes"; then
3281 +for ac_func in __signbitl
3283 +as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3284 +echo "$as_me:$LINENO: checking for $ac_func" >&5
3285 +echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3286 +if eval "test \"\${$as_ac_var+set}\" = set"; then
3287 + echo $ECHO_N "(cached) $ECHO_C" >&6
3289 + if test x$gcc_no_link = xyes; then
3290 + { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
3291 +echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
3292 + { (exit 1); exit 1; }; }
3294 +cat >conftest.$ac_ext <<_ACEOF
3297 +cat confdefs.h >>conftest.$ac_ext
3298 +cat >>conftest.$ac_ext <<_ACEOF
3299 +/* end confdefs.h. */
3300 +/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3301 + For example, HP-UX 11i <limits.h> declares gettimeofday. */
3302 +#define $ac_func innocuous_$ac_func
3304 +/* System header to define __stub macros and hopefully few prototypes,
3305 + which can conflict with char $ac_func (); below.
3306 + Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3307 + <limits.h> exists even on freestanding compilers. */
3310 +# include <limits.h>
3312 +# include <assert.h>
3317 +/* Override any gcc2 internal prototype to avoid an error. */
3322 +/* We use char because int might match the return type of a gcc2
3323 + builtin and then its argument prototype would still apply. */
3325 +/* The GNU C library defines this for functions which it implements
3326 + to always fail with ENOSYS. Some functions are actually named
3327 + something starting with __ and the normal name is an alias. */
3328 +#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3331 +char (*f) () = $ac_func;
3340 +return f != $ac_func;
3345 +rm -f conftest.$ac_objext conftest$ac_exeext
3346 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3347 + (eval $ac_link) 2>conftest.er1
3349 + grep -v '^ *+' conftest.er1 >conftest.err
3350 + rm -f conftest.er1
3351 + cat conftest.err >&5
3352 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3353 + (exit $ac_status); } &&
3354 + { ac_try='test -z "$ac_c_werror_flag"
3355 + || test ! -s conftest.err'
3356 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3357 + (eval $ac_try) 2>&5
3359 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 + (exit $ac_status); }; } &&
3361 + { ac_try='test -s conftest$ac_exeext'
3362 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3363 + (eval $ac_try) 2>&5
3365 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
3366 + (exit $ac_status); }; }; then
3367 + eval "$as_ac_var=yes"
3369 + echo "$as_me: failed program was:" >&5
3370 +sed 's/^/| /' conftest.$ac_ext >&5
3372 +eval "$as_ac_var=no"
3374 +rm -f conftest.err conftest.$ac_objext \
3375 + conftest$ac_exeext conftest.$ac_ext
3377 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3378 +echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3379 +if test `eval echo '${'$as_ac_var'}'` = yes; then
3380 + cat >>confdefs.h <<_ACEOF
3381 +#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3385 + LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
3391 + # Used in libmath/Makefile.am.
3392 + if test -n "$LIBMATHOBJS"; then
3397 + GLIBCXX_CHECK_WCHAR_T_SUPPORT
3399 + cat >>confdefs.h <<\_ACEOF
3400 +#define HAVE_COPYSIGN 1
3403 + cat >>confdefs.h <<\_ACEOF
3404 +#define HAVE_COPYSIGNF 1
3407 + cat >>confdefs.h <<\_ACEOF
3408 +#define HAVE_FINITE 1
3411 + cat >>confdefs.h <<\_ACEOF
3412 +#define HAVE_FINITEF 1
3415 + cat >>confdefs.h <<\_ACEOF
3416 +#define HAVE_FREXPF 1
3419 + cat >>confdefs.h <<\_ACEOF
3420 +#define HAVE_HYPOTF 1
3423 + cat >>confdefs.h <<\_ACEOF
3424 +#define HAVE_ISINF 1
3427 + cat >>confdefs.h <<\_ACEOF
3428 +#define HAVE_ISINFF 1
3431 + cat >>confdefs.h <<\_ACEOF
3432 +#define HAVE_ISNAN 1
3435 + cat >>confdefs.h <<\_ACEOF
3436 +#define HAVE_ISNANF 1
3439 + cat >>confdefs.h <<\_ACEOF
3440 +#define HAVE_SINCOS 1
3443 + cat >>confdefs.h <<\_ACEOF
3444 +#define HAVE_SINCOSF 1
3447 + if test x"long_double_math_on_this_cpu" = x"yes"; then
3448 + cat >>confdefs.h <<\_ACEOF
3449 +#define HAVE_FINITEL 1
3452 + cat >>confdefs.h <<\_ACEOF
3453 +#define HAVE_HYPOTL 1
3456 + cat >>confdefs.h <<\_ACEOF
3457 +#define HAVE_ISINFL 1
3460 + cat >>confdefs.h <<\_ACEOF
3461 +#define HAVE_ISNANL 1
3468 # This is a freestanding configuration; there is nothing to do here.
3470 diff -ruN gcc-4.2.4/libstdc++-v3/configure.host gcc-4.2.4.aros/libstdc++-v3/configure.host
3471 --- gcc-4.2.4/libstdc++-v3/configure.host 2006-07-15 00:41:43.000000000 +0200
3472 +++ gcc-4.2.4.aros/libstdc++-v3/configure.host 2011-04-11 22:46:42.763937000 +0200
3474 os_include_dir="os/generic"
3475 atomicity_dir="cpu/generic"
3478 + os_include_dir="os/aros"
3481 # Plain BSD attempts to share FreeBSD files.
3482 os_include_dir="os/bsd/freebsd"
3483 diff -ruN gcc-4.2.4/libstdc++-v3/crossconfig.m4 gcc-4.2.4.aros/libstdc++-v3/crossconfig.m4
3484 --- gcc-4.2.4/libstdc++-v3/crossconfig.m4 2007-01-06 23:38:41.000000000 +0100
3485 +++ gcc-4.2.4.aros/libstdc++-v3/crossconfig.m4 2011-04-11 22:46:42.763937000 +0200
3487 AC_DEFUN([GLIBCXX_CROSSCONFIG],[
3488 # Base decisions on target environment.
3491 + AC_CHECK_HEADERS([nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
3492 + machine/param.h sys/machine.h sys/types.h fp.h locale.h float.h inttypes.h])
3494 + GLIBCXX_CHECK_LINKER_FEATURES
3495 + GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
3496 + GLIBCXX_CHECK_WCHAR_T_SUPPORT
3498 + AC_DEFINE(HAVE_COPYSIGN)
3499 + AC_DEFINE(HAVE_COPYSIGNF)
3500 + AC_DEFINE(HAVE_FINITE)
3501 + AC_DEFINE(HAVE_FINITEF)
3502 + AC_DEFINE(HAVE_FREXPF)
3503 + AC_DEFINE(HAVE_HYPOTF)
3504 + AC_DEFINE(HAVE_ISINF)
3505 + AC_DEFINE(HAVE_ISINFF)
3506 + AC_DEFINE(HAVE_ISNAN)
3507 + AC_DEFINE(HAVE_ISNANF)
3508 + AC_DEFINE(HAVE_SINCOS)
3509 + AC_DEFINE(HAVE_SINCOSF)
3510 + if test x"long_double_math_on_this_cpu" = x"yes"; then
3511 + AC_DEFINE(HAVE_FINITEL)
3512 + AC_DEFINE(HAVE_HYPOTL)
3513 + AC_DEFINE(HAVE_ISINFL)
3514 + AC_DEFINE(HAVE_ISNANL)
3519 # This is a freestanding configuration; there is nothing to do here.