OSDN Git Service

* configure.in (sparc-*-elf*): Use sparc/elf.h, sparc/t-elf.
[pf3gnuchains/gcc-fork.git] / gcc / configure.in
1 # configure.in for GNU CC
2 # Process this file with autoconf to generate a configuration script.
3
4 # Copyright (C) 1997 Free Software Foundation, Inc.
5
6 #This file is part of GNU CC.
7
8 #GNU CC is free software; you can redistribute it and/or modify
9 #it under the terms of the GNU General Public License as published by
10 #the Free Software Foundation; either version 2, or (at your option)
11 #any later version.
12
13 #GNU CC is distributed in the hope that it will be useful,
14 #but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 #GNU General Public License for more details.
17
18 #You should have received a copy of the GNU General Public License
19 #along with GNU CC; see the file COPYING.  If not, write to
20 #the Free Software Foundation, 59 Temple Place - Suite 330,
21 #Boston, MA 02111-1307, USA.
22
23 # Initialization and defaults
24 AC_INIT(tree.c)
25 AC_CONFIG_HEADER(config.h:config.in)
26
27 remove=rm
28 hard_link=ln
29 symbolic_link='ln -s'
30 copy=cp
31
32 # Check for additional parameters
33
34 # With GNU ld
35 AC_ARG_WITH(gnu-ld,
36 [  --with-gnu-ld           arrange to work with GNU ld.],
37 gnu_ld=yes,
38 gnu_ld=no)
39
40 # With GNU as
41 AC_ARG_WITH(gnu-as,
42 [  --with-gnu-as           arrange to work with GNU as.],
43 gas=yes,
44 gas=no)
45
46 # With stabs
47 AC_ARG_WITH(stabs,
48 [  --with-stabs            arrange to use stabs instead of host debug format.],
49 stabs=yes,
50 stabs=no)
51
52 # With ELF
53 AC_ARG_WITH(elf,
54 [  --with-elf              arrange to use ELF instead of host debug format.],
55 elf=yes,
56 elf=no)
57
58 # Specify the local prefix
59 AC_ARG_WITH(local-prefix,
60 [  --with-local-prefix=DIR specifies directory to put local include.],
61 local_prefix=$with_local_prefix,
62 local_prefix=/usr/local)
63
64 # Default local prefix if it is empty
65 if [[ x$local_prefix = x ]]; then
66         local_prefix=/usr/local
67 fi
68
69 # Specify the g++ header file directory
70 AC_ARG_WITH(gxx-include-dir,
71 [  --with-gxx-include-dir=DIR
72                           specifies directory to put g++ header files.],
73 gxx_include_dir=$with_gxx_include_dir,
74 gxx_include_dir='${prefix}/include/g++')
75
76 # Default g++ header file directory if it is empty
77 if [[ x$gxx_include_dir = x ]]; then
78         gxx_include_dir='${prefix}/include/g++'
79 fi
80
81 # Enable use of cpplib for C.
82 AC_ARG_ENABLE(c-cpplib,
83 [  --enable-c-cpplib       Use cpplib for C.],
84 if [[[ x$enable_c_cpplib != xno ]]]; then
85   extra_c_objs="${extra_c_objs} cpplib.o cppexp.o cpphash.o cpperror.o"
86   extra_c_flags=-DUSE_CPPLIB=1
87 fi)
88
89 # Enable threads
90 # Pass with no value to take the default
91 # Pass with a value to specify a thread package
92 AC_ARG_ENABLE(threads,
93 [  --enable-threads        enable thread usage for target GCC.
94   --enable-threads=LIB    use LIB thread package for target GCC.],
95 if [[[ x$enable_threads = xno ]]]; then
96         enable_threads=''
97 fi,
98 enable_threads='')
99
100 # Check if a valid thread package
101 case x${enable_threads} in
102         x | xno)
103                 # No threads
104                 thread_file='single'
105                 ;;
106         xyes)
107                 # default
108                 thread_file=''
109                 ;;
110         xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
111         xsolaris | xwin32)
112                 thread_file=$enable_threads
113                 ;;
114         *)
115                 echo "$enable_threads is an unknown thread package" 1>&2
116                 exit 1
117                 ;;
118 esac
119
120 # Determine the host, build, and target systems
121 AC_CANONICAL_SYSTEM
122
123 # Find some useful tools
124 AC_PROG_AWK
125 AC_PROG_LEX
126 GCC_PROG_LN
127 GCC_PROG_LN_S
128 AC_PROG_RANLIB
129 AC_PROG_YACC
130 EGCS_PROG_INSTALL
131
132 # Find the native compiler
133 AC_PROG_CC
134 AC_PROG_MAKE_SET
135
136 AC_CHECK_HEADERS(stddef.h string.h strings.h stdlib.h time.h unistd.h varargs.h sys/varargs.h)
137
138 GCC_NEED_DECLARATION(malloc)
139 GCC_NEED_DECLARATION(realloc)
140 GCC_NEED_DECLARATION(calloc)
141 GCC_NEED_DECLARATION(free)
142
143 AC_DECL_SYS_SIGLIST
144
145 AC_CHECK_FUNCS(strerror strtoul bsearch)
146
147 # File extensions
148 manext='.1'
149 objext='.o'
150 AC_SUBST(manext)
151 AC_SUBST(objext)
152
153 build_xm_file=
154 build_install_headers_dir=install-headers-tar
155 build_exeext=
156 host_xm_file=
157 host_xmake_file=
158 host_truncate_target=
159
160 # Decode the host machine, then the target machine.
161 # For the host machine, we save the xm_file variable as host_xm_file;
162 # then we decode the target machine and forget everything else
163 # that came from the host machine.
164 for machine in $build $host $target; do
165
166         out_file=
167         xmake_file=
168         tmake_file=
169         extra_headers=
170         extra_passes=
171         extra_parts=
172         extra_programs=
173         extra_objs=
174         extra_host_objs=
175         extra_gcc_objs=
176         float_format=
177         # Set this to force installation and use of collect2.
178         use_collect2=
179         # Set this to override the default target model.
180         target_cpu_default=
181         # Set this to control which fixincludes program to use.
182         fixincludes=fixincludes
183         # Set this to control how the header file directory is installed.
184         install_headers_dir=install-headers-tar
185         # Set this to a non-empty list of args to pass to cpp if the target
186         # wants its .md file passed through cpp.
187         md_cppflags=
188         # Set this if directory names should be truncated to 14 characters.
189         truncate_target=
190         # Set this if gdb needs a dir command with `dirname $out_file`
191         gdb_needs_out_file_path=
192         # Set this if the build machine requires executables to have a
193         # file name suffix.
194         exeext=
195
196         # Set default cpu_type, tm_file and xm_file so it can be updated in
197         # each machine entry.
198         cpu_type=`echo $machine | sed 's/-.*$//'`
199         case $machine in
200         alpha*-*-*)
201                 cpu_type=alpha
202                 ;;
203         arm*-*-*)
204                 cpu_type=arm
205                 ;;
206         c*-convex-*)
207                 cpu_type=convex
208                 ;;
209         i[[3456]]86-*-*)
210                 cpu_type=i386
211                 ;;
212         hppa*-*-*)
213                 cpu_type=pa
214                 ;;
215         m68000-*-*)
216                 cpu_type=m68k
217                 ;;
218         mips*-*-*)
219                 cpu_type=mips
220                 ;;
221         powerpc*-*-*)
222                 cpu_type=rs6000
223                 ;;
224         pyramid-*-*)
225                 cpu_type=pyr
226                 ;;
227         sparc*-*-*)
228                 cpu_type=sparc
229                 ;;
230         esac
231
232         tm_file=${cpu_type}/${cpu_type}.h
233         xm_file=${cpu_type}/xm-${cpu_type}.h
234         
235         case $machine in
236         # Support site-specific machine types.
237         *local*)
238                 cpu_type=`echo $machine | sed -e 's/-.*//'`
239                 rest=`echo $machine | sed -e "s/$cpu_type-//"`
240                 xm_file=${cpu_type}/xm-$rest.h
241                 tm_file=${cpu_type}/$rest.h
242                 if [[ -f $srcdir/config/${cpu_type}/x-$rest ]] ; \
243                 then xmake_file=${cpu_type}/x-$rest; \
244                 else true; \
245                 fi
246                 if [[ -f $srcdir/config/${cpu_type}/t-$rest ]] ; \
247                 then tmake_file=${cpu_type}/t-$rest; \
248                 else true; \
249                 fi
250                 ;;
251         1750a-*-*)
252                 ;;
253         a29k-*-bsd* | a29k-*-sym1*)
254                 tm_file="${tm_file} a29k/unix.h"
255                 xm_file=a29k/xm-unix.h
256                 xmake_file=a29k/x-unix
257                 use_collect2=yes
258                 ;;
259         a29k-*-udi | a29k-*-coff)
260                 tm_file="${tm_file} dbxcoff.h a29k/udi.h"
261                 tmake_file=a29k/t-a29kbare
262                 ;;
263         a29k-*-vxworks*)
264                 tm_file="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h"
265                 tmake_file=a29k/t-vx29k
266                 extra_parts="crtbegin.o crtend.o"
267                 ;;
268         a29k-*-*)                       # Default a29k environment.
269                 use_collect2=yes
270                 ;;
271         alpha*-*-linux-gnuecoff*)
272                 tm_file="${tm_file} alpha/linux.h"
273                 xm_file="${xm_file} alpha/xm-linux.h"
274                 target_cpu_default="MASK_GAS"
275                 gas=no
276                 xmake_file=none
277                 fixincludes=Makefile.in
278                 gas=yes gnu_ld=yes
279                 ;;
280         alpha*-*-linux-gnulibc1*)
281                 tm_file="${tm_file} alpha/linux.h alpha/elf.h"
282                 xm_file="${xm_file} alpha/xm-linux.h"
283                 target_cpu_default="MASK_GAS"
284                 tmake_file="t-linux t-linux-gnulibc1 alpha/t-linux"
285                 xmake_file=none
286                 fixincludes=Makefile.in
287                 gas=yes gnu_ld=yes
288                 if [[ x$enable_threads = xyes ]]; then
289                         thread_file='posix'
290                 fi
291                 ;;
292         alpha*-*-linux-gnu*)
293                 tm_file="${tm_file} alpha/linux.h alpha/elf.h"
294                 xm_file="${xm_file} alpha/xm-linux.h"
295                 target_cpu_default="MASK_GAS"
296                 tmake_file="t-linux alpha/t-linux"
297                 xmake_file=none
298                 fixincludes=Makefile.in
299                 gas=yes gnu_ld=yes
300                 if [[ x$enable_threads = xyes ]]; then
301                         thread_file='posix'
302                 fi
303                 ;;
304         alpha*-dec-osf[[456789]]*)
305                 if [[ x$stabs = xyes ]]
306                 then
307                         tm_file="${tm_file} dbx.h"
308                 fi
309                 if [[ x$gas != xyes ]]
310                 then
311                         extra_passes="mips-tfile mips-tdump"
312                 fi
313                 use_collect2=yes
314                 # Some versions of OSF4 (specifically X4.0-9 296.7) have
315                 # a broken tar, so we use cpio instead.
316                 case $machine in
317                   alpha*-dec-osf4*)
318                     install_headers_dir=install-headers-cpio
319                     ;;
320                 esac
321                 ;;
322         alpha*-dec-osf[[23]]*)
323                 tm_file="${tm_file} alpha/osf2or3.h"
324                 if [[ x$stabs = xyes ]]
325                 then
326                         tm_file="${tm_file} dbx.h"
327                 fi
328                 if [[ x$gas != xyes ]]
329                 then
330                         extra_passes="mips-tfile mips-tdump"
331                 fi
332                 use_collect2=yes
333                 ;;
334         alpha*-dec-osf1.2)
335                 tm_file="${tm_file} alpha/osf12.h"
336                 if [[ x$stabs = xyes ]]
337                 then
338                         tm_file="${tm_file} dbx.h"
339                 fi
340                 if [[ x$gas != xyes ]]
341                 then
342                         extra_passes="mips-tfile mips-tdump"
343                 fi
344                 use_collect2=yes
345                 ;;
346         alpha*-*-osf*)
347                 if [[ x$stabs = xyes ]]
348                 then
349                         tm_file="${tm_file} dbx.h"
350                 fi
351                 if [[ x$gas != xyes ]]
352                 then
353                         extra_passes="mips-tfile mips-tdump"
354                 fi
355                 use_collect2=yes
356                 ;;
357         alpha*-*-winnt3*)
358                 tm_file="${tm_file} alpha/win-nt.h"
359                 target_cpu_default=MASK_WINDOWS_NT
360                 xm_file="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
361                 tmake_file=t-libc-ok
362                 xmake_file=winnt/x-winnt
363                 extra_host_objs=oldnames.o
364                 extra_gcc_objs="spawnv.o oldnames.o"
365                 fixincludes=fixinc.winnt
366                 if [[ x$gnu_ld != xyes ]]
367                 then
368                         extra_programs=ld.exe
369                 fi
370                 if [[ x$enable_threads = xyes ]]; then
371                         thread_file='win32'
372                 fi
373                 ;;
374         alpha*-dec-vms*)
375                 tm_file=alpha/vms.h
376                 xm_file="${xm_file} alpha/xm-vms.h"
377                 tmake_file=alpha/t-vms
378                 fixincludes=Makefile.in
379                 ;;
380         arc-*-elf*)
381                 extra_parts="crtinit.o crtfini.o"
382                 ;;
383         arm-*-coff* | armel-*-coff*)
384                 tm_file=arm/coff.h
385                 tmake_file=arm/t-bare
386                 ;;
387         arm-*-riscix1.[[01]]*)          # Acorn RISC machine (early versions)
388                 tm_file=arm/riscix1-1.h
389                 use_collect2=yes
390                 ;;
391         arm-*-riscix*)                  # Acorn RISC machine
392                 if [[ x$gas = xyes ]]
393                 then
394                     tm_file=arm/rix-gas.h
395                 else
396                     tm_file=arm/riscix.h
397                 fi
398                 xmake_file=arm/x-riscix
399                 tmake_file=arm/t-riscix
400                 use_collect2=yes
401                 ;;
402         arm-semi-aout | armel-semi-aout)
403                 tm_file=arm/semi.h
404                 tmake_file=arm/t-semi
405                 fixincludes=Makefile.in # There is nothing to fix
406                 ;;
407         arm-semi-aof | armel-semi-aof)
408                 tm_file=arm/semiaof.h
409                 tmake_file=arm/t-semiaof
410                 fixincludes=Makefile.in # There is nothing to fix
411                 ;;
412         arm-*-netbsd*)
413                 tm_file=arm/netbsd.h
414                 xm_file=arm/xm-netbsd.h
415                 tmake_file=arm/t-netbsd
416                 # On NetBSD, the headers are already okay, except for math.h.
417                 fixincludes=fixinc.math
418                 use_collect2=yes
419                 ;;
420         arm-*-linux-gnuaout*)           # ARM Linux
421                 cpu_type=arm
422                 xm_file=arm/xm-linux.h
423                 xmake_file=x-linux
424                 tm_file=arm/linux-gas.h
425                 tmake_file=arm/t-linux
426                 fixincludes=Makefile.in
427                 gnu_ld=yes
428                 ;;
429         arm-*-aout)
430                 tm_file=arm/aout.h
431                 ;;
432         c1-convex-*)                    # Convex C1
433                 target_cpu_default=1
434                 use_collect2=yes
435                 fixincludes=Makefile.in
436                 ;;
437         c2-convex-*)                    # Convex C2
438                 target_cpu_default=2
439                 use_collect2=yes
440                 fixincludes=Makefile.in
441                 ;;
442         c32-convex-*)
443                 target_cpu_default=4
444                 use_collect2=yes
445                 fixincludes=Makefile.in
446                 ;;
447         c34-convex-*)
448                 target_cpu_default=8
449                 use_collect2=yes
450                 fixincludes=Makefile.in
451                 ;;
452         c38-convex-*)
453                 target_cpu_default=16           
454                 use_collect2=yes
455                 fixincludes=Makefile.in
456                 ;;
457         clipper-intergraph-clix*)
458                 tm_file="${tm_file} svr3.h clipper/clix.h"
459                 xm_file=clipper/xm-clix.h
460                 xmake_file=clipper/x-clix
461                 extra_headers=va-clipper.h
462                 extra_parts="crtbegin.o crtend.o"
463                 install_headers_dir=install-headers-cpio
464                 ;;
465         dsp16xx-*)
466                 ;;
467         elxsi-elxsi-*)
468                 use_collect2=yes
469                 ;;
470 # This hasn't been upgraded to GCC 2.
471 #       fx80-alliant-*)                 # Alliant FX/80
472 #               ;;
473         h8300-*-*)
474                 float_format=i32
475                 ;;
476         hppa1.1-*-pro*)
477                 if [[ x$enable_haifa != xno ]]; then
478                         enable_haifa=yes
479                 fi
480                 tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h"
481                 xm_file=pa/xm-papro.h
482                 tmake_file=pa/t-pro
483                 ;;
484         hppa1.1-*-osf*)
485                 if [[ x$enable_haifa != xno ]]; then
486                         enable_haifa=yes
487                 fi
488                 target_cpu_default=1
489                 tm_file="${tm_file} pa/pa-osf.h"
490                 use_collect2=yes
491                 fixincludes=Makefile.in
492                 ;;
493         hppa1.1-*-rtems*)
494                 if [[ x$enable_haifa != xno ]]; then
495                         enable_haifa=yes
496                 fi
497                 tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
498                 xm_file=pa/xm-papro.h
499                 tmake_file=pa/t-pro
500                 ;;
501         hppa1.0-*-osf*)
502                 if [[ x$enable_haifa != xno ]]; then
503                         enable_haifa=yes
504                 fi
505                 tm_file="${tm_file} pa/pa-osf.h"
506                 use_collect2=yes
507                 fixincludes=Makefile.in
508                 ;;
509         hppa1.1-*-bsd*)
510                 if [[ x$enable_haifa != xno ]]; then
511                         enable_haifa=yes
512                 fi
513                 target_cpu_default=1
514                 use_collect2=yes
515                 fixincludes=Makefile.in
516                 ;;
517         hppa1.0-*-bsd*)
518                 if [[ x$enable_haifa != xno ]]; then
519                         enable_haifa=yes
520                 fi
521                 use_collect2=yes
522                 fixincludes=Makefile.in
523                 ;;
524         hppa1.0-*-hpux7*)
525                 if [[ x$enable_haifa != xno ]]; then
526                         enable_haifa=yes
527                 fi
528                 tm_file="pa/pa-oldas.h ${tm_file} pa/pa-hpux7.h"
529                 xm_file=pa/xm-pahpux.h
530                 xmake_file=pa/x-pa-hpux
531                 if [[ x$gas = xyes ]]
532                 then
533                         tm_file="${tm_file} pa/gas.h"
534                 fi
535                 install_headers_dir=install-headers-cpio
536                 use_collect2=yes
537                 ;;
538         hppa1.0-*-hpux8.0[[0-2]]*)
539                 if [[ x$enable_haifa != xno ]]; then
540                         enable_haifa=yes
541                 fi
542                 tm_file="${tm_file} pa/pa-hpux.h"
543                 xm_file=pa/xm-pahpux.h
544                 xmake_file=pa/x-pa-hpux
545                 if [[ x$gas = xyes ]]
546                 then
547                         tm_file="${tm_file} pa/pa-gas.h"
548                 else
549                         tm_file="pa/pa-oldas.h ${tm_file}"
550                 fi
551                 install_headers_dir=install-headers-cpio
552                 use_collect2=yes
553                 ;;
554         hppa1.1-*-hpux8.0[[0-2]]*)
555                 if [[ x$enable_haifa != xno ]]; then
556                         enable_haifa=yes
557                 fi
558                 target_cpu_default=1
559                 tm_file="${tm_file} pa/pa-hpux.h"
560                 xm_file=pa/xm-pahpux.h
561                 xmake_file=pa/x-pa-hpux
562                 if [[ x$gas = xyes ]]
563                 then
564                         tm_file="${tm_file} pa/pa-gas.h"
565                 else
566                         tm_file="pa/pa-oldas.h ${tm_file}"
567                 fi
568                 install_headers_dir=install-headers-cpio
569                 use_collect2=yes
570                 ;;
571         hppa1.1-*-hpux8*)
572                 if [[ x$enable_haifa != xno ]]; then
573                         enable_haifa=yes
574                 fi
575                 target_cpu_default=1
576                 tm_file="${tm_file} pa/pa-hpux.h"
577                 xm_file=pa/xm-pahpux.h
578                 xmake_file=pa/x-pa-hpux
579                 if [[ x$gas = xyes ]]
580                 then
581                         tm_file="${tm_file} pa/pa-gas.h"
582                 fi
583                 install_headers_dir=install-headers-cpio
584                 use_collect2=yes
585                 ;;
586         hppa1.0-*-hpux8*)
587                 if [[ x$enable_haifa != xno ]]; then
588                         enable_haifa=yes
589                 fi
590                 tm_file="${tm_file} pa/pa-hpux.h"
591                 xm_file=pa/xm-pahpux.h
592                 xmake_file=pa/x-pa-hpux
593                 if [[ x$gas = xyes ]]
594                 then
595                         tm_file="${tm_file} pa/pa-gas.h"
596                 fi
597                 install_headers_dir=install-headers-cpio
598                 use_collect2=yes
599                 ;;
600         hppa1.1-*-hpux10*)
601                 if [[ x$enable_haifa != xno ]]; then
602                         enable_haifa=yes
603                 fi
604                 target_cpu_default=1
605                 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
606                 xm_file=pa/xm-pahpux.h
607                 xmake_file=pa/x-pa-hpux
608                 if [[ x$gas = xyes ]]
609                 then
610                         tm_file="${tm_file} pa/pa-gas.h"
611                 fi
612                 install_headers_dir=install-headers-cpio
613                 use_collect2=yes
614                 ;;
615         hppa1.0-*-hpux10*)
616                 if [[ x$enable_haifa != xno ]]; then
617                         enable_haifa=yes
618                 fi
619                 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
620                 xm_file=pa/xm-pahpux.h
621                 xmake_file=pa/x-pa-hpux
622                 if [[ x$gas = xyes ]]
623                 then
624                         tm_file="${tm_file} pa/pa-gas.h"
625                 fi
626                 install_headers_dir=install-headers-cpio
627                 use_collect2=yes
628                 ;;
629         hppa1.1-*-hpux*)
630                 if [[ x$enable_haifa != xno ]]; then
631                         enable_haifa=yes
632                 fi
633                 target_cpu_default=1
634                 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
635                 xm_file=pa/xm-pahpux.h
636                 xmake_file=pa/x-pa-hpux
637                 if [[ x$gas = xyes ]]
638                 then
639                         tm_file="${tm_file} pa/pa-gas.h"
640                 fi
641                 install_headers_dir=install-headers-cpio
642                 use_collect2=yes
643                 ;;
644         hppa1.0-*-hpux*)
645                 if [[ x$enable_haifa != xno ]]; then
646                         enable_haifa=yes
647                 fi
648                 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
649                 xm_file=pa/xm-pahpux.h
650                 xmake_file=pa/x-pa-hpux
651                 if [[ x$gas = xyes ]]
652                 then
653                         tm_file="${tm_file} pa/pa-gas.h"
654                 fi
655                 install_headers_dir=install-headers-cpio
656                 use_collect2=yes
657                 ;;
658         hppa1.1-*-hiux*)
659                 if [[ x$enable_haifa != xno ]]; then
660                         enable_haifa=yes
661                 fi
662                 target_cpu_default=1
663                 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
664                 xm_file=pa/xm-pahpux.h
665                 xmake_file=pa/x-pa-hpux
666                 if [[ x$gas = xyes ]]
667                 then
668                         tm_file="${tm_file} pa/pa-gas.h"
669                 fi
670                 install_headers_dir=install-headers-cpio
671                 use_collect2=yes
672                 ;;
673         hppa1.0-*-hiux*)
674                 if [[ x$enable_haifa != xno ]]; then
675                         enable_haifa=yes
676                 fi
677                 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
678                 xm_file=pa/xm-pahpux.h
679                 xmake_file=pa/x-pa-hpux
680                 if [[ x$gas = xyes ]]
681                 then
682                         tm_file="${tm_file} pa/pa-gas.h"
683                 fi
684                 install_headers_dir=install-headers-cpio
685                 use_collect2=yes
686                 ;;
687         hppa*-*-lites*)
688                 if [[ x$enable_haifa != xno ]]; then
689                         enable_haifa=yes
690                 fi
691                 target_cpu_default=1
692                 use_collect2=yes
693                 fixincludes=Makefile.in
694                 ;;
695         i370-*-mvs*)
696                 ;;
697         i[[3456]]86-ibm-aix*)           # IBM PS/2 running AIX
698                 if [[ x$gas = xyes ]]
699                 then
700                         tm_file=i386/aix386.h
701                         extra_parts="crtbegin.o crtend.o"
702                         tmake_file=i386/t-crtstuff
703                 else
704                         tm_file=i386/aix386ng.h
705                         use_collect2=yes
706                 fi
707                 xm_file=i386/xm-aix.h
708                 xmake_file=i386/x-aix
709                 ;;
710         i486-ncr-sysv4*)                # NCR 3000 - i486 running system V.4
711                 xm_file=i386/xm-sysv4.h
712                 xmake_file=i386/x-ncr3000
713                 if [[ x$stabs = xyes -a x$gas = xyes ]]
714                 then
715                         tm_file=i386/sysv4gdb.h
716                 else
717                         tm_file=i386/sysv4.h
718                 fi
719                 extra_parts="crtbegin.o crtend.o"
720                 tmake_file=i386/t-crtpic
721                 ;;
722         i[[3456]]86-next-*)
723                 tm_file=i386/next.h
724                 xm_file=i386/xm-next.h
725                 tmake_file=i386/t-next
726                 xmake_file=i386/x-next
727                 extra_objs=nextstep.o
728                 if [[ x$enable_threads = xyes ]]; then
729                         thread_file='mach'
730                 fi
731                 ;;
732         i[[3456]]86-sequent-bsd*)               # 80386 from Sequent
733                 use_collect2=yes
734                 if [[ x$gas = xyes ]]
735                 then
736                         tm_file=i386/seq-gas.h
737                 else
738                         tm_file=i386/sequent.h
739                 fi
740                 ;;
741         i[[3456]]86-sequent-ptx1*)
742                 xm_file=i386/xm-sysv3.h
743                 xmake_file=i386/x-sysv3
744                 tm_file=i386/seq-sysv3.h
745                 tmake_file=i386/t-crtstuff
746                 fixincludes=fixinc.ptx
747                 extra_parts="crtbegin.o crtend.o"
748                 install_headers_dir=install-headers-cpio
749                 ;;
750         i[[3456]]86-sequent-ptx2* | i[[3456]]86-sequent-sysv3*)
751                 xm_file=i386/xm-sysv3.h
752                 xmake_file=i386/x-sysv3
753                 tm_file=i386/seq2-sysv3.h
754                 tmake_file=i386/t-crtstuff
755                 extra_parts="crtbegin.o crtend.o"
756                 fixincludes=fixinc.ptx
757                 install_headers_dir=install-headers-cpio
758                 ;;
759         i[[3456]]86-sequent-ptx4* | i[[3456]]86-sequent-sysv4*)
760                 xm_file=i386/xm-sysv4.h
761                 xmake_file=x-svr4
762                 tm_file=i386/ptx4-i.h
763                 tmake_file=t-svr4
764                 extra_parts="crtbegin.o crtend.o"
765                 fixincludes=fixinc.ptx
766                 install_headers_dir=install-headers-cpio
767                 ;;
768         i386-sun-sunos*)                # Sun i386 roadrunner
769                 xm_file=i386/xm-sun.h
770                 tm_file=i386/sun.h
771                 use_collect2=yes
772                 ;;
773         i[[3456]]86-*-aout*)
774                 tm_file=i386/i386-aout.h
775                 tmake_file=i386/t-i386bare
776                 ;;
777         i[[3456]]86-*-bsdi* | i[[345]]86-*-bsd386*)
778                 tm_file=i386/bsd386.h
779                 xm_file=i386/xm-bsd386.h
780 #               tmake_file=t-libc-ok
781                 ;;
782         i[[3456]]86-*-bsd*)
783                 tm_file=i386/386bsd.h
784                 xm_file=i386/xm-bsd386.h
785 #               tmake_file=t-libc-ok
786 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
787 #               use_collect2=yes
788                 ;;
789         i[[3456]]86-*-freebsdelf*)
790                 tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
791                 xm_file=i386/xm-freebsd.h
792                 # On FreeBSD, the headers are already ok, except for math.h.
793                 fixincludes=fixinc.math
794                 tmake_file=i386/t-freebsd
795                 gas=yes
796                 gnu_ld=yes
797                 stabs=yes
798                 ;;
799         i[[3456]]86-*-freebsd*)
800                 tm_file=i386/freebsd.h
801                 xm_file=i386/xm-freebsd.h
802                 # On FreeBSD, the headers are already ok, except for math.h.
803                 fixincludes=fixinc.math
804                 tmake_file=i386/t-freebsd
805                 ;;
806         i[[3456]]86-*-netbsd*)
807                 tm_file=i386/netbsd.h
808                 xm_file=i386/xm-netbsd.h
809                 # On NetBSD, the headers are already okay, except for math.h.
810                 fixincludes=fixinc.math
811                 tmake_file=t-netbsd
812                 ;;
813         i[[3456]]86-*-coff*)
814                 tm_file=i386/i386-coff.h
815                 tmake_file=i386/t-i386bare
816                 ;;
817         i[[3456]]86-*-isc*)             # 80386 running ISC system
818                 xm_file=i386/xm-isc.h
819                 case $machine in
820                   i[[345]]86-*-isc[[34]]*)
821                     xmake_file=i386/x-isc3
822                     ;;
823                   *)
824                     xmake_file=i386/x-isc
825                     ;;
826                 esac
827                 if [[ x$gas = xyes -a x$stabs = xyes ]]
828                 then
829                         tm_file=i386/iscdbx.h
830                         tmake_file=i386/t-svr3dbx
831                         extra_parts="svr3.ifile svr3z.ifile"
832                 else
833                         tm_file=i386/isccoff.h
834                         tmake_file=i386/t-crtstuff
835                         extra_parts="crtbegin.o crtend.o"
836                 fi
837                 install_headers_dir=install-headers-cpio
838                 ;;
839         i[[3456]]86-*-linux-gnuoldld*)  # Intel 80386's running Linux
840                 xm_file=i386/xm-linux.h # with a.out format using pre BFD linkers
841                 xmake_file=x-linux-aout
842                 tmake_file="t-linux-aout i386/t-crtstuff"
843                 tm_file=i386/linux-oldld.h
844                 fixincludes=Makefile.in #On Linux, the headers are ok already.
845                 gnu_ld=yes
846                 ;;
847         i[[3456]]86-*-linux-gnuaout*)           # Intel 80386's running Linux
848                 xm_file=i386/xm-linux.h         # with a.out format
849                 xmake_file=x-linux-aout
850                 tmake_file="t-linux-aout i386/t-crtstuff"
851                 tm_file=i386/linux-aout.h
852                 fixincludes=Makefile.in #On Linux, the headers are ok already.
853                 gnu_ld=yes
854                 ;;
855         i[[3456]]86-*-linux-gnulibc1)
856                 xm_file=i386/xm-linux.h # Intel 80386's running Linux
857                 xmake_file=x-linux      # with ELF format using the
858                 tm_file=i386/linux.h    # Linux C library 5
859                 tmake_file="t-linux t-linux-gnulibc1 i386/t-crtstuff"
860                 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
861                 fixincludes=Makefile.in #On Linux, the headers are ok already.
862                 gnu_ld=yes
863                 if [[ x$enable_threads = xyes ]]; then
864                         thread_file='single'
865                 fi
866                 ;;
867         i[[3456]]86-*-linux-gnu*)               # Intel 80386's running Linux
868                 xm_file=i386/xm-linux.h # with ELF format using glibc 2
869                 xmake_file=x-linux      # aka Linux C library 6
870                 tm_file=i386/linux.h
871                 tmake_file="t-linux i386/t-crtstuff"
872                 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
873                 fixincludes=Makefile.in #On Linux, the headers are ok already.
874                 gnu_ld=yes
875                 if [[ x$enable_threads = xyes ]]; then
876                         thread_file='posix'
877                 fi
878                 ;;
879         i[[3456]]86-*-gnu*)
880                 ;;
881         i[[3456]]86-go32-msdos | i[[3456]]86-*-go32*)
882                 xm_file=i386/xm-go32.h
883                 tm_file=i386/go32.h
884                 tmake_file=i386/t-go32
885                 ;;
886         i[[3456]]86-moss-msdos* | i[[3456]]86-*-moss*)
887                 tm_file=i386/moss.h
888                 tmake_file=t-libc-ok
889                 fixincludes=Makefile.in
890                 gnu_ld=yes
891                 gas=yes
892                 ;;
893         i[[3456]]86-*-lynxos*)
894                 if [[ x$gas = xyes ]]
895                 then
896                         tm_file=i386/lynx.h
897                 else
898                         tm_file=i386/lynx-ng.h
899                 fi
900                 xm_file=i386/xm-lynx.h
901                 tmake_file=i386/t-i386bare
902                 xmake_file=x-lynx
903                 ;;
904         i[[3456]]86-*-mach*)
905                 tm_file=i386/mach.h
906 #               tmake_file=t-libc-ok
907                 use_collect2=yes
908                 ;;
909         i[[3456]]86-*-osfrose*)         # 386 using OSF/rose
910                 if [[ x$elf = xyes ]]
911                 then
912                         tm_file=i386/osfelf.h
913                         use_collect2=
914                 else
915                         tm_file=i386/osfrose.h
916                         use_collect2=yes
917                 fi
918                 xm_file=i386/xm-osf.h
919                 xmake_file=i386/x-osfrose
920                 tmake_file=i386/t-osf
921                 extra_objs=halfpic.o
922                 ;;
923         i[[345]]86-go32-rtems*)
924                 cpu_type=i386
925                 xm_file=i386/xm-go32.h
926                 tm_file=i386/go32-rtems.h
927                 tmake_file="i386/t-go32 t-rtems"
928                 ;;
929         i[[345]]86-*-rtems*)
930                 cpu_type=i386
931                 tm_file=i386/rtems.h
932                 tmake_file="i386/t-i386bare t-rtems"
933                 ;;
934         i[[3456]]86-*-sco3.2v5*)                # 80386 running SCO Open Server 5
935                 xm_file=i386/xm-sco5.h
936                 xmake_file=i386/x-sco5
937                 fixincludes=fixinc.sco
938                 tm_file=i386/sco5.h
939                 tmake_file=i386/t-sco5
940                 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
941                 ;;
942         i[[3456]]86-*-sco3.2v4*)                # 80386 running SCO 3.2v4 system
943                 xm_file=i386/xm-sco.h
944                 xmake_file=i386/x-sco4
945                 fixincludes=fixinc.sco
946                 install_headers_dir=install-headers-cpio
947                 if [[ x$stabs = xyes ]]
948                 then
949                         tm_file=i386/sco4dbx.h
950                         tmake_file=i386/t-svr3dbx
951                         extra_parts="svr3.ifile svr3z.rfile"
952                 else
953                         tm_file=i386/sco4.h
954                         tmake_file=i386/t-crtstuff
955                         extra_parts="crtbegin.o crtend.o"
956                 fi
957                 truncate_target=yes
958                 ;;
959         i[[3456]]86-*-sco*)             # 80386 running SCO system
960                 xm_file=i386/xm-sco.h
961                 xmake_file=i386/x-sco
962                 install_headers_dir=install-headers-cpio
963                 if [[ x$stabs = xyes ]]
964                 then
965                         tm_file=i386/scodbx.h
966                         tmake_file=i386/t-svr3dbx
967                         extra_parts="svr3.ifile svr3z.rfile"
968                 else
969                         tm_file=i386/sco.h
970                         extra_parts="crtbegin.o crtend.o"
971                         tmake_file=i386/t-crtstuff
972                 fi
973                 truncate_target=yes
974                 ;;
975         i[[3456]]86-*-solaris2*)
976                 xm_file=i386/xm-sysv4.h
977                 if [[ x$stabs = xyes ]]
978                 then
979                         tm_file=i386/sol2dbg.h
980                 else
981                         tm_file=i386/sol2.h
982                 fi
983                 tmake_file=i386/t-sol2
984                 extra_parts="crt1.o crti.o crtn.o crtbegin.o crtend.o"
985                 xmake_file=x-svr4
986                 fixincludes=fixinc.svr4
987                 if [[ x$enable_threads = xyes ]]; then
988                         thread_file='solaris'
989                 fi
990                 ;;
991         i[[3456]]86-*-sysv4*)           # Intel 80386's running system V.4
992                 xm_file=i386/xm-sysv4.h
993                 tm_file=i386/sysv4.h
994                 if [[ x$stabs = xyes ]]
995                 then
996                         tm_file="${tm_file} dbx.h"
997                 fi
998                 tmake_file=i386/t-crtpic
999                 xmake_file=x-svr4
1000                 extra_parts="crtbegin.o crtend.o"
1001                 ;;
1002         i[[3456]]86-*-sysv*)            # Intel 80386's running system V
1003                 xm_file=i386/xm-sysv3.h
1004                 xmake_file=i386/x-sysv3
1005                 if [[ x$gas = xyes ]]
1006                 then
1007                         if [[ x$stabs = xyes ]]
1008                         then
1009                                 tm_file=i386/svr3dbx.h
1010                                 tmake_file=i386/t-svr3dbx
1011                                 extra_parts="svr3.ifile svr3z.rfile"
1012                         else
1013                                 tm_file=i386/svr3gas.h
1014                                 extra_parts="crtbegin.o crtend.o"
1015                                 tmake_file=i386/t-crtstuff
1016                         fi
1017                 else
1018                         tm_file=i386/sysv3.h
1019                         extra_parts="crtbegin.o crtend.o"
1020                         tmake_file=i386/t-crtstuff
1021                 fi
1022                 ;;
1023         i386-*-vsta)                    # Intel 80386's running VSTa kernel
1024                 xm_file=i386/xm-vsta.h
1025                 tm_file=i386/vsta.h
1026                 tmake_file=i386/t-vsta
1027                 xmake_file=i386/x-vsta
1028                 ;;
1029         i[[3456]]86-*-pe | i[[3456]]86-*-cygwin32)
1030                 xm_file="${xm_file} i386/xm-cygwin32.h"
1031                 tmake_file=i386/t-cygwin32
1032                 tm_file=i386/cygwin32.h
1033                 xmake_file=i386/x-cygwin32
1034                 extra_objs=winnt.o
1035                 fixincludes=Makefile.in
1036                 if [[ x$enable_threads = xyes ]]; then
1037                         thread_file='win32'
1038                 fi
1039                 exeext=.exe
1040                 ;;
1041         i[[3456]]86-*-mingw32)
1042                 tm_file=i386/mingw32.h
1043                 xm_file="${xm_file} i386/xm-mingw32.h"
1044                 tmake_file=i386/t-cygwin32
1045                 extra_objs=winnt.o
1046                 xmake_file=i386/x-cygwin32
1047                 fixincludes=Makefile.in
1048                 if [[ x$enable_threads = xyes ]]; then
1049                         thread_file='win32'
1050                 fi
1051                 exeext=.exe
1052                 ;;
1053         i[[3456]]86-*-winnt3*)
1054                 tm_file=i386/win-nt.h
1055                 out_file=i386/i386.c
1056                 xm_file=i386/xm-winnt.h
1057                 xmake_file=winnt/x-winnt
1058                 tmake_file=i386/t-winnt
1059                 extra_host_objs="winnt.o oldnames.o"
1060                 extra_gcc_objs="spawnv.o oldnames.o"
1061                 fixincludes=fixinc.winnt
1062                 if [[ x$gnu_ld != xyes ]]
1063                 then
1064                         extra_programs=ld.exe
1065                 fi
1066                 if [[ x$enable_threads = xyes ]]; then
1067                         thread_file='win32'
1068                 fi
1069                 ;;
1070         i[[3456]]86-dg-dgux)
1071                 xm_file=i386/xm-dgux.h
1072                 out_file=i386/dgux.c
1073                 tm_file=i386/dgux.h
1074                 tmake_file=i386/t-dgux
1075                 xmake_file=i386/x-dgux
1076                 fixincludes=fixinc.dgux
1077                 install_headers_dir=install-headers-cpio
1078               ;;
1079         i860-alliant-*)         # Alliant FX/2800
1080                 tm_file="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
1081                 xm_file="${xm_file} i860/xm-fx2800.h"
1082                 xmake_file=i860/x-fx2800
1083                 tmake_file=i860/t-fx2800
1084                 extra_parts="crtbegin.o crtend.o"
1085                 ;;
1086         i860-*-bsd*)
1087                 tm_file="${tm_file} i860/bsd.h"
1088                 if [[ x$gas = xyes ]]
1089                 then
1090                         tm_file="${tm_file} i860/bsd-gas.h"
1091                 fi
1092                 use_collect2=yes
1093                 ;;
1094         i860-*-mach*)
1095                 tm_file="${tm_file} i860/mach.h"
1096                 tmake_file=t-libc-ok
1097                 ;;
1098         i860-*-osf*)                    # Intel Paragon XP/S, OSF/1AD
1099                 tm_file="${tm_file} svr3.h i860/paragon.h"
1100                 xm_file="${xm_file} xm-svr3.h"
1101                 tmake_file=t-osf
1102                 ;;
1103         i860-*-sysv3*)
1104                 tm_file="${tm_file} svr3.h i860/sysv3.h"
1105                 xm_file="${tm_file} xm-svr3.h"
1106                 xmake_file=i860/x-sysv3
1107                 extra_parts="crtbegin.o crtend.o"
1108                 ;;
1109         i860-*-sysv4*)
1110                 tm_file="${tm_file} svr4.h i860/sysv4.h"
1111                 xm_file="${xm_file} xm-svr3.h"
1112                 xmake_file=i860/x-sysv4
1113                 tmake_file=t-svr4
1114                 extra_parts="crtbegin.o crtend.o"
1115                 ;;
1116         i960-wrs-vxworks5 | i960-wrs-vxworks5.0*)
1117                 tm_file="${tm_file} i960/vx960.h"
1118                 tmake_file=i960/t-vxworks960
1119                 use_collect2=yes
1120                 ;;
1121         i960-wrs-vxworks5*)
1122                 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
1123                 tmake_file=i960/t-vxworks960
1124                 use_collect2=yes
1125                 ;;
1126         i960-wrs-vxworks*)
1127                 tm_file="${tm_file} i960/vx960.h"
1128                 tmake_file=i960/t-vxworks960
1129                 use_collect2=yes
1130                 ;;
1131         i960-*-coff*)
1132                 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
1133                 tmake_file=i960/t-960bare
1134                 use_collect2=yes
1135                 ;;
1136         i960-*-rtems)
1137                 tmake_file="i960/t-960bare t-rtems"
1138                 tm_file="${tm_file} dbxcoff.h i960/rtems.h"
1139                 use_collect2=yes
1140                 ;;
1141         i960-*-*)                       # Default i960 environment.
1142                 use_collect2=yes
1143                 ;;
1144         m32r-*-elf*)
1145                 extra_parts="crtinit.o crtfini.o"
1146                 ;;
1147         m68000-convergent-sysv*)
1148                 tm_file=m68k/ctix.h
1149                 xm_file=m68k/xm-3b1.h
1150                 use_collect2=yes
1151                 extra_headers=math-68881.h
1152                 ;;
1153         m68000-hp-bsd*)                 # HP 9000/200 running BSD
1154                 tm_file=m68k/hp2bsd.h
1155                 xmake_file=m68k/x-hp2bsd
1156                 use_collect2=yes
1157                 extra_headers=math-68881.h
1158                 ;;
1159         m68000-hp-hpux*)                # HP 9000 series 300
1160                 xm_file=m68k/xm-hp320.h
1161                 if [[ x$gas = xyes ]]
1162                 then
1163                         xmake_file=m68k/x-hp320g
1164                         tm_file=m68k/hp310g.h
1165                 else
1166                         xmake_file=m68k/x-hp320
1167                         tm_file=m68k/hp310.h
1168                 fi
1169                 install_headers_dir=install-headers-cpio
1170                 use_collect2=yes
1171                 extra_headers=math-68881.h
1172                 ;;
1173         m68000-sun-sunos3*)
1174                 tm_file=m68k/sun2.h
1175                 use_collect2=yes
1176                 extra_headers=math-68881.h
1177                 ;;
1178         m68000-sun-sunos4*)
1179                 tm_file=m68k/sun2o4.h
1180                 use_collect2=yes
1181                 extra_headers=math-68881.h
1182                 ;;
1183         m68000-att-sysv*)
1184                 xm_file=m68k/xm-3b1.h
1185                 if [[ x$gas = xyes ]]
1186                 then
1187                         tm_file=m68k/3b1g.h
1188                 else
1189                         tm_file=m68k/3b1.h
1190                 fi
1191                 use_collect2=yes
1192                 extra_headers=math-68881.h
1193                 ;;
1194         m68k-apple-aux*)                # Apple Macintosh running A/UX
1195                 xm_file=m68k/xm-aux.h
1196                 tmake_file=m68k/t-aux
1197                 install_headers_dir=install-headers-cpio
1198                 extra_headers=math-68881.h
1199                 extra_parts="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
1200                 tm_file=
1201                 if [[ "$gnu_ld" = yes ]]
1202                 then
1203                         tm_file="${tm_file} m68k/auxgld.h"
1204                 else
1205                         tm_file="${tm_file} m68k/auxld.h"
1206                 fi
1207                 if [[ "$gas" = yes ]]
1208                 then
1209                         tm_file="${tm_file} m68k/auxgas.h"
1210                 else
1211                         tm_file="${tm_file} m68k/auxas.h"
1212                 fi
1213                 tm_file="${tm_file} m68k/a-ux.h"
1214                 ;;
1215         m68k-apollo-*)
1216                 tm_file=m68k/apollo68.h
1217                 xmake_file=m68k/x-apollo68
1218                 use_collect2=yes
1219                 extra_headers=math-68881.h
1220                 ;;
1221         m68k-altos-sysv*)                  # Altos 3068
1222                 if [[ x$gas = xyes ]]
1223                 then
1224                         tm_file=m68k/altos3068.h
1225                         xm_file=m68k/xm-altos3068.h
1226                 else
1227                         echo "The Altos is supported only with the GNU assembler" 1>&2
1228                         exit 1
1229                 fi
1230                 extra_headers=math-68881.h
1231                 ;;
1232         m68k-bull-sysv*)                # Bull DPX/2
1233                 if [[ x$gas = xyes ]]
1234                 then
1235                         if [[ x$stabs = xyes ]]
1236                         then
1237                                 tm_file=m68k/dpx2cdbx.h
1238                         else
1239                                 tm_file=m68k/dpx2g.h
1240                         fi
1241                 else
1242                         tm_file=m68k/dpx2.h
1243                 fi
1244                 xm_file=m68k/xm-m68kv.h
1245                 xmake_file=m68k/x-dpx2
1246                 use_collect2=yes
1247                 extra_headers=math-68881.h
1248                 ;;
1249         m68k-atari-sysv4*)              # Atari variant of V.4.
1250                 tm_file=m68k/atari.h
1251                 xm_file=m68k/xm-atari.h
1252                 tmake_file=t-svr4
1253                 extra_parts="crtbegin.o crtend.o"
1254                 extra_headers=math-68881.h
1255                 ;;
1256         m68k-motorola-sysv*)
1257                 tm_file=m68k/mot3300.h
1258                 xm_file=m68k/xm-mot3300.h
1259                 if [[ x$gas = xyes ]]
1260                 then
1261                         xmake_file=m68k/x-mot3300-gas
1262                         if [[ x$gnu_ld = xyes ]]
1263                         then
1264                                 tmake_file=m68k/t-mot3300-gald
1265                         else
1266                                 tmake_file=m68k/t-mot3300-gas
1267                                 use_collect2=yes
1268                         fi
1269                 else
1270                         xmake_file=m68k/x-mot3300
1271                         if [[ x$gnu_ld = xyes ]]
1272                         then
1273                                 tmake_file=m68k/t-mot3300-gld
1274                         else
1275                                 tmake_file=m68k/t-mot3300
1276                                 use_collect2=yes
1277                         fi
1278                 fi
1279                 gdb_needs_out_file_path=yes
1280                 extra_parts="crt0.o mcrt0.o"
1281                 extra_headers=math-68881.h
1282                 ;;
1283         m68k-ncr-sysv*)                 # NCR Tower 32 SVR3
1284                 tm_file=m68k/tower-as.h
1285                 xm_file=m68k/xm-tower.h
1286                 xmake_file=m68k/x-tower
1287                 extra_parts="crtbegin.o crtend.o"
1288                 extra_headers=math-68881.h
1289                 ;;
1290         m68k-plexus-sysv*)
1291                 tm_file=m68k/plexus.h
1292                 xm_file=m68k/xm-plexus.h
1293                 use_collect2=yes
1294                 extra_headers=math-68881.h
1295                 ;;
1296         m68k-tti-*)
1297                 tm_file=m68k/pbb.h
1298                 xm_file=m68k/xm-m68kv.h
1299                 extra_headers=math-68881.h
1300                 ;;
1301         m68k-crds-unos*)
1302                 xm_file=m68k/xm-crds.h
1303                 xmake_file=m68k/x-crds
1304                 tm_file=m68k/crds.h
1305                 use_collect2=yes
1306                 extra_headers=math-68881.h
1307                 ;;
1308         m68k-cbm-sysv4*)                # Commodore variant of V.4.
1309                 tm_file=m68k/amix.h
1310                 xm_file=m68k/xm-amix.h
1311                 xmake_file=m68k/x-amix
1312                 tmake_file=t-svr4
1313                 extra_parts="crtbegin.o crtend.o"
1314                 extra_headers=math-68881.h
1315                 ;;
1316         m68k-ccur-rtu)
1317                 tm_file=m68k/ccur-GAS.h
1318                 xmake_file=m68k/x-ccur
1319                 extra_headers=math-68881.h
1320                 use_collect2=yes
1321                 ;;
1322         m68k-hp-bsd4.4*)                # HP 9000/3xx running 4.4bsd
1323                 tm_file=m68k/hp3bsd44.h
1324                 xmake_file=m68k/x-hp3bsd44
1325                 use_collect2=yes
1326                 extra_headers=math-68881.h
1327                 ;;
1328         m68k-hp-bsd*)                   # HP 9000/3xx running Berkeley Unix
1329                 tm_file=m68k/hp3bsd.h
1330                 use_collect2=yes
1331                 extra_headers=math-68881.h
1332                 ;;
1333         m68k-isi-bsd*)
1334                 if [[ x$with_fp = xno ]]
1335                 then
1336                         tm_file=m68k/isi-nfp.h
1337                 else
1338                         tm_file=m68k/isi.h
1339                 fi
1340                 use_collect2=yes
1341                 extra_headers=math-68881.h
1342                 ;;
1343         m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
1344                 xm_file=m68k/xm-hp320.h
1345                 if [[ x$gas = xyes ]]
1346                 then
1347                         xmake_file=m68k/x-hp320g
1348                         tm_file=m68k/hp320g.h
1349                 else
1350                         xmake_file=m68k/x-hp320
1351                         tm_file=m68k/hpux7.h
1352                 fi
1353                 install_headers_dir=install-headers-cpio
1354                 use_collect2=yes
1355                 extra_headers=math-68881.h
1356                 ;;
1357         m68k-hp-hpux*)  # HP 9000 series 300
1358                 xm_file=m68k/xm-hp320.h
1359                 if [[ x$gas = xyes ]]
1360                 then
1361                         xmake_file=m68k/x-hp320g
1362                         tm_file=m68k/hp320g.h
1363                 else
1364                         xmake_file=m68k/x-hp320
1365                         tm_file=m68k/hp320.h
1366                 fi
1367                 install_headers_dir=install-headers-cpio
1368                 use_collect2=yes
1369                 extra_headers=math-68881.h
1370                 ;;
1371         m68k-sun-mach*)
1372                 tm_file=m68k/sun3mach.h
1373                 use_collect2=yes
1374                 extra_headers=math-68881.h
1375                 ;;
1376         m68k-sony-newsos3*)
1377                 if [[ x$gas = xyes ]]
1378                 then
1379                         tm_file=m68k/news3gas.h
1380                 else
1381                         tm_file=m68k/news3.h
1382                 fi
1383                 use_collect2=yes
1384                 extra_headers=math-68881.h
1385                 ;;
1386         m68k-sony-bsd* | m68k-sony-newsos*)
1387                 if [[ x$gas = xyes ]]
1388                 then
1389                         tm_file=m68k/newsgas.h
1390                 else
1391                         tm_file=m68k/news.h
1392                 fi
1393                 use_collect2=yes
1394                 extra_headers=math-68881.h
1395                 ;;
1396         m68k-next-nextstep2*)
1397                 tm_file=m68k/next21.h
1398                 xm_file=m68k/xm-next.h
1399                 tmake_file=m68k/t-next
1400                 xmake_file=m68k/x-next
1401                 extra_objs=nextstep.o
1402                 extra_headers=math-68881.h
1403                 use_collect2=yes
1404                 ;;
1405         m68k-next-nextstep3*)
1406                 tm_file=m68k/next.h
1407                 xm_file=m68k/xm-next.h
1408                 tmake_file=m68k/t-next
1409                 xmake_file=m68k/x-next
1410                 extra_objs=nextstep.o
1411                 extra_headers=math-68881.h
1412                 if [[ x$enable_threads = xyes ]]; then
1413                         thread_file='mach'
1414                 fi
1415                 ;;
1416         m68k-sun-sunos3*)
1417                 if [[ x$with_fp = xno ]]
1418                 then
1419                         tm_file=m68k/sun3n3.h
1420                 else
1421                         tm_file=m68k/sun3o3.h
1422                 fi
1423                 use_collect2=yes
1424                 extra_headers=math-68881.h
1425                 ;;
1426         m68k-sun-sunos*)                        # For SunOS 4 (the default).
1427                 if [[ x$with_fp = xno ]]
1428                 then
1429                         tm_file=m68k/sun3n.h
1430                 else
1431                         tm_file=m68k/sun3.h
1432                 fi
1433                 xm_file=m68k/xm-sun3.h
1434                 use_collect2=yes
1435                 extra_headers=math-68881.h
1436                 ;;
1437         m68k-wrs-vxworks*)
1438                 tm_file=m68k/vxm68k.h
1439                 tmake_file=m68k/t-vxworks68
1440                 extra_headers=math-68881.h
1441                 ;;
1442         m68k-*-aout*)
1443                 tmake_file=m68k/t-m68kbare
1444                 tm_file="m68k/m68k-aout.h libgloss.h"
1445                 extra_headers=math-68881.h
1446                 ;;
1447         m68k-*-coff*)
1448                 tmake_file=m68k/t-m68kbare
1449                 tm_file="m68k/m68k-coff.h dbx.h libgloss.h"
1450                 extra_headers=math-68881.h
1451                 ;;
1452         m68k-*-lynxos*)
1453                 if [[ x$gas = xyes ]]
1454                 then
1455                         tm_file=m68k/lynx.h
1456                 else
1457                         tm_file=m68k/lynx-ng.h
1458                 fi
1459                 xm_file=m68k/xm-lynx.h
1460                 xmake_file=x-lynx
1461                 tmake_file=m68k/t-lynx
1462                 extra_headers=math-68881.h
1463                 ;;
1464         m68k-*-netbsd*)
1465                 tm_file=m68k/netbsd.h
1466                 xm_file=m68k/xm-netbsd.h
1467                 # On NetBSD, the headers are already okay, except for math.h.
1468                 fixincludes=fixinc.math
1469                 tmake_file=t-netbsd
1470                 ;;
1471         m68k-*-sysv3*)                  # Motorola m68k's running system V.3
1472                 xm_file=m68k/xm-m68kv.h
1473                 xmake_file=m68k/x-m68kv
1474                 extra_parts="crtbegin.o crtend.o"
1475                 extra_headers=math-68881.h
1476                 ;;
1477         m68k-*-sysv4*)                  # Motorola m68k's running system V.4
1478                 tm_file=m68k/m68kv4.h
1479                 xm_file=m68k/xm-m68kv.h
1480                 tmake_file=t-svr4
1481                 extra_parts="crtbegin.o crtend.o"
1482                 extra_headers=math-68881.h
1483                 ;;
1484         m68k-*-linux-gnuaout*)          # Motorola m68k's running Linux
1485                 xm_file=m68k/xm-linux.h # with a.out format
1486                 xmake_file=x-linux
1487                 tm_file=m68k/linux-aout.h
1488                 tmake_file="t-linux-aout m68k/t-linux-aout"
1489                 fixincludes=Makefile.in #On Linux, the headers are ok already.
1490                 extra_headers=math-68881.h
1491                 gnu_ld=yes
1492                 ;;
1493         m68k-*-linux-gnulibc1)          # Motorola m68k's running Linux
1494                 xm_file=m68k/xm-linux.h # with ELF format using the
1495                 xmake_file=x-linux      # Linux C library 5
1496                 tm_file=m68k/linux.h
1497                 tmake_file="t-linux t-linux-gnulibc1 m68k/t-linux"
1498                 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1499                 fixincludes=Makefile.in #On Linux, the headers are ok already.
1500                 extra_headers=math-68881.h
1501                 gnu_ld=yes
1502                 ;;
1503         m68k-*-linux-gnu*)                      # Motorola m68k's running Linux
1504                 xm_file=m68k/xm-linux.h # with ELF format using glibc 2
1505                 xmake_file=x-linux      # aka the Linux C library 6.
1506                 tm_file=m68k/linux.h
1507                 tmake_file="t-linux m68k/t-linux"
1508                 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1509                 fixincludes=Makefile.in #On Linux, the headers are ok already.
1510                 extra_headers=math-68881.h
1511                 gnu_ld=yes
1512                 if [[ x$enable_threads = xyes ]]; then
1513                         thread_file='posix'
1514                 fi
1515                 ;;
1516         m68k-*-psos*)
1517                 tmake_file=m68k/t-m68kbare
1518                 tm_file=m68k/m68k-psos.h
1519                 extra_headers=math-68881.h
1520                 ;;
1521         m68k-*-rtems*)
1522                 tmake_file="m68k/t-m68kbare t-rtems"
1523                 tm_file=m68k/rtems.h
1524                 extra_headers=math-68881.h
1525                 ;;
1526
1527         m88k-dg-dgux*)
1528                 case $machine in
1529                   m88k-dg-dguxbcs*)
1530                     tm_file=m88k/dguxbcs.h
1531                     tmake_file=m88k/t-dguxbcs
1532                     ;;
1533                   *)
1534                     tm_file=m88k/dgux.h
1535                     tmake_file=m88k/t-dgux
1536                     ;;
1537                 esac
1538                 extra_parts="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
1539                 xmake_file=m88k/x-dgux
1540                 if [[ x$gas = xyes ]]
1541                 then
1542                         tmake_file=m88k/t-dgux-gas
1543                 fi
1544                 fixincludes=fixinc.dgux
1545                 ;;
1546         m88k-dolphin-sysv3*)
1547                 tm_file=m88k/dolph.h
1548                 extra_parts="crtbegin.o crtend.o"
1549                 xm_file=m88k/xm-sysv3.h
1550                 xmake_file=m88k/x-dolph
1551                 if [[ x$gas = xyes ]]
1552                 then
1553                         tmake_file=m88k/t-m88k-gas
1554                 fi
1555                 ;;
1556         m88k-tektronix-sysv3)
1557                 tm_file=m88k/tekXD88.h
1558                 extra_parts="crtbegin.o crtend.o"
1559                 xm_file=m88k/xm-sysv3.h
1560                 xmake_file=m88k/x-tekXD88
1561                 if [[ x$gas = xyes ]]
1562                 then
1563                         tmake_file=m88k/t-m88k-gas
1564                 fi
1565                 ;;
1566         m88k-*-aout*)
1567                 tm_file=m88k/m88k-aout.h
1568                 ;;
1569         m88k-*-coff*)
1570                 tm_file=m88k/m88k-coff.h
1571                 tmake_file=m88k/t-bug
1572                 ;;
1573         m88k-*-luna*)
1574                 tm_file=m88k/luna.h
1575                 extra_parts="crtbegin.o crtend.o"
1576                 if [[ x$gas = xyes ]]
1577                 then
1578                         tmake_file=m88k/t-luna-gas
1579                 else
1580                         tmake_file=m88k/t-luna
1581                 fi
1582                 ;;
1583         m88k-*-sysv3*)
1584                 tm_file=m88k/sysv3.h
1585                 extra_parts="crtbegin.o crtend.o"
1586                 xm_file=m88k/xm-sysv3.h
1587                 xmake_file=m88k/x-sysv3
1588                 if [[ x$gas = xyes ]]
1589                 then
1590                         tmake_file=m88k/t-m88k-gas
1591                 fi
1592                 ;;
1593         m88k-*-sysv4*)
1594                 tm_file=m88k/sysv4.h
1595                 extra_parts="crtbegin.o crtend.o"
1596                 xmake_file=m88k/x-sysv4
1597                 tmake_file=m88k/t-sysv4
1598                 ;;
1599         mips-sgi-irix6*)                # SGI System V.4., IRIX 6
1600                 tm_file=mips/iris6.h
1601                 xm_file=mips/xm-iris6.h
1602                 fixincludes=fixinc.irix
1603                 xmake_file=mips/x-iris6
1604                 tmake_file=mips/t-iris6
1605                 if [[ x$enable_threads = xyes ]]; then
1606                         thread_file='irix'
1607                 fi
1608                 ;;
1609         mips-sgi-irix5cross64)          # Irix5 host, Irix 6 target, cross64
1610                 tm_file=mips/cross64.h
1611                 xm_file=mips/xm-iris5.h
1612                 fixincludes=Makefile.in
1613                 xmake_file=mips/x-iris
1614                 tmake_file=mips/t-cross64
1615                 # See comment in mips/iris[56].h files.
1616                 use_collect2=yes
1617                 if [[ x$enable_threads = xyes ]]; then
1618                         thread_file='irix'
1619                 fi
1620                 ;;
1621         mips-sni-sysv4)
1622                 if [[ x$gas = xyes ]]
1623                 then
1624                         if [[ x$stabs = xyes ]]
1625                         then
1626                                 tm_file=mips/iris5gdb.h
1627                         else
1628                                 tm_file=mips/sni-gas.h
1629                         fi
1630                 else
1631                         tm_file=mips/sni-svr4.h
1632                 fi
1633                 xm_file=mips/xm-sysv.h
1634                 xmake_file=mips/x-sni-svr4
1635                 tmake_file=mips/t-mips-gas
1636                 if [[ x$gnu_ld != xyes ]]
1637                 then
1638                         use_collect2=yes
1639                 fi
1640                 ;;
1641         mips-sgi-irix5*)                # SGI System V.4., IRIX 5
1642                 if [[ x$gas = xyes ]]
1643                 then
1644                         tm_file=mips/iris5gas.h
1645                         if [[ x$stabs = xyes ]]
1646                         then
1647                                 tm_file="${tm_file} dbx.h"
1648                         fi
1649                 else
1650                         tm_file=mips/iris5.h
1651                 fi
1652                 xm_file=mips/xm-iris5.h
1653                 fixincludes=fixinc.irix
1654                 xmake_file=mips/x-iris
1655                 # mips-tfile doesn't work yet
1656                 tmake_file=mips/t-mips-gas
1657                 # See comment in mips/iris5.h file.
1658                 use_collect2=yes
1659                 if [[ x$enable_threads = xyes ]]; then
1660                         thread_file='irix'
1661                 fi
1662                 ;;
1663         mips-sgi-irix4loser*)           # Mostly like a MIPS.
1664                 tm_file=mips/iris4loser.h
1665                 if [[ x$stabs = xyes ]]; then
1666                         tm_file="${tm_file} dbx.h"
1667                 fi
1668                 xm_file=mips/xm-iris4.h
1669                 xmake_file=mips/x-iris
1670                 if [[ x$gas = xyes ]]
1671                 then
1672                         tmake_file=mips/t-mips-gas
1673                 else
1674                         extra_passes="mips-tfile mips-tdump"
1675                 fi
1676                 if [[ x$gnu_ld != xyes ]]
1677                 then
1678                         use_collect2=yes
1679                 fi
1680                 if [[ x$enable_threads = xyes ]]; then
1681                         thread_file='irix'
1682                 fi
1683                 ;;
1684         mips-sgi-irix4*)                # Mostly like a MIPS.
1685                 tm_file=mips/iris4.h
1686                 if [[ x$stabs = xyes ]]; then
1687                         tm_file="${tm_file} dbx.h"
1688                 fi
1689                 xm_file=mips/xm-iris4.h
1690                 xmake_file=mips/x-iris
1691                 if [[ x$gas = xyes ]]
1692                 then
1693                         tmake_file=mips/t-mips-gas
1694                 else
1695                         extra_passes="mips-tfile mips-tdump"
1696                 fi
1697                 if [[ x$gnu_ld != xyes ]]
1698                 then
1699                         use_collect2=yes
1700                 fi
1701                 if [[ x$enable_threads = xyes ]]; then
1702                         thread_file='irix'
1703                 fi
1704                 ;;
1705         mips-sgi-*)                     # Mostly like a MIPS.
1706                 tm_file=mips/iris3.h
1707                 if [[ x$stabs = xyes ]]; then
1708                         tm_file="${tm_file} dbx.h"
1709                 fi
1710                 xm_file=mips/xm-iris3.h
1711                 xmake_file=mips/x-iris3
1712                 if [[ x$gas = xyes ]]
1713                 then
1714                         tmake_file=mips/t-mips-gas
1715                 else
1716                         extra_passes="mips-tfile mips-tdump"
1717                 fi
1718                 if [[ x$gnu_ld != xyes ]]
1719                 then
1720                         use_collect2=yes
1721                 fi
1722                 ;;
1723         mips-dec-osfrose*)              # Decstation running OSF/1 reference port with OSF/rose.
1724                 tm_file=mips/osfrose.h
1725                 xmake_file=mips/x-osfrose
1726                 tmake_file=mips/t-osfrose
1727                 extra_objs=halfpic.o
1728                 use_collect2=yes
1729                 ;;
1730         mips-dec-osf*)                  # Decstation running OSF/1 as shipped by DIGITAL
1731                 tm_file=mips/dec-osf1.h
1732                 if [[ x$stabs = xyes ]]; then
1733                         tm_file="${tm_file} dbx.h"
1734                 fi
1735                 xmake_file=mips/x-dec-osf1
1736                 if [[ x$gas = xyes ]]
1737                 then
1738                         tmake_file=mips/t-mips-gas
1739                 else
1740                         tmake_file=mips/t-ultrix
1741                         extra_passes="mips-tfile mips-tdump"
1742                 fi
1743                 if [[ x$gnu_ld != xyes ]]
1744                 then
1745                         use_collect2=yes
1746                 fi
1747                 ;;
1748         mips-dec-bsd*)                  # Decstation running 4.4 BSD
1749               tm_file=mips/dec-bsd.h
1750               fixincludes=
1751               if [[ x$gas = xyes ]]
1752               then
1753                         tmake_file=mips/t-mips-gas
1754               else
1755                         tmake_file=mips/t-ultrix
1756                         extra_passes="mips-tfile mips-tdump"
1757               fi
1758               if [[ x$gnu_ld != xyes ]]
1759               then
1760                         use_collect2=yes
1761               fi
1762               ;;
1763         mips-dec-netbsd*)                  # Decstation running NetBSD
1764                 tm_file=mips/netbsd.h
1765                 xm_file=mips/xm-netbsd.h
1766                 # On NetBSD, the headers are already okay, except for math.h.
1767                 fixincludes=fixinc.math
1768                 tmake_file=t-netbsd
1769                 ;;
1770         mips-sony-bsd* | mips-sony-newsos*)     # Sony NEWS 3600 or risc/news.
1771                 tm_file=mips/news4.h
1772                 if [[ x$stabs = xyes ]]; then
1773                         tm_file="${tm_file} dbx.h"
1774                 fi
1775                 if [[ x$gas = xyes ]]
1776                 then
1777                         tmake_file=mips/t-mips-gas
1778                 else
1779                         extra_passes="mips-tfile mips-tdump"
1780                 fi
1781                 if [[ x$gnu_ld != xyes ]]
1782                 then
1783                         use_collect2=yes
1784                 fi
1785                 xmake_file=mips/x-sony
1786                 ;;
1787         mips-sony-sysv*)                # Sony NEWS 3800 with NEWSOS5.0.
1788                                         # That is based on svr4.
1789                 # t-svr4 is not right because this system doesn't use ELF.
1790                 tm_file=mips/news5.h
1791                 if [[ x$stabs = xyes ]]; then
1792                         tm_file="${tm_file} dbx.h"
1793                 fi
1794                 xm_file=mips/xm-news.h
1795                 if [[ x$gas = xyes ]]
1796                 then
1797                         tmake_file=mips/t-mips-gas
1798                 else
1799                         extra_passes="mips-tfile mips-tdump"
1800                 fi
1801                 if [[ x$gnu_ld != xyes ]]
1802                 then
1803                         use_collect2=yes
1804                 fi
1805                 ;;
1806         mips-tandem-sysv4*)             # Tandem S2 running NonStop UX
1807                 tm_file=mips/svr4-t.h
1808                 if [[ x$stabs = xyes ]]; then
1809                         tm_file="${tm_file} dbx.h"
1810                 fi
1811                 xm_file=mips/xm-sysv4.h
1812                 xmake_file=mips/x-sysv
1813                 if [[ x$gas = xyes ]]
1814                 then
1815                         tmake_file=mips/t-mips-gas
1816                         extra_parts="crtbegin.o crtend.o"
1817                 else
1818                         tmake_file=mips/t-mips
1819                         extra_passes="mips-tfile mips-tdump"
1820                 fi
1821                 if [[ x$gnu_ld != xyes ]]
1822                 then
1823                         use_collect2=yes
1824                 fi
1825                 ;;
1826         mips-*-ultrix* | mips-dec-mach3)        # Decstation.
1827                 tm_file=mips/ultrix.h
1828                 if [[ x$stabs = xyes ]]; then
1829                         tm_file="${tm_file} dbx.h"
1830                 fi
1831                 xmake_file=mips/x-ultrix
1832                 if [[ x$gas = xyes ]]
1833                 then
1834                         tmake_file=mips/t-mips-gas
1835                 else
1836                         tmake_file=mips/t-ultrix
1837                         extra_passes="mips-tfile mips-tdump"
1838                 fi
1839                 if [[ x$gnu_ld != xyes ]]
1840                 then
1841                         use_collect2=yes
1842                 fi
1843                 ;;
1844         mips-*-riscos[[56789]]bsd*)
1845                 tm_file=mips/bsd-5.h    # MIPS BSD 4.3, RISC-OS 5.0
1846                 if [[ x$stabs = xyes ]]; then
1847                         tm_file="${tm_file} dbx.h"
1848                 fi
1849                 if [[ x$gas = xyes ]]
1850                 then
1851                         tmake_file=mips/t-bsd-gas
1852                 else
1853                         tmake_file=mips/t-bsd
1854                         extra_passes="mips-tfile mips-tdump"
1855                 fi
1856                 if [[ x$gnu_ld != xyes ]]
1857                 then
1858                         use_collect2=yes
1859                 fi
1860                 ;;
1861         mips-*-bsd* | mips-*-riscosbsd* | mips-*-riscos[[1234]]bsd*)
1862                 tm_file=mips/bsd-4.h    # MIPS BSD 4.3, RISC-OS 4.0
1863                 if [[ x$stabs = xyes ]]; then
1864                         tm_file="${tm_file} dbx.h"
1865                 fi
1866                 if [[ x$gas = xyes ]]
1867                 then
1868                         tmake_file=mips/t-bsd-gas
1869                 else
1870                         tmake_file=mips/t-bsd
1871                         extra_passes="mips-tfile mips-tdump"
1872                 fi
1873                 if [[ x$gnu_ld != xyes ]]
1874                 then
1875                         use_collect2=yes
1876                 fi
1877                 ;;
1878         mips-*-riscos[[56789]]sysv4*)
1879                 tm_file=mips/svr4-5.h   # MIPS System V.4., RISC-OS 5.0
1880                 if [[ x$stabs = xyes ]]; then
1881                         tm_file="${tm_file} dbx.h"
1882                 fi
1883                 xm_file=mips/xm-sysv4.h
1884                 xmake_file=mips/x-sysv
1885                 if [[ x$gas = xyes ]]
1886                 then
1887                         tmake_file=mips/t-svr4-gas
1888                 else
1889                         tmake_file=mips/t-svr4
1890                         extra_passes="mips-tfile mips-tdump"
1891                 fi
1892                 if [[ x$gnu_ld != xyes ]]
1893                 then
1894                         use_collect2=yes
1895                 fi
1896                 ;;
1897         mips-*-sysv4* | mips-*-riscos[[1234]]sysv4* | mips-*-riscossysv4*)
1898                 tm_file=mips/svr4-4.h   # MIPS System V.4. RISC-OS 4.0
1899                 if [[ x$stabs = xyes ]]; then
1900                         tm_file="${tm_file} dbx.h"
1901                 fi
1902                 xm_file=mips/xm-sysv.h
1903                 xmake_file=mips/x-sysv
1904                 if [[ x$gas = xyes ]]
1905                 then
1906                         tmake_file=mips/t-svr4-gas
1907                 else
1908                         tmake_file=mips/t-svr4
1909                         extra_passes="mips-tfile mips-tdump"
1910                 fi
1911                 if [[ x$gnu_ld != xyes ]]
1912                 then
1913                         use_collect2=yes
1914                 fi
1915                 ;;
1916         mips-*-riscos[[56789]]sysv*)
1917                 tm_file=mips/svr3-5.h   # MIPS System V.3, RISC-OS 5.0
1918                 if [[ x$stabs = xyes ]]; then
1919                         tm_file="${tm_file} dbx.h"
1920                 fi
1921                 xm_file=mips/xm-sysv.h
1922                 xmake_file=mips/x-sysv
1923                 if [[ x$gas = xyes ]]
1924                 then
1925                         tmake_file=mips/t-svr3-gas
1926                 else
1927                         tmake_file=mips/t-svr3
1928                         extra_passes="mips-tfile mips-tdump"
1929                 fi
1930                 if [[ x$gnu_ld != xyes ]]
1931                 then
1932                         use_collect2=yes
1933                 fi
1934                 ;;
1935         mips-*-sysv* | mips-*-riscos*sysv*)
1936                 tm_file=mips/svr3-4.h   # MIPS System V.3, RISC-OS 4.0
1937                 if [[ x$stabs = xyes ]]; then
1938                         tm_file="${tm_file} dbx.h"
1939                 fi
1940                 xm_file=mips/xm-sysv.h
1941                 xmake_file=mips/x-sysv
1942                 if [[ x$gas = xyes ]]
1943                 then
1944                         tmake_file=mips/t-svr3-gas
1945                 else
1946                         tmake_file=mips/t-svr3
1947                         extra_passes="mips-tfile mips-tdump"
1948                 fi
1949                 if [[ x$gnu_ld != xyes ]]
1950                 then
1951                         use_collect2=yes
1952                 fi
1953                 ;;
1954         mips-*-riscos[[56789]]*)                # Default MIPS RISC-OS 5.0.
1955                 tm_file=mips/mips-5.h
1956                 if [[ x$stabs = xyes ]]; then
1957                         tm_file="${tm_file} dbx.h"
1958                 fi
1959                 if [[ x$gas = xyes ]]
1960                 then
1961                         tmake_file=mips/t-mips-gas
1962                 else
1963                         extra_passes="mips-tfile mips-tdump"
1964                 fi
1965                 if [[ x$gnu_ld != xyes ]]
1966                 then
1967                         use_collect2=yes
1968                 fi
1969                 ;;
1970         mips-*-gnu*)
1971                 ;;
1972         mipsel-*-ecoff*)
1973                 tm_file=mips/ecoffl.h
1974                 if [[ x$stabs = xyes ]]; then
1975                         tm_file="${tm_file} dbx.h"
1976                 fi
1977                 tmake_file=mips/t-ecoff
1978                 ;;
1979         mips-*-ecoff*)
1980                 tm_file=mips/ecoff.h
1981                 if [[ x$stabs = xyes ]]; then
1982                         tm_file="${tm_file} dbx.h"
1983                 fi
1984                 tmake_file=mips/t-ecoff
1985                 ;;
1986         mipsel-*-elf*)
1987                 tm_file="mips/elfl.h libgloss.h"
1988                 tmake_file=mips/t-ecoff
1989                 ;;
1990         mips-*-elf*)
1991                 tm_file="mips/elf.h libgloss.h"
1992                 tmake_file=mips/t-ecoff
1993                 ;;
1994         mips64el-*-elf*)
1995                 tm_file="mips/elfl64.h libgloss.h"
1996                 tmake_file=mips/t-ecoff
1997                 ;;
1998         mips64orionel-*-elf*)
1999                 tm_file="mips/elflorion.h libgloss.h"
2000                 tmake_file=mips/t-ecoff
2001                 ;;
2002         mips64-*-elf*)
2003                 tm_file="mips/elf64.h libgloss.h"
2004                 tmake_file=mips/t-ecoff
2005                 ;;
2006         mips64orion-*-elf*)
2007                 tm_file="mips/elforion.h libgloss.h"
2008                 tmake_file=mips/t-ecoff
2009                 ;;
2010         mips64orion-*-rtems*)
2011                 tm_file=mips/rtems64.h
2012                 tmake_file="mips/t-ecoff t-rtems"
2013                 ;;
2014         mips-*-*)                               # Default MIPS RISC-OS 4.0.
2015                 if [[ x$stabs = xyes ]]; then
2016                         tm_file="${tm_file} dbx.h"
2017                 fi
2018                 if [[ x$gas = xyes ]]
2019                 then
2020                         tmake_file=mips/t-mips-gas
2021                 else
2022                         extra_passes="mips-tfile mips-tdump"
2023                 fi
2024                 if [[ x$gnu_ld != xyes ]]
2025                 then
2026                         use_collect2=yes
2027                 fi
2028                 ;;
2029         mn10200-*-*)
2030                 cpu_type=mn10200
2031                 tm_file="mn10200/mn10200.h"
2032                 if [[ x$stabs = xyes ]]
2033                 then
2034                         tm_file="${tm_file} dbx.h"
2035                 fi
2036                 use_collect2=no
2037                 ;;
2038         mn10300-*-*)
2039                 cpu_type=mn10300
2040                 tm_file="mn10300/mn10300.h"
2041                 if [[ x$stabs = xyes ]]
2042                 then
2043                         tm_file="${tm_file} dbx.h"
2044                 fi
2045                 use_collect2=no
2046                 ;;
2047         ns32k-encore-bsd*)
2048                 tm_file=ns32k/encore.h
2049                 use_collect2=yes
2050                 ;;
2051         ns32k-sequent-bsd*)
2052                 tm_file=ns32k/sequent.h
2053                 use_collect2=yes
2054                 ;;
2055         ns32k-tek6100-bsd*)
2056                 tm_file=ns32k/tek6100.h
2057                 use_collect2=yes
2058                 ;;
2059         ns32k-tek6200-bsd*)
2060                 tm_file=ns32k/tek6200.h
2061                 use_collect2=yes
2062                 ;;
2063 # This has not been updated to GCC 2.
2064 #       ns32k-ns-genix*)
2065 #               xm_file=ns32k/xm-genix.h
2066 #               xmake_file=ns32k/x-genix
2067 #               tm_file=ns32k/genix.h
2068 #               use_collect2=yes
2069 #               ;;
2070         ns32k-merlin-*)
2071                 tm_file=ns32k/merlin.h
2072                 use_collect2=yes
2073                 ;;
2074         ns32k-pc532-mach*)
2075                 tm_file=ns32k/pc532-mach.h
2076                 use_collect2=yes
2077                 ;;
2078         ns32k-pc532-minix*)
2079                 tm_file=ns32k/pc532-min.h
2080                 xm_file=ns32k/xm-pc532-min.h
2081                 use_collect2=yes
2082                 ;;
2083         ns32k-pc532-netbsd*)
2084                 tm_file=ns32k/netbsd.h
2085                 xm_file=ns32k/xm-netbsd.h
2086                 # On NetBSD, the headers are already okay, except for math.h.
2087                 fixincludes=fixinc.math
2088                 tmake_file=t-netbsd
2089                 ;;
2090         pdp11-*-bsd)
2091                 tm_file="${tm_file} pdp11/2bsd.h"
2092                 ;;
2093         pdp11-*-*)
2094                 ;;
2095         pyramid-*-*)
2096                 cpu_type=pyr
2097                 xmake_file=pyr/x-pyr
2098                 use_collect2=yes
2099                 ;;
2100         romp-*-aos*)
2101                 use_collect2=yes
2102                 ;;
2103         romp-*-mach*)
2104                 xmake_file=romp/x-mach
2105                 use_collect2=yes
2106                 ;;
2107         powerpc-*-sysv* | powerpc-*-elf*)
2108                 tm_file=rs6000/sysv4.h
2109                 xm_file=rs6000/xm-sysv4.h
2110                 extra_headers=ppc-asm.h
2111                 if [[ x$gas = xyes ]]
2112                 then
2113                         tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2114                 else
2115                         tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2116                 fi
2117                 xmake_file=rs6000/x-sysv4
2118                 ;;
2119         powerpc-*-eabiaix*)
2120                 tm_file=rs6000/eabiaix.h
2121                 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2122                 fixincludes=Makefile.in
2123                 extra_headers=ppc-asm.h
2124                 ;;
2125         powerpc-*-eabisim*)
2126                 tm_file=rs6000/eabisim.h
2127                 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2128                 fixincludes=Makefile.in
2129                 extra_headers=ppc-asm.h
2130                 ;;
2131         powerpc-*-eabi*)
2132                 tm_file=rs6000/eabi.h
2133                 if [[ x$gas = xyes ]]
2134                 then
2135                         tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2136                 else
2137                         tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2138                 fi
2139                 fixincludes=Makefile.in
2140                 extra_headers=ppc-asm.h
2141                 ;;
2142         powerpc-*-rtems*)
2143                 tm_file=rs6000/rtems.h
2144                 if [[ x$gas = xyes ]]
2145                 then
2146                      tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
2147                 else
2148                      tmake_file="rs6000/t-ppc t-rtems rs6000/t-ppccomm"
2149                 fi
2150                 fixincludes=Makefile.in
2151                 extra_headers=ppc-asm.h
2152                 ;;
2153         powerpc-*-linux-gnu*)
2154                 tm_file=rs6000/linux.h
2155                 xm_file=rs6000/xm-sysv4.h
2156                 out_file=rs6000/rs6000.c
2157                 if [[ x$gas = xyes ]]
2158                 then
2159                         tmake_file="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
2160                 else
2161                         tmake_file="rs6000/t-ppc t-linux rs6000/t-ppccomm"
2162                 fi
2163                 xmake_file=x-linux
2164                 fixincludes=Makefile.in
2165                 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2166                 extra_headers=ppc-asm.h
2167                 if [[ x$enable_threads = xyes ]]; then
2168                         thread_file='posix'
2169                 fi
2170                 ;;
2171         powerpc-*-vxworks*)
2172                 cpu_type=rs6000
2173                 xm_file=rs6000/xm-sysv4.h
2174                 tm_file=rs6000/vxppc.h
2175                 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2176                 extra_headers=ppc-asm.h
2177                 ;;
2178         powerpcle-*-sysv* | powerpcle-*-elf*)
2179                 tm_file=rs6000/sysv4le.h
2180                 xm_file=rs6000/xm-sysv4.h
2181                 if [[ x$gas = xyes ]]
2182                 then
2183                         tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2184                 else
2185                         tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2186                 fi
2187                 xmake_file=rs6000/x-sysv4
2188                 extra_headers=ppc-asm.h
2189                 ;;
2190         powerpcle-*-eabisim*)
2191                 tm_file=rs6000/eabilesim.h
2192                 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2193                 fixincludes=Makefile.in
2194                 extra_headers=ppc-asm.h
2195                 ;;
2196         powerpcle-*-eabi*)
2197                 tm_file=rs6000/eabile.h
2198                 if [[ x$gas = xyes ]]
2199                 then
2200                         tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2201                 else
2202                         tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2203                 fi
2204                 fixincludes=Makefile.in
2205                 extra_headers=ppc-asm.h
2206                 ;;
2207         powerpcle-*-winnt* )
2208                 tm_file=rs6000/win-nt.h
2209                 tmake_file=rs6000/t-winnt
2210 #               extra_objs=pe.o
2211                 fixincludes=Makefile.in
2212                 if [[ x$enable_threads = xyes ]]; then
2213                         thread_file='win32'
2214                 fi
2215                 extra_headers=ppc-asm.h
2216                 ;;
2217         powerpcle-*-pe | powerpcle-*-cygwin32)
2218                 tm_file=rs6000/cygwin32.h
2219                 xm_file=rs6000/xm-cygwin32.h
2220                 tmake_file=rs6000/t-winnt
2221                 xmake_file=rs6000/x-cygwin32
2222 #               extra_objs=pe.o
2223                 fixincludes=Makefile.in
2224                 if [[ x$enable_threads = xyes ]]; then
2225                         thread_file='win32'
2226                 fi
2227                 exeext=.exe
2228                 extra_headers=ppc-asm.h
2229                 ;;
2230         powerpcle-*-solaris2*)
2231                 tm_file=rs6000/sol2.h
2232                 xm_file=rs6000/xm-sysv4.h
2233                 if [[ x$gas = xyes ]]
2234                 then
2235                         tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2236                 else
2237                         tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2238                 fi
2239                 xmake_file=rs6000/x-sysv4
2240                 fixincludes=fixinc.svr4
2241                 extra_headers=ppc-asm.h
2242                 ;;
2243         rs6000-ibm-aix3.[[01]]*)
2244                 tm_file=rs6000/aix31.h
2245                 xmake_file=rs6000/x-aix31
2246                 use_collect2=yes
2247                 ;;
2248         rs6000-ibm-aix3.2.[[456789]]* | powerpc-ibm-aix3.2.[[456789]]*)
2249                 tm_file=rs6000/aix3newas.h
2250                 if [[ x$host != x$target ]]
2251                 then
2252                         tmake_file=rs6000/t-xnewas
2253                 else
2254                         tmake_file=rs6000/t-newas
2255                 fi
2256                 use_collect2=yes
2257                 ;;
2258         rs6000-ibm-aix[[456789]].* | powerpc-ibm-aix[[456789]].*)
2259                 tm_file=rs6000/aix41.h
2260                 if [[ x$host != x$target ]]
2261                 then
2262                         tmake_file=rs6000/t-xnewas
2263                 else
2264                         tmake_file=rs6000/t-newas
2265                 fi
2266                 xmake_file=rs6000/x-aix31
2267                 use_collect2=yes
2268                 ;;
2269         rs6000-ibm-aix*)
2270                 use_collect2=yes
2271                 ;;
2272         rs6000-bull-bosx)
2273                 use_collect2=yes
2274                 ;;
2275         rs6000-*-mach*)
2276                 tm_file=rs6000/mach.h
2277                 xm_file=rs6000/xm-mach.h
2278                 xmake_file=rs6000/x-mach
2279                 use_collect2=yes
2280                 ;;
2281         rs6000-*-lynxos*)
2282                 tm_file=rs6000/lynx.h
2283                 xm_file=rs6000/xm-lynx.h
2284                 tmake_file=rs6000/t-rs6000
2285                 xmake_file=rs6000/x-lynx
2286                 use_collect2=yes
2287                 ;;
2288         sh-*-elf*)
2289                 tm_file=sh/elf.h
2290                 float_format=sh
2291                 ;;
2292         sh-*-rtems*)
2293                 tmake_file="sh/t-sh t-rtems"
2294                 tm_file=sh/rtems.h
2295                 float_format=sh
2296                 ;;
2297         sh-*-*)
2298                 float_format=sh
2299                 ;;
2300         sparc-tti-*)
2301                 tm_file=sparc/pbd.h
2302                 xm_file=sparc/xm-pbd.h
2303                 ;;
2304         sparc-wrs-vxworks* | sparclite-wrs-vxworks*)
2305                 tm_file=sparc/vxsparc.h
2306                 tmake_file=sparc/t-vxsparc
2307                 use_collect2=yes
2308                 ;;
2309         sparc-*-aout*)
2310                 tmake_file=sparc/t-sparcbare
2311                 tm_file="sparc/aout.h libgloss.h"
2312                 ;;
2313         sparc-*-netbsd*)
2314                 tm_file=sparc/netbsd.h
2315                 xm_file=sparc/xm-netbsd.h
2316                 # On NetBSD, the headers are already okay, except for math.h.
2317                 fixincludes=fixinc.math
2318                 tmake_file=t-netbsd
2319                 ;;
2320         sparc-*-bsd*)
2321                 tm_file=sparc/bsd.h
2322                 ;;
2323         sparc-*-elf*)
2324                 tm_file=sparc/elf.h
2325                 tmake_file=sparc/t-elf
2326                 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
2327                 #float_format=i128
2328                 float_format=i64
2329                 ;;
2330         sparc-*-linux-gnuaout*)         # Sparc's running Linux, a.out
2331                 xm_file="sparc/xm-sparc.h sparc/xm-linux.h"
2332                 tm_file=sparc/linux-aout.h
2333                 xmake_file=x-linux
2334                 fixincludes=Makefile.in #On Linux, the headers are ok already.
2335                 gnu_ld=yes
2336                 ;;
2337         sparc-*-linux-gnulibc1*)        # Sparc's running Linux, libc5
2338                 xm_file="sparc/xm-sparc.h sparc/xm-linux.h"
2339                 xmake_file=x-linux
2340                 tm_file=sparc/linux.h
2341                 tmake_file="t-linux t-linux-gnulibc1 sparc/t-linux"
2342                 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2343                 fixincludes=Makefile.in #On Linux, the headers are ok already.
2344                 gnu_ld=yes
2345                 ;;
2346         sparc-*-linux-gnu*)             # Sparc's running Linux, libc6
2347                 xm_file="sparc/xm-sparc.h sparc/xm-linux.h"
2348                 xmake_file=x-linux
2349                 tm_file=sparc/linux.h
2350                 tmake_file="t-linux sparc/t-linux"
2351                 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2352                 fixincludes=Makefile.in #On Linux, the headers are ok already.
2353                 gnu_ld=yes
2354                 if [[ x$enable_threads = xyes ]]; then
2355                         thread_file='posix'
2356                 fi
2357                 ;;
2358         sparc-*-lynxos*)
2359                 if [[ x$gas = xyes ]]
2360                 then
2361                         tm_file=sparc/lynx.h
2362                 else
2363                         tm_file=sparc/lynx-ng.h
2364                 fi
2365                 xm_file=sparc/xm-lynx.h
2366                 tmake_file=sparc/t-sunos41
2367                 xmake_file=x-lynx
2368                 ;;
2369         sparc-*-rtems*)
2370                 tmake_file="sparc/t-sparcbare t-rtems"
2371                 tm_file=sparc/rtems.h
2372                 ;;
2373         sparc-*-solaris2*)
2374                 tm_file=sparc/sol2.h
2375                 xm_file=sparc/xm-sol2.h
2376                 tmake_file=sparc/t-sol2
2377                 xmake_file=sparc/x-sysv4
2378                 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
2379                 fixincludes=fixinc.svr4
2380                 if [[ x$enable_threads = xyes ]]; then
2381                         thread_file='solaris'
2382                 fi
2383                 ;;
2384         sparc-*-sunos4.0*)
2385                 tm_file=sparc/sunos4.h
2386                 tmake_file=sparc/t-sunos40
2387                 use_collect2=yes
2388                 ;;
2389         sparc-*-sunos4*)
2390                 tm_file=sparc/sunos4.h
2391                 tmake_file=sparc/t-sunos41
2392                 use_collect2=yes
2393                 if [[ x$gas = xyes ]]; then
2394                         tm_file="${tm_file} sparc/sun4gas.h"
2395                 fi
2396                 ;;
2397         sparc-*-sunos3*)
2398                 tm_file=sparc/sun4o3.h
2399                 use_collect2=yes
2400                 ;;
2401         sparc-*-sysv4*)
2402                 tm_file=sparc/sysv4.h
2403                 xm_file=sparc/xm-sysv4.h
2404                 tmake_file=t-svr4
2405                 xmake_file=sparc/x-sysv4
2406                 extra_parts="crtbegin.o crtend.o"
2407                 ;;
2408         sparc-*-vxsim*)
2409                 xm_file=sparc/xm-sol2.h
2410                 tm_file=sparc/vxsim.h
2411                 tmake_file=sparc/t-vxsparc
2412                 xmake_file=sparc/x-sysv4
2413                 ;;
2414         sparclet-*-aout*)
2415                 tm_file="sparc/splet.h libgloss.h"
2416                 tmake_file=sparc/t-splet
2417                 ;;
2418         sparclite-*-coff*)
2419                 tm_file="sparc/litecoff.h libgloss.h"
2420                 tmake_file=sparc/t-sparclite
2421                 ;;
2422         sparclite-*-aout*)
2423                 tm_file="sparc/lite.h aoutos.h libgloss.h"
2424                 tmake_file=sparc/t-sparclite
2425                 ;;
2426         sparc64-*-aout*)
2427                 tmake_file=sparc/t-sp64
2428                 tm_file=sparc/sp64-aout.h
2429                 ;;
2430         sparc64-*-elf*)
2431                 tmake_file=sparc/t-sp64
2432                 tm_file=sparc/sp64-elf.h
2433                 extra_parts="crtbegin.o crtend.o"
2434                 ;;
2435         sparc64-*-linux*)               # 64-bit Sparc's running Linux
2436                 tmake_file=sparc/t-sp64
2437                 xm_file="sparc/xm-sp64.h sparc/xm-linux.h"
2438                 tm_file=sparc/linux64.h
2439                 xmake_file=x-linux
2440                 fixincludes=Makefile.in # On Linux, the headers are ok already.
2441                 gnu_ld=yes
2442                 ;;
2443 # This hasn't been upgraded to GCC 2.
2444 #       tahoe-harris-*)                 # Harris tahoe, using COFF.
2445 #               tm_file=tahoe/harris.h
2446 #               ;;
2447 #       tahoe-*-bsd*)                   # tahoe running BSD
2448 #               ;;
2449 # This hasn't been upgraded to GCC 2.
2450 #       tron-*-*)
2451 #               cpu_type=gmicro
2452 #               use_collect2=yes
2453 #               ;;
2454         v850-*-*)
2455                 cpu_type=v850
2456                 tm_file="v850/v850.h"
2457                 xm_file="v850/xm-v850.h"
2458                 if [[ x$stabs = xyes ]]
2459                 then
2460                         tm_file="${tm_file} dbx.h"
2461                 fi
2462                 use_collect2=no
2463                 ;;
2464         vax-*-bsd*)                     # vaxen running BSD
2465                 use_collect2=yes
2466                 float_format=vax
2467                 ;;
2468         vax-*-sysv*)                    # vaxen running system V
2469                 tm_file="${tm_file} vax/vaxv.h"
2470                 xm_file="${tm_file} vax/xm-vaxv.h"
2471                 float_format=vax
2472                 ;;
2473         vax-*-netbsd*)
2474                 tm_file="${tm_file} netbsd.h vax/netbsd.h"
2475                 xm_file="${xm_file} xm-netbsd.h"
2476                 # On NetBSD, the headers are already okay, except for math.h.
2477                 fixincludes=fixinc.math
2478                 tmake_file=t-netbsd
2479                 float_format=vax
2480                 ;;
2481         vax-*-ultrix*)                  # vaxen running ultrix
2482                 tm_file="${tm_file} vax/ultrix.h"
2483                 use_collect2=yes
2484                 float_format=vax
2485                 ;;
2486         vax-*-vms*)                     # vaxen running VMS
2487                 xm_file=vax/xm-vms.h
2488                 tm_file=vax/vms.h
2489                 float_format=vax
2490                 ;;
2491         vax-*-*)                        # vax default entry
2492                 float_format=vax
2493                 ;;
2494         we32k-att-sysv*)
2495                 xm_file="${xm_file} xm-svr3"
2496                 use_collect2=yes
2497                 ;;
2498         *)
2499                 echo "Configuration $machine not supported" 1>&2
2500                 exit 1
2501                 ;;
2502         esac
2503
2504         case $machine in
2505         *-*-linux-gnu*)
2506                 ;; # Existing Linux/GNU systems do not use the GNU setup.
2507         *-*-gnu*)
2508                 # On the GNU system, the setup is just about the same on
2509                 # each different CPU.  The specific machines that GNU
2510                 # supports are matched above and just set $cpu_type.
2511                 xm_file=${cpu_type}/xm-gnu.h
2512                 tm_file=${cpu_type}/gnu.h
2513                 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
2514                 # GNU always uses ELF.
2515                 elf=yes
2516                 # GNU tools are the only tools.
2517                 gnu_ld=yes
2518                 gas=yes
2519                 # On GNU, the headers are already okay.
2520                 fixincludes=Makefile.in
2521                 xmake_file=x-linux      # These details are the same as Linux.
2522                 tmake_file=t-gnu        # These are not.
2523                 ;;
2524         *-*-sysv4*)
2525                 fixincludes=fixinc.svr4
2526                 xmake_try_sysv=x-sysv
2527                 install_headers_dir=install-headers-cpio
2528                 ;;
2529         *-*-sysv*)
2530                 install_headers_dir=install-headers-cpio
2531                 ;;
2532         esac
2533
2534         # Distinguish i[3456]86
2535         # Also, do not run mips-tfile on MIPS if using gas.
2536         # Process --with-cpu= for PowerPC/rs6000
2537         target_cpu_default2=
2538         case $machine in
2539         i486-*-*)
2540                 target_cpu_default2=1
2541                 ;;
2542         i586-*-*)
2543                 target_cpu_default2=2
2544                 ;;
2545         i686-*-*)
2546                 target_cpu_default2=3
2547                 ;;
2548         alpha*-*-*)
2549                 case $machine in
2550                         alphaev56*)
2551                                 target_cpu_default2="MASK_CPU_EV5|MASK_BYTE_OPS"
2552                                 ;;
2553                         alphaev5*)
2554                                 target_cpu_default2="MASK_CPU_EV5"
2555                                 ;;
2556                 esac
2557                                 
2558                 if [[ x$gas = xyes ]]
2559                 then
2560                         if [[ x$target_cpu_default2 = x ]]
2561                         then
2562                                 target_cpu_default2="MASK_GAS"
2563                         else
2564                                 target_cpu_default2="${target_cpu_default2}|MASK_GAS"
2565                         fi
2566                 fi
2567                 ;;
2568         mips*-*-ecoff* | mips*-*-elf*)
2569                 if [[ x$gas = xyes ]]
2570                 then
2571                         if [[ x$gnu_ld = xyes ]]
2572                         then
2573                                 target_cpu_default2=20
2574                         else
2575                                 target_cpu_default2=16
2576                         fi
2577                 fi
2578                 ;;
2579         mips*-*-*)
2580                 if [[ x$gas = xyes ]]
2581                 then
2582                         target_cpu_default2=16
2583                 fi
2584                 ;;
2585         powerpc*-*-* | rs6000-*-*)
2586                 case "x$with_cpu" in
2587                         x)
2588                                 ;;
2589
2590                         xcommon | xpower | xpower2 | xpowerpc | xrios \
2591                           | xrios1 | xrios2 | xrsc | xrsc1 \
2592                           | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
2593                           | x403 | x505 | x801 | x821 | x823 | x860)
2594                                 target_cpu_default2="\"$with_cpu\""
2595                                 ;;
2596
2597                         xyes | xno)
2598                                 echo "--with-cpu must be passed a value" 1>&2
2599                                 exit 1
2600                                 ;;
2601
2602                         *)
2603                                 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2604                                 exit 1
2605                                 ;;
2606                 esac
2607                 ;;
2608         sparc*-*-*)
2609                 case ".$with_cpu" in
2610                         .)
2611                                 target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`"
2612                                 ;;
2613                         .supersparc | .ultrasparc | .v7 | .v8 | .v9)
2614                                 target_cpu_default2="TARGET_CPU_$with_cpu"
2615                                 ;;
2616                         *)
2617                                 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2618                                 exit 1
2619                                 ;;
2620                 esac
2621                 ;;
2622         esac
2623
2624         if [[ x$target_cpu_default2 != x ]]
2625         then
2626                 if [[ x$target_cpu_default != x ]]
2627                 then
2628                         target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
2629                 else
2630                         target_cpu_default=$target_cpu_default2
2631                 fi
2632         fi
2633
2634         # No need for collect2 if we have the GNU linker.
2635         case x$gnu_ld in
2636         xyes)
2637                 use_collect2=
2638                 ;;
2639         esac
2640
2641 # Save data on machine being used to compile GCC in build_xm_file.
2642 # Save data on host machine in vars host_xm_file and host_xmake_file.
2643         if [[ x$pass1done = x ]]
2644         then
2645                 if [[ x"$xm_file" = x ]]
2646                 then build_xm_file=$cpu_type/xm-$cpu_type.h
2647                 else build_xm_file=$xm_file
2648                 fi
2649                 build_install_headers_dir=$install_headers_dir
2650                 build_exeext=$exeext
2651                 pass1done=yes
2652         else
2653                 if [[ x$pass2done = x ]]
2654                 then
2655                         if [[ x"$xm_file" = x ]]
2656                         then host_xm_file=$cpu_type/xm-$cpu_type.h
2657                         else host_xm_file=$xm_file
2658                         fi
2659                         if [[ x"$xmake_file" = x ]]
2660                         then xmake_file=$cpu_type/x-$cpu_type
2661                         fi
2662                         host_xmake_file="$xmake_file"
2663                         host_truncate_target=$truncate_target
2664                         host_extra_gcc_objs=$extra_gcc_objs
2665                         host_extra_objs=$extra_host_objs
2666                         pass2done=yes
2667                 fi
2668         fi
2669 done
2670
2671 extra_objs="${host_extra_objs} ${extra_objs}"
2672
2673 # Default the target-machine variables that were not explicitly set.
2674 if [[ x"$tm_file" = x ]]
2675 then tm_file=$cpu_type/$cpu_type.h; fi
2676
2677 if [[ x$extra_headers = x ]]
2678 then extra_headers=; fi
2679
2680 if [[ x"$xm_file" = x ]]
2681 then xm_file=$cpu_type/xm-$cpu_type.h; fi
2682
2683 md_file=$cpu_type/$cpu_type.md
2684
2685 if [[ x$out_file = x ]]
2686 then out_file=$cpu_type/$cpu_type.c; fi
2687
2688 if [[ x"$tmake_file" = x ]]
2689 then tmake_file=$cpu_type/t-$cpu_type
2690 fi
2691
2692 if [[ x$float_format = x ]]
2693 then float_format=i64
2694 fi
2695
2696 # Say what files are being used for the output code and MD file.
2697 echo "Using \`$srcdir/config/$out_file' to output insns."
2698 echo "Using \`$srcdir/config/$md_file' as machine description file."
2699
2700 count=a
2701 for f in $tm_file; do
2702         count=${count}x
2703 done
2704 if [[ $count = ax ]]; then
2705         echo "Using \`$srcdir/config/$tm_file' as target machine macro file."
2706 else
2707         echo "Using the following target machine macro files:"
2708         for f in $tm_file; do
2709                 echo "  $srcdir/config/$f"
2710         done
2711 fi
2712
2713 count=a
2714 for f in $host_xm_file; do
2715         count=${count}x
2716 done
2717 if [[ $count = ax ]]; then
2718         echo "Using \`$srcdir/config/$host_xm_file' as host machine macro file."
2719 else
2720         echo "Using the following host machine macro files:"
2721         for f in $host_xm_file; do
2722                 echo "  $srcdir/config/$f"
2723         done
2724 fi
2725
2726 if [[ "$host_xm_file" != "$build_xm_file" ]]; then
2727         count=a
2728         for f in $build_xm_file; do
2729                 count=${count}x
2730         done
2731         if [[ $count = ax ]]; then
2732                 echo "Using \`$srcdir/config/$build_xm_file' as build machine macro file."
2733         else
2734                 echo "Using the following build machine macro files:"
2735                 for f in $build_xm_file; do
2736                         echo "  $srcdir/config/$f"
2737                 done
2738         fi
2739 fi
2740
2741 if [[ x$thread_file = x ]]
2742 then thread_file='single'
2743 fi
2744
2745 # Set up the header files.
2746 # $links is the list of header files to create.
2747 # $vars is the list of shell variables with file names to include.
2748 # config2.h is the old config.h.  It is included by the new config.h which
2749 # created from config.in.  The goal is to simplify the transition to autoconf.
2750 vars="host_xm_file tm_file xm_file build_xm_file"
2751 links="config2.h tm.h tconfig.h hconfig.h"
2752
2753 rm -f config.bak
2754 if [[ -f config.status ]]; then mv -f config.status config.bak; fi
2755
2756 # Make the links.
2757 while [[ -n "$vars" ]]
2758 do
2759         # set file to car of files, files to cdr of files
2760         set $vars; var=$1; shift; vars=$*
2761         set $links; link=$1; shift; links=$*
2762
2763         rm -f $link
2764
2765         # Define TARGET_CPU_DEFAULT if the system wants one.
2766         # This substitutes for lots of *.h files.
2767         if [[ x$target_cpu_default != x -a $link = tm.h ]]
2768         then
2769                 echo "#define TARGET_CPU_DEFAULT $target_cpu_default" >>$link
2770         fi
2771
2772         for file in `eval echo '$'$var`; do
2773                 echo "#include \"$file\"" >>$link
2774         done
2775 done
2776
2777 # Truncate the target if necessary
2778 if [[ x$host_truncate_target != x ]]; then
2779         target=`echo $target | sed -e 's/\(..............\).*/\1/'`
2780 fi
2781
2782 # Get the version number from the toplevel
2783 version=`sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/' < ${srcdir}/version.c`
2784
2785 # Get an absolute path to the GCC top-level source directory
2786 holddir=`pwd`
2787 cd $srcdir
2788 topdir=`pwd`
2789 cd $holddir
2790
2791 # Conditionalize the makefile for this host machine.
2792 # Make-host contains the concatenation of all host makefile fragments
2793 # [there can be more than one].  This file is built by configure.frag.
2794 host_overrides=Make-host
2795 dep_host_xmake_file=
2796 for f in .. ${host_xmake_file}
2797 do
2798         if [[ -f ${srcdir}/config/$f ]]
2799         then
2800                 dep_host_xmake_file="${dep_host_xmake_file} ${srcdir}/config/$f"
2801         fi
2802 done
2803
2804 # Conditionalize the makefile for this target machine.
2805 # Make-target contains the concatenation of all host makefile fragments
2806 # [there can be more than one].  This file is built by configure.frag.
2807 target_overrides=Make-target
2808 dep_tmake_file=
2809 for f in .. ${tmake_file}
2810 do
2811         if [[ -f ${srcdir}/config/$f ]]
2812         then
2813                 dep_tmake_file="${dep_tmake_file} ${srcdir}/config/$f"
2814         fi
2815 done
2816
2817 # If the host doesn't support symlinks, modify CC in
2818 # FLAGS_TO_PASS so CC="stage1/xgcc -Bstage1/" works.
2819 # Otherwise, we can use "CC=$(CC)".
2820 rm -f symtest.tem
2821 if $symbolic_link symtest1.tem symtest.tem 2>/dev/null
2822 then
2823         cc_set_by_configure="\$(CC)"
2824         stage_prefix_set_by_configure="\$(STAGE_PREFIX)"
2825 else
2826         cc_set_by_configure="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`"
2827         stage_prefix_set_by_configure="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`"
2828 fi
2829 rm -f symtest.tem
2830
2831 out_object_file=`basename $out_file .c`.o
2832
2833 tm_file_list=
2834 for f in $tm_file; do
2835         tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
2836 done
2837
2838 host_xm_file_list=
2839 for f in $host_xm_file; do
2840         host_xm_file_list="${host_xm_file_list} \$(srcdir)/config/$f"
2841 done
2842
2843 build_xm_file_list=
2844 for f in $build_xm_file; do
2845         build_xm_file_list="${build_xm_file_list} \$(srcdir)/config/$f"
2846 done
2847
2848 # Define macro CROSS_COMPILE in compilation
2849 # if this is a cross-compiler.
2850 # Also use all.cross instead of all.internal
2851 # and add cross-make to Makefile.
2852 cross_overrides="/dev/null"
2853 if [[ x$host != x$target ]]
2854 then
2855         cross_defines="CROSS=-DCROSS_COMPILE"
2856         cross_overrides="${topdir}/cross-make"
2857 fi
2858
2859 # When building gcc with a cross-compiler, we need to fix a few things.
2860 # This must come after cross-make as we want all.build to override
2861 # all.cross.
2862 build_overrides="/dev/null"
2863 if [[ x$build != x$host ]]
2864 then
2865         build_overrides="${topdir}/build-make"
2866 fi
2867
2868 # Expand extra_headers to include complete path.
2869 # This substitutes for lots of t-* files.
2870 extra_headers_list=
2871 if [[ "x$extra_headers" = x ]]
2872 then true
2873 else
2874         # Prepend ${srcdir}/ginclude/ to every entry in extra_headers.
2875         for file in $extra_headers;
2876         do
2877                 extra_headers_list="${extra_headers_list} \$(srcdir)/ginclude/${file}"
2878         done
2879 fi
2880
2881 # Add a definition of USE_COLLECT2 if system wants one.
2882 # Also tell toplev.c what to do.
2883 # This substitutes for lots of t-* files.
2884 if [[ x$use_collect2 = x ]]
2885 then
2886         will_use_collect2=
2887         maybe_use_collect2=
2888 else
2889         will_use_collect2="ld"
2890         maybe_use_collect2="-DUSE_COLLECT2"
2891 fi
2892
2893 # NEED TO CONVERT
2894 # Set MD_DEPS if the real md file is in md.pre-cpp.
2895 # Set MD_CPP to the cpp to pass the md file through.  Md files use ';'
2896 # for line oriented comments, so we must always use a GNU cpp.  If
2897 # building gcc with a cross compiler, use the cross compiler just
2898 # built.  Otherwise, we can use the cpp just built.
2899 md_file_sub=
2900 if [[ "x$md_cppflags" = x ]]
2901 then
2902         md_file_sub=$srcdir/config/$md_file
2903 else
2904         md_file=md
2905 fi
2906
2907 # If we have gas in the build tree, make a link to it.
2908 if [[ -f ../gas/Makefile ]]; then
2909         rm -f as; $symbolic_link ../gas/as-new as 2>/dev/null
2910 fi
2911
2912 # If we have ld in the build tree, make a link to it.
2913 if [[ -f ../ld/Makefile ]]; then
2914 #       if [[ x$use_collect2 = x ]]; then
2915 #               rm -f ld; $symbolic_link ../ld/ld-new ld 2>/dev/null
2916 #       else
2917                 rm -f collect-ld; $symbolic_link ../ld/ld-new collect-ld 2>/dev/null
2918 #       fi
2919 fi
2920
2921 # Figure out what language subdirectories are present.
2922 subdirs=
2923 for lang in ${srcdir}/*/config-lang.in ..
2924 do
2925         case $lang in
2926         ..) ;;
2927         # The odd quoting in the next line works around
2928         # an apparent bug in bash 1.12 on linux.
2929         ${srcdir}/[[*]]/config-lang.in) ;;
2930         *) subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([[^/]]*\)/config-lang.in$,\1,'`" ;;
2931         esac
2932 done
2933
2934 # Make empty files to contain the specs and options for each language.
2935 # Then add #include lines to for a compiler that has specs and/or options.
2936
2937 lang_specs_files=
2938 lang_options_files=
2939 rm -f specs.h options.h
2940 touch specs.h options.h
2941 for subdir in . $subdirs
2942 do
2943         if [[ -f $srcdir/$subdir/lang-specs.h ]]; then
2944                 echo "#include \"$subdir/lang-specs.h\"" >>specs.h
2945                 lang_specs_files="$lang_specs_files $srcdir/$subdir/lang-specs.h"
2946         fi
2947         if [[ -f $srcdir/$subdir/lang-options.h ]]; then
2948                 echo "#include \"$subdir/lang-options.h\"" >>options.h
2949                 lang_options_files="$lang_options_files $srcdir/$subdir/lang-options.h"
2950         fi
2951 done
2952
2953 # These (without "all_") are set in each config-lang.in.
2954 # `language' must be a single word so is spelled singularly.
2955 all_languages=
2956 all_boot_languages=
2957 all_compilers=
2958 all_stagestuff=
2959 all_diff_excludes=
2960 all_outputs=Makefile
2961 # List of language makefile fragments.
2962 all_lang_makefiles=
2963 all_headers=
2964 all_lib2funcs=
2965
2966 # Add the language fragments.
2967 # Languages are added via two mechanisms.  Some information must be
2968 # recorded in makefile variables, these are defined in config-lang.in.
2969 # We accumulate them and plug them into the main Makefile.
2970 # The other mechanism is a set of hooks for each of the main targets
2971 # like `clean', `install', etc.
2972
2973 language_fragments="Make-lang"
2974 language_hooks="Make-hooks"
2975 oldstyle_subdirs=
2976
2977 for s in .. $subdirs
2978 do
2979         if [[ $s != ".." ]]
2980         then
2981                 language=
2982                 boot_language=
2983                 compilers=
2984                 stagestuff=
2985                 diff_excludes=
2986                 headers=
2987                 outputs=
2988                 lib2funcs=
2989                 . ${srcdir}/$s/config-lang.in
2990                 if [[ "x$language" = x ]]
2991                 then
2992                         echo "${srcdir}/$s/config-lang.in doesn't set \$language." 1>&2
2993                         exit 1
2994                 fi
2995                 all_lang_makefiles="$all_lang_makefiles ${srcdir}/$s/Make-lang.in ${srcdir}/$s/Makefile.in"
2996                 all_languages="$all_languages $language"
2997                 if [[ "x$boot_language" = xyes ]]
2998                 then
2999                         all_boot_languages="$all_boot_languages $language"
3000                 fi
3001                 all_compilers="$all_compilers $compilers"
3002                 all_stagestuff="$all_stagestuff $stagestuff"
3003                 all_diff_excludes="$all_diff_excludes $diff_excludes"
3004                 all_headers="$all_headers $headers"
3005                 all_outputs="$all_outputs $outputs"
3006                 if [[ x$outputs = x ]]
3007                 then
3008                         oldstyle_subdirs="$oldstyle_subdirs $s"
3009                 fi
3010                 all_lib2funcs="$all_lib2funcs $lib2funcs"
3011         fi
3012 done
3013
3014 # Since we can't use `::' targets, we link each language in
3015 # with a set of hooks, reached indirectly via lang.${target}.
3016
3017 rm -f Make-hooks
3018 touch Make-hooks
3019 target_list="all.build all.cross start.encap rest.encap \
3020         info dvi \
3021         install-normal install-common install-info install-man \
3022         uninstall distdir \
3023         mostlyclean clean distclean extraclean maintainer-clean \
3024         stage1 stage2 stage3 stage4"
3025 for t in $target_list
3026 do
3027         x=
3028         for l in .. $all_languages
3029         do
3030                 if [[ $l != ".." ]]; then
3031                         x="$x $l.$t"
3032                 fi
3033         done
3034         echo "lang.$t: $x" >> Make-hooks
3035 done
3036
3037 # If we're not building in srcdir, create .gdbinit.
3038
3039 if [[ ! -f Makefile.in ]]; then
3040         echo "dir ." > .gdbinit
3041         echo "dir ${srcdir}" >> .gdbinit
3042         if [[ x$gdb_needs_out_file_path = xyes ]]
3043         then
3044                 echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
3045         fi
3046         if [[ "x$subdirs" != x ]]; then
3047                 for s in $subdirs
3048                 do
3049                         echo "dir ${srcdir}/$s" >> .gdbinit
3050                 done
3051         fi
3052         echo "source ${srcdir}/.gdbinit" >> .gdbinit
3053 fi
3054
3055 # If this is using newlib, then define inhibit_libc in
3056 # LIBGCC2_CFLAGS.  This will cause __eprintf to be left out of
3057 # libgcc.a, but that's OK because newib should have its own version of
3058 # assert.h.
3059 inhibit_libc=
3060 if [[ x$with_newlib = xyes ]]; then
3061         inhibit_libc=-Dinhibit_libc
3062 fi
3063 AC_SUBST(inhibit_libc)
3064
3065 # Override SCHED_OBJ and SCHED_CFLAGS to enable the Haifa scheduler.
3066 sched_prefix=
3067 sched_cflags=
3068 if [[ x$enable_haifa = xyes ]]; then
3069     echo "Using the Haifa scheduler."
3070     sched_prefix=haifa-
3071     sched_cflags=-DHAIFA
3072 fi
3073 AC_SUBST(sched_prefix)
3074 AC_SUBST(sched_cflags)
3075 if [[ x$enable_haifa != x ]]; then
3076     # Explicitly remove files that need to be recompiled for the Haifa scheduler.
3077     for x in genattrtab.o toplev.o loop.o unroll.o *sched.o; do
3078         if [[ -f $x ]]; then
3079             echo "Removing $x"
3080             rm -f $x
3081         fi
3082     done
3083 fi
3084
3085 # Process the language and host/target makefile fragments.
3086 ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag $srcdir "$subdirs" "$dep_host_xmake_file" "$dep_tmake_file"
3087
3088 # Substitute configuration variables
3089 AC_SUBST(subdirs)
3090 AC_SUBST(all_languages)
3091 AC_SUBST(all_boot_languages)
3092 AC_SUBST(all_compilers)
3093 AC_SUBST(all_lang_makefiles)
3094 AC_SUBST(all_stagestuff)
3095 AC_SUBST(all_diff_excludes)
3096 AC_SUBST(all_lib2funcs)
3097 AC_SUBST(all_headers)
3098 AC_SUBST(extra_passes)
3099 AC_SUBST(extra_programs)
3100 AC_SUBST(extra_parts)
3101 AC_SUBST(extra_c_objs)
3102 AC_SUBST(extra_c_flags)
3103 AC_SUBST(extra_objs)
3104 AC_SUBST(host_extra_gcc_objs)
3105 AC_SUBST(extra_headers_list)
3106 AC_SUBST(dep_host_xmake_file)
3107 AC_SUBST(dep_tmake_file)
3108 AC_SUBST(out_file)
3109 AC_SUBST(out_object_file)
3110 AC_SUBST(md_file)
3111 AC_SUBST(tm_file_list)
3112 AC_SUBST(build_xm_file_list)
3113 AC_SUBST(host_xm_file_list)
3114 AC_SUBST(lang_specs_files)
3115 AC_SUBST(lang_options_files)
3116 AC_SUBST(thread_file)
3117 AC_SUBST(version)
3118 AC_SUBST(local_prefix)
3119 AC_SUBST(gxx_include_dir)
3120 AC_SUBST(fixincludes)
3121 AC_SUBST(build_install_headers_dir)
3122 AC_SUBST(build_exeext)
3123 AC_SUBST(float_format)
3124 AC_SUBST(will_use_collect2)
3125 AC_SUBST(maybe_use_collect2)
3126 AC_SUBST(cc_set_by_configure)
3127 AC_SUBST(stage_prefix_set_by_configure)
3128 AC_SUBST(install)
3129
3130 AC_SUBST_FILE(target_overrides)
3131 AC_SUBST_FILE(host_overrides)
3132 AC_SUBST(cross_defines)
3133 AC_SUBST_FILE(cross_overrides)
3134 AC_SUBST_FILE(build_overrides)
3135 AC_SUBST_FILE(language_fragments)
3136 AC_SUBST_FILE(language_hooks)
3137