1 # configure.in for GNU CC
2 # Process this file with autoconf to generate a configuration script.
4 # Copyright (C) 1997, 1998 Free Software Foundation, Inc.
6 #This file is part of GNU CC.
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)
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.
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.
23 # Initialization and defaults
25 AC_CONFIG_HEADER(auto-config.h:config.in)
32 # Check for additional parameters
36 [ --with-gnu-ld arrange to work with GNU ld.],
37 gnu_ld="$with_gnu_ld",
42 [ --with-gnu-as arrange to work with GNU as.],
48 [ --with-stabs arrange to use stabs instead of host debug format.],
54 [ --with-elf arrange to use ELF instead of host debug format.],
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)
64 # Default local prefix if it is empty
65 if [[ x$local_prefix = x ]]; then
66 local_prefix=/usr/local
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++')
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++'
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
89 # Enable Haifa scheduler.
91 [ --enable-haifa Use the experimental scheduler.
92 --disable-haifa Don't use the experimental scheduler for the
93 targets which normally enable it.])
96 # Pass with no value to take the default
97 # Pass with a value to specify a thread package
98 AC_ARG_ENABLE(threads,
99 [ --enable-threads enable thread usage for target GCC.
100 --enable-threads=LIB use LIB thread package for target GCC.],
101 if [[[ x$enable_threads = xno ]]]; then
106 # Check if a valid thread package
107 case x${enable_threads} in
110 target_thread_file='single'
114 target_thread_file=''
116 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
117 xsolaris | xwin32 | xdce | xvxworks)
118 target_thread_file=$enable_threads
121 echo "$enable_threads is an unknown thread package" 1>&2
126 # Determine the host, build, and target systems
129 # Find the native compiler
133 # Find some useful tools
144 AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h fcntl.h unistd.h sys/file.h sys/time.h sys/resource.h sys/param.h sys/times.h varargs.h sys/varargs.h)
146 # Check for thread headers.
147 AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])
148 AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=])
150 # See if the system preprocessor understands the ANSI C preprocessor
151 # stringification operator.
152 AC_MSG_CHECKING(whether cpp understands the stringify operator)
153 AC_CACHE_VAL(gcc_cv_c_have_stringify,
156 char *test = S(foo);],
157 gcc_cv_c_have_stringify=yes, gcc_cv_c_have_stringify=no)])
158 AC_MSG_RESULT($gcc_cv_c_have_stringify)
159 if test $gcc_cv_c_have_stringify = yes; then
160 AC_DEFINE(HAVE_CPP_STRINGIFY)
163 # Use <inttypes.h> only if it exists,
164 # doesn't clash with <sys/types.h>, and declares intmax_t.
165 AC_MSG_CHECKING(for inttypes.h)
166 AC_CACHE_VAL(gcc_cv_header_inttypes_h,
168 [#include <sys/types.h>
169 #include <inttypes.h>],
171 [AC_DEFINE_UNQUOTED(HAVE_INTTYPES_H)
172 gcc_cv_header_inttypes_h=yes],
173 gcc_cv_header_inttypes_h=no)])
174 AC_MSG_RESULT($gcc_cv_header_inttypes_h)
176 AC_CHECK_FUNCS(strtoul bsearch strerror putenv popen vprintf bcopy bzero bcmp \
177 index rindex kill getrlimit setrlimit atoll atoq sysconf)
181 GCC_NEED_DECLARATIONS(malloc realloc calloc free bcopy bzero bcmp \
182 index rindex getenv atol sbrk abort)
194 build_install_headers_dir=install-headers-tar
199 host_truncate_target=
202 # Decode the host machine, then the target machine.
203 # For the host machine, we save the xm_file variable as host_xm_file;
204 # then we decode the target machine and forget everything else
205 # that came from the host machine.
206 for machine in $build $host $target; do
220 # Set this to force installation and use of collect2.
222 # Set this to override the default target model.
224 # Set this to control which fixincludes program to use.
225 fixincludes=fixincludes
226 # Set this to control how the header file directory is installed.
227 install_headers_dir=install-headers-tar
228 # Set this to a non-empty list of args to pass to cpp if the target
229 # wants its .md file passed through cpp.
231 # Set this if directory names should be truncated to 14 characters.
233 # Set this if gdb needs a dir command with `dirname $out_file`
234 gdb_needs_out_file_path=
235 # Set this if the build machine requires executables to have a
238 # Set this to control which thread package will be used.
241 # Set default cpu_type, tm_file and xm_file so it can be updated in
242 # each machine entry.
243 cpu_type=`echo $machine | sed 's/-.*$//'`
277 tm_file=${cpu_type}/${cpu_type}.h
278 xm_file=${cpu_type}/xm-${cpu_type}.h
280 # Set the default macros to define for GNU/Linux systems.
283 xm_defines="HAVE_ATEXIT POSIX NO_STAB_H BSTRING"
288 # Support site-specific machine types.
290 cpu_type=`echo $machine | sed -e 's/-.*//'`
291 rest=`echo $machine | sed -e "s/$cpu_type-//"`
292 xm_file=${cpu_type}/xm-$rest.h
293 tm_file=${cpu_type}/$rest.h
294 if [[ -f $srcdir/config/${cpu_type}/x-$rest ]] ; \
295 then xmake_file=${cpu_type}/x-$rest; \
298 if [[ -f $srcdir/config/${cpu_type}/t-$rest ]] ; \
299 then tmake_file=${cpu_type}/t-$rest; \
305 a29k-*-bsd* | a29k-*-sym1*)
306 tm_file="${tm_file} a29k/unix.h"
308 xmake_file=a29k/x-unix
311 a29k-*-udi | a29k-*-coff)
312 tm_file="${tm_file} dbxcoff.h a29k/udi.h"
313 tmake_file=a29k/t-a29kbare
316 tm_file="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h"
317 tmake_file=a29k/t-vx29k
318 extra_parts="crtbegin.o crtend.o"
319 thread_file='vxworks'
321 a29k-*-*) # Default a29k environment.
324 alpha*-*-linux-gnuecoff*)
325 tm_file="${tm_file} alpha/linux.h"
327 target_cpu_default="MASK_GAS"
332 alpha*-*-linux-gnulibc1*)
333 tm_file="${tm_file} alpha/linux.h alpha/elf.h"
335 target_cpu_default="MASK_GAS"
336 tmake_file="t-linux t-linux-gnulibc1 alpha/t-linux"
339 if [[ x$enable_threads = xyes ]]; then
344 tm_file="${tm_file} alpha/elf.h alpha/linux-elf.h alpha/linux.h"
345 xm_file="${xm_file} alpha/xm-linux.h"
347 target_cpu_default="MASK_GAS"
348 tmake_file="t-linux alpha/t-linux"
349 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
351 fixincludes=Makefile.in
353 if [[ x$enable_threads = xyes ]]; then
358 if [[ x$stabs = xyes ]]
360 tm_file="${tm_file} dbx.h"
362 if [[ x$gas != xyes ]]
364 extra_passes="mips-tfile mips-tdump"
369 tm_file="${tm_file} alpha/osf.h alpha/osf12.h alpha/osf2or3.h"
372 tm_file="${tm_file} alpha/osf.h alpha/osf2or3.h"
375 tm_file="${tm_file} alpha/osf.h"
376 # Some versions of OSF4 (specifically X4.0-9 296.7) have
377 # a broken tar, so we use cpio instead.
378 install_headers_dir=install-headers-cpio
381 tm_file="${tm_file} alpha/osf.h"
385 *-*-osf4.0[[b-z]] | *-*-osf4.[[1-9]]*)
386 target_cpu_default=MASK_SUPPORT_ARCH
391 tm_file="${tm_file} alpha/win-nt.h"
392 xm_file="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
394 xmake_file=winnt/x-winnt
395 extra_host_objs=oldnames.o
396 extra_gcc_objs="spawnv.o oldnames.o"
397 fixincludes=fixinc.winnt
398 if [[ x$gnu_ld != xyes ]]
400 extra_programs=ld.exe
402 if [[ x$enable_threads = xyes ]]; then
408 xm_file="${xm_file} alpha/xm-vms.h"
409 tmake_file=alpha/t-vms
410 fixincludes=Makefile.in
413 extra_parts="crtinit.o crtfini.o"
415 arm-*-coff* | armel-*-coff*)
417 tmake_file=arm/t-bare
419 arm-*-riscix1.[[01]]*) # Acorn RISC machine (early versions)
420 tm_file=arm/riscix1-1.h
423 arm-*-riscix*) # Acorn RISC machine
424 if [[ x$gas = xyes ]]
426 tm_file=arm/rix-gas.h
430 xmake_file=arm/x-riscix
431 tmake_file=arm/t-riscix
434 arm-semi-aout | armel-semi-aout)
436 tmake_file=arm/t-semi
437 fixincludes=Makefile.in # There is nothing to fix
439 arm-semi-aof | armel-semi-aof)
440 tm_file=arm/semiaof.h
441 tmake_file=arm/t-semiaof
442 fixincludes=Makefile.in # There is nothing to fix
446 xm_file="xm-siglist.h ${xm_file}"
447 tmake_file="t-netbsd arm/t-netbsd"
448 # On NetBSD, the headers are already okay, except for math.h.
449 fixincludes=fixinc.math
451 arm-*-linux-gnuaout*) # ARM GNU/Linux
454 tm_file=arm/linux-gas.h
455 tmake_file=arm/t-linux
456 fixincludes=Makefile.in
461 tmake_file=arm/t-bare
463 c1-convex-*) # Convex C1
466 fixincludes=Makefile.in
468 c2-convex-*) # Convex C2
471 fixincludes=Makefile.in
476 fixincludes=Makefile.in
481 fixincludes=Makefile.in
484 target_cpu_default=16
486 fixincludes=Makefile.in
488 clipper-intergraph-clix*)
489 tm_file="${tm_file} svr3.h clipper/clix.h"
490 xm_file=clipper/xm-clix.h
491 xmake_file=clipper/x-clix
492 extra_headers=va-clipper.h
493 extra_parts="crtbegin.o crtend.o"
494 install_headers_dir=install-headers-cpio
501 # This hasn't been upgraded to GCC 2.
502 # fx80-alliant-*) # Alliant FX/80
508 tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h"
509 xm_file=pa/xm-papro.h
514 tm_file="${tm_file} pa/pa-osf.h"
516 fixincludes=Makefile.in
519 tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
520 xm_file=pa/xm-papro.h
524 tm_file="${tm_file} pa/pa-osf.h"
526 fixincludes=Makefile.in
531 fixincludes=Makefile.in
535 fixincludes=Makefile.in
538 tm_file="pa/pa-oldas.h ${tm_file} pa/pa-hpux7.h"
539 xm_file=pa/xm-pahpux.h
540 xmake_file=pa/x-pa-hpux
541 if [[ x$gas = xyes ]]
543 tm_file="${tm_file} pa/gas.h"
545 install_headers_dir=install-headers-cpio
548 hppa1.0-*-hpux8.0[[0-2]]*)
549 tm_file="${tm_file} pa/pa-hpux.h"
550 xm_file=pa/xm-pahpux.h
551 xmake_file=pa/x-pa-hpux
552 if [[ x$gas = xyes ]]
554 tm_file="${tm_file} pa/pa-gas.h"
556 tm_file="pa/pa-oldas.h ${tm_file}"
558 install_headers_dir=install-headers-cpio
561 hppa1.1-*-hpux8.0[[0-2]]*)
563 tm_file="${tm_file} pa/pa-hpux.h"
564 xm_file=pa/xm-pahpux.h
565 xmake_file=pa/x-pa-hpux
566 if [[ x$gas = xyes ]]
568 tm_file="${tm_file} pa/pa-gas.h"
570 tm_file="pa/pa-oldas.h ${tm_file}"
572 install_headers_dir=install-headers-cpio
577 tm_file="${tm_file} pa/pa-hpux.h"
578 xm_file=pa/xm-pahpux.h
579 xmake_file=pa/x-pa-hpux
580 if [[ x$gas = xyes ]]
582 tm_file="${tm_file} pa/pa-gas.h"
584 install_headers_dir=install-headers-cpio
588 tm_file="${tm_file} pa/pa-hpux.h"
589 xm_file=pa/xm-pahpux.h
590 xmake_file=pa/x-pa-hpux
591 if [[ x$gas = xyes ]]
593 tm_file="${tm_file} pa/pa-gas.h"
595 install_headers_dir=install-headers-cpio
600 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
601 xm_file=pa/xm-pahpux.h
602 xmake_file=pa/x-pa-hpux
604 if [[ x$gas = xyes ]]
606 tm_file="${tm_file} pa/pa-gas.h"
608 if [[ x$enable_threads = x ]]; then
609 enable_threads=$have_pthread_h
611 if [[ x$enable_threads = xyes ]]; then
613 tmake_file="${tmake_file} pa/t-dce-thr"
615 install_headers_dir=install-headers-cpio
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 ]]
624 tm_file="${tm_file} pa/pa-gas.h"
626 if [[ x$enable_threads = x ]]; then
627 enable_threads=$have_pthread_h
629 if [[ x$enable_threads = xyes ]]; then
631 tmake_file="${tmake_file} pa/t-dce-thr"
633 install_headers_dir=install-headers-cpio
638 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
639 xm_file=pa/xm-pahpux.h
640 xmake_file=pa/x-pa-hpux
641 if [[ x$gas = xyes ]]
643 tm_file="${tm_file} pa/pa-gas.h"
645 install_headers_dir=install-headers-cpio
649 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
650 xm_file=pa/xm-pahpux.h
651 xmake_file=pa/x-pa-hpux
652 if [[ x$gas = xyes ]]
654 tm_file="${tm_file} pa/pa-gas.h"
656 install_headers_dir=install-headers-cpio
661 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
662 xm_file=pa/xm-pahpux.h
663 xmake_file=pa/x-pa-hpux
664 if [[ x$gas = xyes ]]
666 tm_file="${tm_file} pa/pa-gas.h"
668 install_headers_dir=install-headers-cpio
672 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
673 xm_file=pa/xm-pahpux.h
674 xmake_file=pa/x-pa-hpux
675 if [[ x$gas = xyes ]]
677 tm_file="${tm_file} pa/pa-gas.h"
679 install_headers_dir=install-headers-cpio
685 fixincludes=Makefile.in
689 i[[34567]]86-ibm-aix*) # IBM PS/2 running AIX
690 if [[ x$gas = xyes ]]
692 tm_file=i386/aix386.h
693 extra_parts="crtbegin.o crtend.o"
694 tmake_file=i386/t-crtstuff
696 tm_file=i386/aix386ng.h
699 xm_file="xm-alloca.h i386/xm-aix.h ${xm_file}"
701 xmake_file=i386/x-aix
703 i[[34567]]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
704 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
705 xm_defines="USG POSIX SMALL_ARG_MAX"
706 xmake_file=i386/x-ncr3000
707 if [[ x$stabs = xyes -a x$gas = xyes ]]
709 tm_file=i386/sysv4gdb.h
713 extra_parts="crtbegin.o crtend.o"
714 tmake_file=i386/t-crtpic
718 xm_file=i386/xm-next.h
719 tmake_file=i386/t-next
720 xmake_file=i386/x-next
721 extra_objs=nextstep.o
722 if [[ x$enable_threads = xyes ]]; then
726 i[[34567]]86-sequent-bsd*) # 80386 from Sequent
728 if [[ x$gas = xyes ]]
730 tm_file=i386/seq-gas.h
732 tm_file=i386/sequent.h
735 i[[34567]]86-sequent-ptx1*)
736 xm_defines="USG SVR3"
737 xmake_file=i386/x-sysv3
738 tm_file=i386/seq-sysv3.h
739 tmake_file=i386/t-crtstuff
740 fixincludes=fixinc.ptx
741 extra_parts="crtbegin.o crtend.o"
742 install_headers_dir=install-headers-cpio
744 i[[34567]]86-sequent-ptx2* | i[[34567]]86-sequent-sysv3*)
745 xm_defines="USG SVR3"
746 xmake_file=i386/x-sysv3
747 tm_file=i386/seq2-sysv3.h
748 tmake_file=i386/t-crtstuff
749 extra_parts="crtbegin.o crtend.o"
750 fixincludes=fixinc.ptx
751 install_headers_dir=install-headers-cpio
753 i[[34567]]86-sequent-ptx4* | i[[34567]]86-sequent-sysv4*)
754 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
755 xm_defines="USG POSIX SMALL_ARG_MAX"
757 tm_file=i386/ptx4-i.h
759 extra_parts="crtbegin.o crtend.o"
760 fixincludes=fixinc.ptx
761 install_headers_dir=install-headers-cpio
763 i386-sun-sunos*) # Sun i386 roadrunner
768 i[[3456]]86-wrs-vxworks*)
769 tm_file=i386/vxi386.h
770 tmake_file=i386/t-i386bare
772 i[[34567]]86-*-aout*)
773 tm_file=i386/i386-aout.h
774 tmake_file=i386/t-i386bare
776 i[[34567]]86-*-bsdi* | i[[34567]]86-*-bsd386*)
777 tm_file=i386/bsd386.h
778 # tmake_file=t-libc-ok
781 tm_file=i386/386bsd.h
782 # tmake_file=t-libc-ok
783 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
786 i[[34567]]86-*-freebsdelf*)
787 tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
788 # On FreeBSD, the headers are already ok, except for math.h.
789 fixincludes=fixinc.math
790 tmake_file=i386/t-freebsd
795 i[[34567]]86-*-freebsd*)
796 tm_file=i386/freebsd.h
797 # On FreeBSD, the headers are already ok, except for math.h.
798 fixincludes=fixinc.math
799 tmake_file=i386/t-freebsd
801 i[[34567]]86-*-netbsd*)
802 tm_file=i386/netbsd.h
803 # On NetBSD, the headers are already okay, except for math.h.
804 fixincludes=fixinc.math
807 i[[34567]]86-*-coff*)
808 tm_file=i386/i386-coff.h
809 tmake_file=i386/t-i386bare
811 i[[34567]]86-*-isc*) # 80386 running ISC system
812 xm_file="${xm_file} i386/xm-isc.h"
813 xm_defines="USG SVR3"
815 i[[34567]]86-*-isc[[34]]*)
816 xmake_file=i386/x-isc3
819 xmake_file=i386/x-isc
822 if [[ x$gas = xyes -a x$stabs = xyes ]]
824 tm_file=i386/iscdbx.h
825 tmake_file=i386/t-svr3dbx
826 extra_parts="svr3.ifile svr3z.ifile"
828 tm_file=i386/isccoff.h
829 tmake_file=i386/t-crtstuff
830 extra_parts="crtbegin.o crtend.o"
832 install_headers_dir=install-headers-cpio
834 i[[34567]]86-*-linux-gnuoldld*) # Intel 80386's running GNU/Linux
835 # with a.out format using
837 xmake_file=x-linux-aout
838 tmake_file="t-linux-aout i386/t-crtstuff"
839 tm_file=i386/linux-oldld.h
840 fixincludes=Makefile.in #On Linux, the headers are ok already.
843 i[[34567]]86-*-linux-gnuaout*) # Intel 80386's running GNU/Linux
845 xmake_file=x-linux-aout
846 tmake_file="t-linux-aout i386/t-crtstuff"
847 tm_file=i386/linux-aout.h
848 fixincludes=Makefile.in #On Linux, the headers are ok already.
851 i[[34567]]86-*-linux-gnulibc1) # Intel 80386's running GNU/Linux
852 # with ELF format using the
853 # GNU/Linux C library 5
856 tmake_file="t-linux t-linux-gnulibc1 i386/t-crtstuff"
857 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
858 fixincludes=Makefile.in #On Linux, the headers are ok already.
860 if [[ x$enable_threads = xyes ]]; then
864 i[[34567]]86-*-linux-gnu*) # Intel 80386's running GNU/Linux
865 # with ELF format using glibc 2
866 # aka GNU/Linux C library 6
869 tmake_file="t-linux i386/t-crtstuff"
870 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
871 fixincludes=Makefile.in #On Linux, the headers are ok already.
873 if [[ x$enable_threads = xyes ]]; then
879 i[[34567]]86-go32-msdos | i[[34567]]86-*-go32*)
880 xm_file=i386/xm-go32.h
882 tmake_file=i386/t-go32
884 i[[34567]]86-pc-msdosdjgpp*)
885 xm_file=i386/xm-go32.h
887 tmake_file=i386/t-go32
891 i[[34567]]86-moss-msdos* | i[[34567]]86-*-moss*)
894 fixincludes=Makefile.in
898 i[[34567]]86-*-lynxos*)
899 if [[ x$gas = xyes ]]
903 tm_file=i386/lynx-ng.h
905 xm_file=i386/xm-lynx.h
906 tmake_file=i386/t-i386bare
909 i[[34567]]86-*-mach*)
911 # tmake_file=t-libc-ok
914 i[[34567]]86-*-osfrose*) # 386 using OSF/rose
915 if [[ x$elf = xyes ]]
917 tm_file=i386/osfelf.h
920 tm_file=i386/osfrose.h
923 xm_file="i386/xm-osf.h ${xm_file}"
924 xmake_file=i386/x-osfrose
925 tmake_file=i386/t-osf
928 i[[34567]]86-go32-rtems*)
930 xm_file=i386/xm-go32.h
931 tm_file=i386/go32-rtems.h
932 tmake_file="i386/t-go32 t-rtems"
934 i[[34567]]86-*-rtems*)
937 tmake_file="i386/t-i386bare t-rtems"
939 i[[34567]]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
940 xm_file="xm-siglist.h xm-alloca.h ${xm_file} i386/xm-sco5.h"
941 xm_defines="USG SVR3"
942 xmake_file=i386/x-sco5
943 fixincludes=fixinc.sco
944 install_headers_dir=install-headers-cpio
946 tmake_file=i386/t-sco5
947 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
949 i[[34567]]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system
950 xm_file="${xm_file} i386/xm-sco.h"
951 xm_defines="USG SVR3 BROKEN_LDEXP SMALL_ARG_MAX NO_SYS_SIGLIST"
952 xmake_file=i386/x-sco4
953 fixincludes=fixinc.sco
954 install_headers_dir=install-headers-cpio
955 if [[ x$stabs = xyes ]]
957 tm_file=i386/sco4dbx.h
958 tmake_file=i386/t-svr3dbx
959 extra_parts="svr3.ifile svr3z.rfile"
962 tmake_file=i386/t-crtstuff
963 extra_parts="crtbegin.o crtend.o"
967 i[[34567]]86-*-sco*) # 80386 running SCO system
968 xm_file=i386/xm-sco.h
969 xmake_file=i386/x-sco
970 install_headers_dir=install-headers-cpio
971 if [[ x$stabs = xyes ]]
973 tm_file=i386/scodbx.h
974 tmake_file=i386/t-svr3dbx
975 extra_parts="svr3.ifile svr3z.rfile"
978 extra_parts="crtbegin.o crtend.o"
979 tmake_file=i386/t-crtstuff
983 i[[34567]]86-*-solaris2*)
984 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
985 xm_defines="USG POSIX SMALL_ARG_MAX"
986 if [[ x$stabs = xyes ]]
988 tm_file=i386/sol2dbg.h
992 tmake_file=i386/t-sol2
993 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
996 *-*-solaris2.[[0-4]])
997 fixincludes=fixinc.svr4;;
999 fixincludes=fixinc.math;;
1001 if [[ x$enable_threads = xyes ]]; then
1002 thread_file='solaris'
1005 i[[34567]]86-*-sysv5*) # Intel x86 on System V Release 5
1006 xm_file=i386/xm-sysv4.h
1007 tm_file=i386/sysv4.h
1008 if [[ x$stabs = xyes ]]
1010 tm_file="${tm_file} dbx.h"
1012 tmake_file=i386/t-crtpic
1014 extra_parts="crtbegin.o crtend.o"
1015 fixincludes=Makefile.in # The headers are just fine, thank you.
1017 i[[34567]]86-*-sysv4*) # Intel 80386's running system V.4
1018 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
1019 xm_defines="USG POSIX SMALL_ARG_MAX"
1020 tm_file=i386/sysv4.h
1021 if [[ x$stabs = xyes ]]
1023 tm_file="${tm_file} dbx.h"
1025 tmake_file=i386/t-crtpic
1027 extra_parts="crtbegin.o crtend.o"
1029 i[[34567]]86-*-sysv*) # Intel 80386's running system V
1030 xm_defines="USG SVR3"
1031 xmake_file=i386/x-sysv3
1032 if [[ x$gas = xyes ]]
1034 if [[ x$stabs = xyes ]]
1036 tm_file=i386/svr3dbx.h
1037 tmake_file=i386/t-svr3dbx
1038 extra_parts="svr3.ifile svr3z.rfile"
1040 tm_file=i386/svr3gas.h
1041 extra_parts="crtbegin.o crtend.o"
1042 tmake_file=i386/t-crtstuff
1045 tm_file=i386/sysv3.h
1046 extra_parts="crtbegin.o crtend.o"
1047 tmake_file=i386/t-crtstuff
1050 i386-*-vsta) # Intel 80386's running VSTa kernel
1051 xm_file=i386/xm-vsta.h
1053 tmake_file=i386/t-vsta
1054 xmake_file=i386/x-vsta
1056 i[[34567]]86-*-pe | i[[34567]]86-*-cygwin32)
1057 xm_file="${xm_file} i386/xm-cygwin32.h"
1058 tmake_file=i386/t-cygwin32
1059 tm_file=i386/cygwin32.h
1060 xmake_file=i386/x-cygwin32
1062 fixincludes=Makefile.in
1063 if [[ x$enable_threads = xyes ]]; then
1068 i[[34567]]86-*-mingw32*)
1069 tm_file=i386/mingw32.h
1070 xm_file="${xm_file} i386/xm-mingw32.h"
1071 tmake_file=i386/t-cygwin32
1073 xmake_file=i386/x-cygwin32
1074 fixincludes=Makefile.in
1075 if [[ x$enable_threads = xyes ]]; then
1082 *minwg32crt* | *mingw32*)
1083 tm_file="${tm_file} i386/crtdll.h"
1087 i[[34567]]86-*-winnt3*)
1088 tm_file=i386/win-nt.h
1089 out_file=i386/i386.c
1090 xm_file="xm-winnt.h ${xm_file}"
1091 xmake_file=winnt/x-winnt
1092 tmake_file=i386/t-winnt
1093 extra_host_objs="winnt.o oldnames.o"
1094 extra_gcc_objs="spawnv.o oldnames.o"
1095 fixincludes=fixinc.winnt
1096 if [[ x$gnu_ld != xyes ]]
1098 extra_programs=ld.exe
1100 if [[ x$enable_threads = xyes ]]; then
1104 i[[34567]]86-dg-dgux*)
1105 xm_file="xm-alloca.h xm-siglist.h ${xm_file}"
1106 xm_defines="USG POSIX"
1107 out_file=i386/dgux.c
1109 tmake_file=i386/t-dgux
1110 xmake_file=i386/x-dgux
1111 fixincludes=Makefile.in # There is nothing to fix
1112 install_headers_dir=install-headers-cpio
1114 i860-alliant-*) # Alliant FX/2800
1115 tm_file="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
1116 xm_file="${xm_file}"
1117 xmake_file=i860/x-fx2800
1118 tmake_file=i860/t-fx2800
1119 extra_parts="crtbegin.o crtend.o"
1122 tm_file="${tm_file} i860/bsd.h"
1123 if [[ x$gas = xyes ]]
1125 tm_file="${tm_file} i860/bsd-gas.h"
1130 tm_file="${tm_file} i860/mach.h"
1131 tmake_file=t-libc-ok
1133 i860-*-osf*) # Intel Paragon XP/S, OSF/1AD
1134 tm_file="${tm_file} svr3.h i860/paragon.h"
1135 xm_defines="USG SVR3"
1139 tm_file="${tm_file} svr3.h i860/sysv3.h"
1140 xm_defines="USG SVR3"
1141 xmake_file=i860/x-sysv3
1142 extra_parts="crtbegin.o crtend.o"
1145 tm_file="${tm_file} svr4.h i860/sysv4.h"
1146 xm_defines="USG SVR3"
1147 xmake_file=i860/x-sysv4
1149 extra_parts="crtbegin.o crtend.o"
1151 i960-wrs-vxworks5 | i960-wrs-vxworks5.0*)
1152 tm_file="${tm_file} i960/vx960.h"
1153 tmake_file=i960/t-vxworks960
1155 thread_file='vxworks'
1157 i960-wrs-vxworks5* | i960-wrs-vxworks)
1158 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
1159 tmake_file=i960/t-vxworks960
1161 thread_file='vxworks'
1164 tm_file="${tm_file} i960/vx960.h"
1165 tmake_file=i960/t-vxworks960
1167 thread_file='vxworks'
1170 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
1171 tmake_file=i960/t-960bare
1175 tmake_file="i960/t-960bare t-rtems"
1176 tm_file="${tm_file} dbxcoff.h i960/rtems.h"
1179 i960-*-*) # Default i960 environment.
1183 extra_parts="crtinit.o crtfini.o"
1185 m68000-convergent-sysv*)
1187 xm_file="m68k/xm-3b1.h ${xm_file}"
1190 extra_headers=math-68881.h
1192 m68000-hp-bsd*) # HP 9000/200 running BSD
1193 tm_file=m68k/hp2bsd.h
1194 xmake_file=m68k/x-hp2bsd
1196 extra_headers=math-68881.h
1198 m68000-hp-hpux*) # HP 9000 series 300
1199 xm_file="xm_alloca.h ${xm_file}"
1200 xm_defines="USG NO_SYS_SIGLIST"
1201 if [[ x$gas = xyes ]]
1203 xmake_file=m68k/x-hp320g
1204 tm_file=m68k/hp310g.h
1206 xmake_file=m68k/x-hp320
1207 tm_file=m68k/hp310.h
1209 install_headers_dir=install-headers-cpio
1211 extra_headers=math-68881.h
1216 extra_headers=math-68881.h
1219 tm_file=m68k/sun2o4.h
1221 extra_headers=math-68881.h
1224 xm_file="m68k/xm-3b1.h ${xm_file}"
1226 if [[ x$gas = xyes ]]
1233 extra_headers=math-68881.h
1235 m68k-apple-aux*) # Apple Macintosh running A/UX
1236 xm_defines="USG AUX"
1237 tmake_file=m68k/t-aux
1238 install_headers_dir=install-headers-cpio
1239 extra_headers=math-68881.h
1240 extra_parts="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
1242 if [[ "$gnu_ld" = yes ]]
1244 tm_file="${tm_file} m68k/auxgld.h"
1246 tm_file="${tm_file} m68k/auxld.h"
1248 if [[ "$gas" = yes ]]
1250 tm_file="${tm_file} m68k/auxgas.h"
1252 tm_file="${tm_file} m68k/auxas.h"
1254 tm_file="${tm_file} m68k/a-ux.h"
1257 tm_file=m68k/apollo68.h
1258 xmake_file=m68k/x-apollo68
1260 extra_headers=math-68881.h
1262 m68k-altos-sysv*) # Altos 3068
1263 if [[ x$gas = xyes ]]
1265 tm_file=m68k/altos3068.h
1268 echo "The Altos is supported only with the GNU assembler" 1>&2
1271 extra_headers=math-68881.h
1273 m68k-bull-sysv*) # Bull DPX/2
1274 if [[ x$gas = xyes ]]
1276 if [[ x$stabs = xyes ]]
1278 tm_file=m68k/dpx2cdbx.h
1280 tm_file=m68k/dpx2g.h
1285 xm_file="xm-alloca.h ${xm_file}"
1287 xmake_file=m68k/x-dpx2
1289 extra_headers=math-68881.h
1291 m68k-atari-sysv4*) # Atari variant of V.4.
1292 tm_file=m68k/atari.h
1293 xm_file="xm-alloca.h ${xm_file}"
1294 xm_defines="USG FULL_PROTOTYPES"
1296 extra_parts="crtbegin.o crtend.o"
1297 extra_headers=math-68881.h
1299 m68k-motorola-sysv*)
1300 tm_file=m68k/mot3300.h
1301 xm_file="xm-alloca.h m68k/xm-mot3300.h ${xm_file}"
1302 xm_defines=NO_SYS_SIGLIST
1303 if [[ x$gas = xyes ]]
1305 xmake_file=m68k/x-mot3300-gas
1306 if [[ x$gnu_ld = xyes ]]
1308 tmake_file=m68k/t-mot3300-gald
1310 tmake_file=m68k/t-mot3300-gas
1314 xmake_file=m68k/x-mot3300
1315 if [[ x$gnu_ld = xyes ]]
1317 tmake_file=m68k/t-mot3300-gld
1319 tmake_file=m68k/t-mot3300
1323 gdb_needs_out_file_path=yes
1324 extra_parts="crt0.o mcrt0.o"
1325 extra_headers=math-68881.h
1327 m68k-ncr-sysv*) # NCR Tower 32 SVR3
1328 tm_file=m68k/tower-as.h
1329 xm_defines="USG SVR3"
1330 xmake_file=m68k/x-tower
1331 extra_parts="crtbegin.o crtend.o"
1332 extra_headers=math-68881.h
1335 tm_file=m68k/plexus.h
1336 xm_file="xm-alloca.h m68k/xm-plexus.h ${xm_file}"
1339 extra_headers=math-68881.h
1343 xm_file="xm-alloca.h ${xm_file}"
1345 extra_headers=math-68881.h
1348 xm_file="xm-alloca.h m68k/xm-crds.h ${xm_file}"
1349 xm_defines="USG unos"
1350 xmake_file=m68k/x-crds
1353 extra_headers=math-68881.h
1355 m68k-cbm-sysv4*) # Commodore variant of V.4.
1357 xm_file="xm-alloca.h ${xm_file}"
1358 xm_defines="USG FULL_PROTOTYPES"
1359 xmake_file=m68k/x-amix
1361 extra_parts="crtbegin.o crtend.o"
1362 extra_headers=math-68881.h
1365 tm_file=m68k/ccur-GAS.h
1366 xmake_file=m68k/x-ccur
1367 extra_headers=math-68881.h
1370 m68k-hp-bsd4.4*) # HP 9000/3xx running 4.4bsd
1371 tm_file=m68k/hp3bsd44.h
1372 xmake_file=m68k/x-hp3bsd44
1374 extra_headers=math-68881.h
1376 m68k-hp-bsd*) # HP 9000/3xx running Berkeley Unix
1377 tm_file=m68k/hp3bsd.h
1379 extra_headers=math-68881.h
1382 if [[ x$with_fp = xno ]]
1384 tm_file=m68k/isi-nfp.h
1389 extra_headers=math-68881.h
1391 m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
1392 xm_file="xm_alloca.h ${xm_file}"
1393 xm_defines="USG NO_SYS_SIGLIST"
1394 if [[ x$gas = xyes ]]
1396 xmake_file=m68k/x-hp320g
1397 tm_file=m68k/hp320g.h
1399 xmake_file=m68k/x-hp320
1400 tm_file=m68k/hpux7.h
1402 install_headers_dir=install-headers-cpio
1404 extra_headers=math-68881.h
1406 m68k-hp-hpux*) # HP 9000 series 300
1407 xm_file="xm_alloca.h ${xm_file}"
1408 xm_defines="USG NO_SYS_SIGLIST"
1409 if [[ x$gas = xyes ]]
1411 xmake_file=m68k/x-hp320g
1412 tm_file=m68k/hp320g.h
1414 xmake_file=m68k/x-hp320
1415 tm_file=m68k/hp320.h
1417 install_headers_dir=install-headers-cpio
1419 extra_headers=math-68881.h
1422 tm_file=m68k/sun3mach.h
1424 extra_headers=math-68881.h
1427 if [[ x$gas = xyes ]]
1429 tm_file=m68k/news3gas.h
1431 tm_file=m68k/news3.h
1434 extra_headers=math-68881.h
1436 m68k-sony-bsd* | m68k-sony-newsos*)
1437 if [[ x$gas = xyes ]]
1439 tm_file=m68k/newsgas.h
1444 extra_headers=math-68881.h
1446 m68k-next-nextstep2*)
1447 tm_file=m68k/next21.h
1448 xm_file="m68k/xm-next.h ${xm_file}"
1449 tmake_file=m68k/t-next
1450 xmake_file=m68k/x-next
1451 extra_objs=nextstep.o
1452 extra_headers=math-68881.h
1455 m68k-next-nextstep3*)
1457 xm_file="m68k/xm-next.h ${xm_file}"
1458 tmake_file=m68k/t-next
1459 xmake_file=m68k/x-next
1460 extra_objs=nextstep.o
1461 extra_headers=math-68881.h
1462 if [[ x$enable_threads = xyes ]]; then
1467 if [[ x$with_fp = xno ]]
1469 tm_file=m68k/sun3n3.h
1471 tm_file=m68k/sun3o3.h
1474 extra_headers=math-68881.h
1476 m68k-sun-sunos*) # For SunOS 4 (the default).
1477 if [[ x$with_fp = xno ]]
1479 tm_file=m68k/sun3n.h
1484 extra_headers=math-68881.h
1487 tm_file=m68k/vxm68k.h
1488 tmake_file=m68k/t-vxworks68
1489 extra_headers=math-68881.h
1490 thread_file='vxworks'
1493 tmake_file=m68k/t-m68kbare
1494 tm_file="m68k/m68k-aout.h libgloss.h"
1495 extra_headers=math-68881.h
1498 tmake_file=m68k/t-m68kbare
1499 tm_file="m68k/m68k-coff.h dbx.h libgloss.h"
1500 extra_headers=math-68881.h
1503 if [[ x$gas = xyes ]]
1507 tm_file=m68k/lynx-ng.h
1509 xm_file=m68k/xm-lynx.h
1511 tmake_file=m68k/t-lynx
1512 extra_headers=math-68881.h
1515 tm_file=m68k/netbsd.h
1516 # On NetBSD, the headers are already okay, except for math.h.
1517 fixincludes=fixinc.math
1520 m68k-*-sysv3*) # Motorola m68k's running system V.3
1521 xm_file="xm-alloca.h ${xm_file}"
1523 xmake_file=m68k/x-m68kv
1524 extra_parts="crtbegin.o crtend.o"
1525 extra_headers=math-68881.h
1527 m68k-*-sysv4*) # Motorola m68k's running system V.4
1528 tm_file=m68k/m68kv4.h
1529 xm_file="xm-alloca.h ${xm_file}"
1532 extra_parts="crtbegin.o crtend.o"
1533 extra_headers=math-68881.h
1535 m68k-*-linux-gnuaout*) # Motorola m68k's running GNU/Linux
1538 tm_file=m68k/linux-aout.h
1539 tmake_file="t-linux-aout m68k/t-linux-aout"
1540 fixincludes=Makefile.in # The headers are ok already.
1541 extra_headers=math-68881.h
1544 m68k-*-linux-gnulibc1) # Motorola m68k's running GNU/Linux
1545 # with ELF format using the
1546 # GNU/Linux C library 5
1548 tm_file=m68k/linux.h
1549 tmake_file="t-linux t-linux-gnulibc1 m68k/t-linux"
1550 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1551 fixincludes=Makefile.in # The headers are ok already.
1552 extra_headers=math-68881.h
1555 m68k-*-linux-gnu*) # Motorola m68k's running GNU/Linux
1556 # with ELF format using glibc 2
1557 # aka the GNU/Linux C library 6.
1559 tm_file=m68k/linux.h
1560 tmake_file="t-linux m68k/t-linux"
1561 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1562 fixincludes=Makefile.in # The headers are ok already.
1563 extra_headers=math-68881.h
1565 if [[ x$enable_threads = xyes ]]; then
1570 tmake_file=m68k/t-m68kbare
1571 tm_file=m68k/m68k-psos.h
1572 extra_headers=math-68881.h
1575 tmake_file="m68k/t-m68kbare t-rtems"
1576 tm_file=m68k/rtems.h
1577 extra_headers=math-68881.h
1583 tm_file=m88k/dguxbcs.h
1584 tmake_file=m88k/t-dguxbcs
1588 tmake_file=m88k/t-dgux
1591 extra_parts="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
1592 xmake_file=m88k/x-dgux
1593 if [[ x$gas = xyes ]]
1595 tmake_file=m88k/t-dgux-gas
1597 fixincludes=fixinc.dgux
1599 m88k-dolphin-sysv3*)
1600 tm_file=m88k/dolph.h
1601 extra_parts="crtbegin.o crtend.o"
1602 xm_file="m88k/xm-sysv3.h ${xm_file}"
1603 xmake_file=m88k/x-dolph
1604 if [[ x$gas = xyes ]]
1606 tmake_file=m88k/t-m88k-gas
1609 m88k-tektronix-sysv3)
1610 tm_file=m88k/tekXD88.h
1611 extra_parts="crtbegin.o crtend.o"
1612 xm_file="m88k/xm-sysv3.h ${xm_file}"
1613 xmake_file=m88k/x-tekXD88
1614 if [[ x$gas = xyes ]]
1616 tmake_file=m88k/t-m88k-gas
1620 tm_file=m88k/m88k-aout.h
1623 tm_file=m88k/m88k-coff.h
1624 tmake_file=m88k/t-bug
1628 extra_parts="crtbegin.o crtend.o"
1629 if [[ x$gas = xyes ]]
1631 tmake_file=m88k/t-luna-gas
1633 tmake_file=m88k/t-luna
1637 tm_file=m88k/sysv3.h
1638 extra_parts="crtbegin.o crtend.o"
1639 xm_file="m88k/xm-sysv3.h ${xm_file}"
1640 xmake_file=m88k/x-sysv3
1641 if [[ x$gas = xyes ]]
1643 tmake_file=m88k/t-m88k-gas
1647 tm_file=m88k/sysv4.h
1648 extra_parts="crtbegin.o crtend.o"
1649 xmake_file=m88k/x-sysv4
1650 tmake_file=m88k/t-sysv4
1652 mips-sgi-irix6*) # SGI System V.4., IRIX 6
1653 tm_file=mips/iris6.h
1654 xm_file=mips/xm-iris6.h
1655 fixincludes=fixinc.irix
1656 xmake_file=mips/x-iris6
1657 tmake_file=mips/t-iris6
1658 if [[ x$enable_threads = xyes ]]; then
1662 mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
1663 tm_file="mips/iris6.h mips/cross64.h"
1664 xm_defines="USG HAVE_INTTYPES_H"
1665 fixincludes=Makefile.in
1666 xmake_file=mips/x-iris
1667 tmake_file=mips/t-cross64
1668 # See comment in mips/iris[56].h files.
1670 if [[ x$enable_threads = xyes ]]; then
1675 if [[ x$gas = xyes ]]
1677 if [[ x$stabs = xyes ]]
1679 tm_file=mips/iris5gdb.h
1681 tm_file="mips/sni-svr4.h mips/sni-gas.h"
1684 tm_file=mips/sni-svr4.h
1687 xmake_file=mips/x-sni-svr4
1688 tmake_file=mips/t-mips-gas
1689 if [[ x$gnu_ld != xyes ]]
1694 mips-sgi-irix5*) # SGI System V.4., IRIX 5
1695 if [[ x$gas = xyes ]]
1697 tm_file="mips/iris5.h mips/iris5gas.h"
1698 if [[ x$stabs = xyes ]]
1700 tm_file="${tm_file} dbx.h"
1703 tm_file=mips/iris5.h
1705 xm_defines="USG HAVE_INTTYPES_H"
1706 fixincludes=fixinc.irix
1707 xmake_file=mips/x-iris
1708 # mips-tfile doesn't work yet
1709 tmake_file=mips/t-mips-gas
1710 # See comment in mips/iris5.h file.
1712 if [[ x$enable_threads = xyes ]]; then
1716 mips-sgi-irix4loser*) # Mostly like a MIPS.
1717 tm_file="mips/iris4loser.h mips/iris3.h ${tm_file} mips/iris4.h"
1718 if [[ x$stabs = xyes ]]; then
1719 tm_file="${tm_file} dbx.h"
1722 xmake_file=mips/x-iris
1723 if [[ x$gas = xyes ]]
1725 tmake_file=mips/t-mips-gas
1727 extra_passes="mips-tfile mips-tdump"
1729 if [[ x$gnu_ld != xyes ]]
1733 if [[ x$enable_threads = xyes ]]; then
1737 mips-sgi-irix4*) # Mostly like a MIPS.
1738 tm_file="mips/iris3.h ${tm_file} mips/iris4.h"
1739 if [[ x$stabs = xyes ]]; then
1740 tm_file="${tm_file} dbx.h"
1743 xmake_file=mips/x-iris
1744 if [[ x$gas = xyes ]]
1746 tmake_file=mips/t-mips-gas
1748 extra_passes="mips-tfile mips-tdump"
1750 if [[ x$gnu_ld != xyes ]]
1754 if [[ x$enable_threads = xyes ]]; then
1758 mips-sgi-*) # Mostly like a MIPS.
1759 tm_file="mips/iris3.h ${tm_file}"
1760 if [[ x$stabs = xyes ]]; then
1761 tm_file="${tm_file} dbx.h"
1764 xmake_file=mips/x-iris3
1765 if [[ x$gas = xyes ]]
1767 tmake_file=mips/t-mips-gas
1769 extra_passes="mips-tfile mips-tdump"
1771 if [[ x$gnu_ld != xyes ]]
1776 mips-dec-osfrose*) # Decstation running OSF/1 reference port with OSF/rose.
1777 tm_file="mips/osfrose.h ${tm_file}"
1778 xmake_file=mips/x-osfrose
1779 tmake_file=mips/t-osfrose
1780 extra_objs=halfpic.o
1783 mips-dec-osf*) # Decstation running OSF/1 as shipped by DIGITAL
1784 tm_file=mips/dec-osf1.h
1785 if [[ x$stabs = xyes ]]; then
1786 tm_file="${tm_file} dbx.h"
1788 xmake_file=mips/x-dec-osf1
1789 if [[ x$gas = xyes ]]
1791 tmake_file=mips/t-mips-gas
1793 tmake_file=mips/t-ultrix
1794 extra_passes="mips-tfile mips-tdump"
1796 if [[ x$gnu_ld != xyes ]]
1801 mips-dec-bsd*) # Decstation running 4.4 BSD
1802 tm_file=mips/dec-bsd.h
1804 if [[ x$gas = xyes ]]
1806 tmake_file=mips/t-mips-gas
1808 tmake_file=mips/t-ultrix
1809 extra_passes="mips-tfile mips-tdump"
1811 if [[ x$gnu_ld != xyes ]]
1816 mips-dec-netbsd*) # Decstation running NetBSD
1817 tm_file=mips/netbsd.h
1818 # On NetBSD, the headers are already okay, except for math.h.
1819 fixincludes=fixinc.math
1822 mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
1823 tm_file="mips/news4.h ${tm_file}"
1824 if [[ x$stabs = xyes ]]; then
1825 tm_file="${tm_file} dbx.h"
1827 if [[ x$gas = xyes ]]
1829 tmake_file=mips/t-mips-gas
1831 extra_passes="mips-tfile mips-tdump"
1833 if [[ x$gnu_ld != xyes ]]
1837 xmake_file=mips/x-sony
1839 mips-sony-sysv*) # Sony NEWS 3800 with NEWSOS5.0.
1840 # That is based on svr4.
1841 # t-svr4 is not right because this system doesn't use ELF.
1842 tm_file="mips/news5.h ${tm_file}"
1843 if [[ x$stabs = xyes ]]; then
1844 tm_file="${tm_file} dbx.h"
1846 xm_file="xm-siglist.h ${xm_file}"
1848 if [[ x$gas = xyes ]]
1850 tmake_file=mips/t-mips-gas
1852 extra_passes="mips-tfile mips-tdump"
1854 if [[ x$gnu_ld != xyes ]]
1859 mips-tandem-sysv4*) # Tandem S2 running NonStop UX
1860 tm_file="mips/svr4-5.h mips/svr4-t.h"
1861 if [[ x$stabs = xyes ]]; then
1862 tm_file="${tm_file} dbx.h"
1864 xm_file="xm-siglist.h ${xm_file}"
1866 xmake_file=mips/x-sysv
1867 if [[ x$gas = xyes ]]
1869 tmake_file=mips/t-mips-gas
1870 extra_parts="crtbegin.o crtend.o"
1872 tmake_file=mips/t-mips
1873 extra_passes="mips-tfile mips-tdump"
1875 if [[ x$gnu_ld != xyes ]]
1880 mips-*-ultrix* | mips-dec-mach3) # Decstation.
1881 tm_file="mips/ultrix.h ${tm_file}"
1882 if [[ x$stabs = xyes ]]; then
1883 tm_file="${tm_file} dbx.h"
1885 xmake_file=mips/x-ultrix
1886 if [[ x$gas = xyes ]]
1888 tmake_file=mips/t-mips-gas
1890 tmake_file=mips/t-ultrix
1891 extra_passes="mips-tfile mips-tdump"
1893 if [[ x$gnu_ld != xyes ]]
1898 mips-*-riscos[[56789]]bsd*)
1899 tm_file=mips/bsd-5.h # MIPS BSD 4.3, RISC-OS 5.0
1900 if [[ x$stabs = xyes ]]; then
1901 tm_file="${tm_file} dbx.h"
1903 if [[ x$gas = xyes ]]
1905 tmake_file=mips/t-bsd-gas
1907 tmake_file=mips/t-bsd
1908 extra_passes="mips-tfile mips-tdump"
1910 if [[ x$gnu_ld != xyes ]]
1915 mips-*-bsd* | mips-*-riscosbsd* | mips-*-riscos[[1234]]bsd*)
1916 tm_file="mips/bsd-4.h ${tm_file}" # MIPS BSD 4.3, RISC-OS 4.0
1917 if [[ x$stabs = xyes ]]; then
1918 tm_file="${tm_file} dbx.h"
1920 if [[ x$gas = xyes ]]
1922 tmake_file=mips/t-bsd-gas
1924 tmake_file=mips/t-bsd
1925 extra_passes="mips-tfile mips-tdump"
1927 if [[ x$gnu_ld != xyes ]]
1932 mips-*-riscos[[56789]]sysv4*)
1933 tm_file=mips/svr4-5.h # MIPS System V.4., RISC-OS 5.0
1934 if [[ x$stabs = xyes ]]; then
1935 tm_file="${tm_file} dbx.h"
1937 xm_file="xm-siglist.h ${xm_file}"
1938 xmake_file=mips/x-sysv
1939 if [[ x$gas = xyes ]]
1941 tmake_file=mips/t-svr4-gas
1943 tmake_file=mips/t-svr4
1944 extra_passes="mips-tfile mips-tdump"
1946 if [[ x$gnu_ld != xyes ]]
1951 mips-*-sysv4* | mips-*-riscos[[1234]]sysv4* | mips-*-riscossysv4*)
1952 tm_file="mips/svr4-4.h ${tm_file}"
1953 if [[ x$stabs = xyes ]]; then
1954 tm_file="${tm_file} dbx.h"
1957 xmake_file=mips/x-sysv
1958 if [[ x$gas = xyes ]]
1960 tmake_file=mips/t-svr4-gas
1962 tmake_file=mips/t-svr4
1963 extra_passes="mips-tfile mips-tdump"
1965 if [[ x$gnu_ld != xyes ]]
1970 mips-*-riscos[[56789]]sysv*)
1971 tm_file=mips/svr3-5.h # MIPS System V.3, RISC-OS 5.0
1972 if [[ x$stabs = xyes ]]; then
1973 tm_file="${tm_file} dbx.h"
1976 xmake_file=mips/x-sysv
1977 if [[ x$gas = xyes ]]
1979 tmake_file=mips/t-svr3-gas
1981 tmake_file=mips/t-svr3
1982 extra_passes="mips-tfile mips-tdump"
1984 if [[ x$gnu_ld != xyes ]]
1989 mips-*-sysv* | mips-*-riscos*sysv*)
1990 tm_file="mips/svr3-4.h ${tm_file}"
1991 if [[ x$stabs = xyes ]]; then
1992 tm_file="${tm_file} dbx.h"
1995 xmake_file=mips/x-sysv
1996 if [[ x$gas = xyes ]]
1998 tmake_file=mips/t-svr3-gas
2000 tmake_file=mips/t-svr3
2001 extra_passes="mips-tfile mips-tdump"
2003 if [[ x$gnu_ld != xyes ]]
2008 mips-*-riscos[[56789]]*) # Default MIPS RISC-OS 5.0.
2009 tm_file=mips/mips-5.h
2010 if [[ x$stabs = xyes ]]; then
2011 tm_file="${tm_file} dbx.h"
2013 if [[ x$gas = xyes ]]
2015 tmake_file=mips/t-mips-gas
2017 extra_passes="mips-tfile mips-tdump"
2019 if [[ x$gnu_ld != xyes ]]
2027 tm_file=mips/ecoffl.h
2028 if [[ x$stabs = xyes ]]; then
2029 tm_file="${tm_file} dbx.h"
2031 tmake_file=mips/t-ecoff
2034 tm_file="${tm_file} gofast.h mips/ecoff.h"
2035 if [[ x$stabs = xyes ]]; then
2036 tm_file="${tm_file} dbx.h"
2038 tmake_file=mips/t-ecoff
2041 tm_file="mips/elfl.h libgloss.h"
2042 tmake_file=mips/t-ecoff
2045 tm_file="mips/elf.h libgloss.h"
2046 tmake_file=mips/t-ecoff
2049 tm_file="mips/elfl64.h libgloss.h"
2050 tmake_file=mips/t-ecoff
2052 mips64orionel-*-elf*)
2053 tm_file="mips/elforion.h mips/elfl64.h libgloss.h"
2054 tmake_file=mips/t-ecoff
2057 tm_file="mips/elf64.h libgloss.h"
2058 tmake_file=mips/t-ecoff
2061 tm_file="mips/elforion.h mips/elf64.h libgloss.h"
2062 tmake_file=mips/t-ecoff
2064 mips64orion-*-rtems*)
2065 tm_file="mips/elforion.h mips/elfl64.h mips/rtems64.h"
2066 tmake_file="mips/t-ecoff t-rtems"
2069 tm_file="mips/r3900.h mips/elfl.h mips/abi64.h libgloss.h"
2070 tmake_file=mips/t-r3900
2073 tm_file="mips/r3900.h mips/elf.h mips/abi64.h libgloss.h"
2074 tmake_file=mips/t-r3900
2076 mips-*-*) # Default MIPS RISC-OS 4.0.
2077 if [[ x$stabs = xyes ]]; then
2078 tm_file="${tm_file} dbx.h"
2080 if [[ x$gas = xyes ]]
2082 tmake_file=mips/t-mips-gas
2084 extra_passes="mips-tfile mips-tdump"
2086 if [[ x$gnu_ld != xyes ]]
2093 tm_file="mn10200/mn10200.h"
2094 if [[ x$stabs = xyes ]]
2096 tm_file="${tm_file} dbx.h"
2102 tm_file="mn10300/mn10300.h"
2103 if [[ x$stabs = xyes ]]
2105 tm_file="${tm_file} dbx.h"
2110 tm_file=ns32k/encore.h
2114 tm_file=ns32k/sequent.h
2118 tm_file=ns32k/tek6100.h
2122 tm_file=ns32k/tek6200.h
2125 # This has not been updated to GCC 2.
2128 # xmake_file=ns32k/x-genix
2129 # tm_file=ns32k/genix.h
2133 tm_file=ns32k/merlin.h
2137 tm_file=ns32k/pc532-mach.h
2141 tm_file=ns32k/pc532-min.h
2142 xm_file="ns32k/xm-pc532-min.h ${xm-file}"
2146 ns32k-pc532-netbsd*)
2147 tm_file=ns32k/netbsd.h
2148 # On NetBSD, the headers are already okay, except for math.h.
2149 fixincludes=fixinc.math
2153 tm_file="${tm_file} pdp11/2bsd.h"
2159 xmake_file=pyr/x-pyr
2166 xmake_file=romp/x-mach
2171 tm_file=rs6000/beos.h
2172 xm_file=rs6000/xm-beos.h
2173 tmake_file=rs6000/t-beos
2174 xmake_file=rs6000/x-beos
2176 powerpc-*-sysv* | powerpc-*-elf*)
2177 tm_file=rs6000/sysv4.h
2178 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2179 xm_defines="USG POSIX"
2180 extra_headers=ppc-asm.h
2181 if [[ x$gas = xyes ]]
2183 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2185 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2187 xmake_file=rs6000/x-sysv4
2190 tm_file=rs6000/eabiaix.h
2191 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2192 fixincludes=Makefile.in
2193 extra_headers=ppc-asm.h
2196 tm_file=rs6000/eabisim.h
2197 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2198 fixincludes=Makefile.in
2199 extra_headers=ppc-asm.h
2202 tm_file=rs6000/eabi.h
2203 if [[ x$gas = xyes ]]
2205 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2207 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2209 fixincludes=Makefile.in
2210 extra_headers=ppc-asm.h
2213 tm_file=rs6000/rtems.h
2214 if [[ x$gas = xyes ]]
2216 tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
2218 tmake_file="rs6000/t-ppc t-rtems rs6000/t-ppccomm"
2220 fixincludes=Makefile.in
2221 extra_headers=ppc-asm.h
2223 powerpc-*-linux-gnulibc1)
2224 tm_file=rs6000/linux.h
2225 xm_file=rs6000/xm-sysv4.h
2226 out_file=rs6000/rs6000.c
2227 if [[ x$gas = xyes ]]
2229 tmake_file="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
2231 tmake_file="rs6000/t-ppc t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
2234 fixincludes=Makefile.in
2235 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2236 extra_headers=ppc-asm.h
2237 if [[ x$enable_threads = xyes ]]; then
2241 powerpc-*-linux-gnu*)
2242 tm_file=rs6000/linux.h
2243 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2244 xm_defines="USG ${xm_defines}"
2245 out_file=rs6000/rs6000.c
2246 if [[ x$gas = xyes ]]
2248 tmake_file="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
2250 tmake_file="rs6000/t-ppc t-linux rs6000/t-ppccomm"
2253 fixincludes=Makefile.in
2254 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2255 extra_headers=ppc-asm.h
2256 if [[ x$enable_threads = xyes ]]; then
2260 powerpc-wrs-vxworks*)
2262 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2263 xm_defines="USG POSIX"
2264 tm_file=rs6000/vxppc.h
2265 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2266 extra_headers=ppc-asm.h
2267 thread_file='vxworks'
2269 powerpcle-*-sysv* | powerpcle-*-elf*)
2270 tm_file=rs6000/sysv4le.h
2271 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2272 xm_defines="USG POSIX"
2273 if [[ x$gas = xyes ]]
2275 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2277 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2279 xmake_file=rs6000/x-sysv4
2280 extra_headers=ppc-asm.h
2282 powerpcle-*-eabisim*)
2283 tm_file=rs6000/eabilesim.h
2284 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2285 fixincludes=Makefile.in
2286 extra_headers=ppc-asm.h
2289 tm_file=rs6000/eabile.h
2290 if [[ x$gas = xyes ]]
2292 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2294 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2296 fixincludes=Makefile.in
2297 extra_headers=ppc-asm.h
2299 powerpcle-*-winnt* )
2300 tm_file=rs6000/win-nt.h
2301 tmake_file=rs6000/t-winnt
2303 fixincludes=Makefile.in
2304 if [[ x$enable_threads = xyes ]]; then
2307 extra_headers=ppc-asm.h
2309 powerpcle-*-pe | powerpcle-*-cygwin32)
2310 tm_file=rs6000/cygwin32.h
2311 xm_file="rs6000/xm-cygwin32.h ${xm_file}"
2312 xm_defines=NO_STAB_H
2313 tmake_file=rs6000/t-winnt
2314 xmake_file=rs6000/x-cygwin32
2316 fixincludes=Makefile.in
2317 if [[ x$enable_threads = xyes ]]; then
2321 extra_headers=ppc-asm.h
2323 powerpcle-*-solaris2*)
2324 tm_file=rs6000/sol2.h
2325 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2326 xm_defines="USG POSIX"
2327 if [[ x$gas = xyes ]]
2329 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2331 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2333 xmake_file=rs6000/x-sysv4
2335 *-*-solaris2.[[0-4]])
2336 fixincludes=fixinc.svr4;;
2338 fixincludes=fixinc.math;;
2340 extra_headers=ppc-asm.h
2342 rs6000-ibm-aix3.[[01]]*)
2343 tm_file=rs6000/aix31.h
2344 xmake_file=rs6000/x-aix31
2347 rs6000-ibm-aix3.2.[[456789]]* | powerpc-ibm-aix3.2.[[456789]]*)
2348 tm_file=rs6000/aix3newas.h
2349 if [[ x$host != x$target ]]
2351 tmake_file=rs6000/t-xnewas
2353 tmake_file=rs6000/t-newas
2357 rs6000-ibm-aix[[456789]].* | powerpc-ibm-aix[[456789]].*)
2358 tm_file=rs6000/aix41.h
2359 if [[ x$host != x$target ]]
2361 tmake_file=rs6000/t-xnewas
2363 tmake_file=rs6000/t-newas
2365 xmake_file=rs6000/x-aix31
2375 tm_file=rs6000/mach.h
2376 xm_file="${xm_file} rs6000/xm-mach.h"
2377 xmake_file=rs6000/x-mach
2381 tm_file=rs6000/lynx.h
2382 xm_file=rs6000/xm-lynx.h
2383 tmake_file=rs6000/t-rs6000
2384 xmake_file=rs6000/x-lynx
2392 tmake_file="sh/t-sh t-rtems"
2401 xm_file="xm-alloca.h ${xm_file}"
2404 sparc-wrs-vxworks* | sparclite-wrs-vxworks*)
2405 tm_file=sparc/vxsparc.h
2406 tmake_file=sparc/t-vxsparc
2408 thread_file='vxworks'
2411 tmake_file=sparc/t-sparcbare
2412 tm_file="sparc/aout.h libgloss.h"
2415 tm_file=sparc/netbsd.h
2416 # On NetBSD, the headers are already okay, except for math.h.
2417 fixincludes=fixinc.math
2425 tmake_file=sparc/t-elf
2426 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
2430 sparc-*-linux-gnuaout*) # Sparc's running GNU/Linux, a.out
2431 xm_file="${xm_file} sparc/xm-linux.h"
2432 tm_file=sparc/linux-aout.h
2434 fixincludes=Makefile.in #On Linux, the headers are ok already.
2437 sparc-*-linux-gnulibc1*) # Sparc's running GNU/Linux, libc5
2438 xm_file="${xm_file} sparc/xm-linux.h"
2440 tm_file=sparc/linux.h
2441 tmake_file="t-linux t-linux-gnulibc1"
2442 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2443 fixincludes=Makefile.in #On Linux, the headers are ok already.
2446 sparc-*-linux-gnu*) # Sparc's running GNU/Linux, libc6
2447 xm_file="${xm_file} sparc/xm-linux.h"
2449 tm_file=sparc/linux.h
2450 tmake_file="t-linux"
2451 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2452 fixincludes=Makefile.in #On Linux, the headers are ok already.
2454 if [[ x$enable_threads = xyes ]]; then
2459 if [[ x$gas = xyes ]]
2461 tm_file=sparc/lynx.h
2463 tm_file=sparc/lynx-ng.h
2465 xm_file=sparc/xm-lynx.h
2466 tmake_file=sparc/t-sunos41
2470 tmake_file="sparc/t-sparcbare t-rtems"
2471 tm_file=sparc/rtems.h
2474 if [[ x$gnu_ld = xyes ]]
2476 tm_file=sparc/sol2.h
2478 tm_file=sparc/sol2-sld.h
2480 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
2481 tmake_file=sparc/t-sol2
2482 xmake_file=sparc/x-sysv4
2483 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
2485 *-*-solaris2.[[0-4]])
2486 fixincludes=fixinc.svr4;;
2488 fixincludes=fixinc.math;;
2491 if [[ x${enable_threads} = x ]]; then
2492 enable_threads=$have_pthread_h
2493 if [[ x${enable_threads} = x ]]; then
2494 enable_threads=$have_thread_h
2497 if [[ x${enable_threads} = xyes ]]; then
2498 if [[ x${have_pthread_h} = xyes ]]; then
2501 thread_file='solaris'
2506 tm_file=sparc/sunos4.h
2507 tmake_file=sparc/t-sunos40
2511 tm_file=sparc/sunos4.h
2512 tmake_file=sparc/t-sunos41
2514 if [[ x$gas = xyes ]]; then
2515 tm_file="${tm_file} sparc/sun4gas.h"
2519 tm_file=sparc/sun4o3.h
2523 tm_file=sparc/sysv4.h
2524 xm_file="xm-siglist.h sparc/xm-sysv4.h"
2525 xm_defines="USG POSIX"
2527 xmake_file=sparc/x-sysv4
2528 extra_parts="crtbegin.o crtend.o"
2531 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
2532 tm_file=sparc/vxsim.h
2533 tmake_file=sparc/t-vxsparc
2534 xmake_file=sparc/x-sysv4
2537 tm_file="sparc/splet.h libgloss.h"
2538 tmake_file=sparc/t-splet
2541 tm_file="sparc/litecoff.h libgloss.h"
2542 tmake_file=sparc/t-sparclite
2545 tm_file="sparc/lite.h aoutos.h libgloss.h"
2546 tmake_file=sparc/t-sparclite
2549 tmake_file=sparc/t-sp64
2550 tm_file=sparc/sp64-aout.h
2553 tmake_file=sparc/t-sp64
2554 tm_file=sparc/sp64-elf.h
2555 extra_parts="crtbegin.o crtend.o"
2557 sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
2558 tmake_file=sparc/t-sp64
2559 xm_file="sparc/xm-sp64.h sparc/xm-linux.h"
2560 tm_file=sparc/linux64.h
2562 fixincludes=Makefile.in # The headers are ok already.
2565 # This hasn't been upgraded to GCC 2.
2566 # tahoe-harris-*) # Harris tahoe, using COFF.
2567 # tm_file=tahoe/harris.h
2569 # tahoe-*-bsd*) # tahoe running BSD
2571 thumb-*-coff* | thumbel-*-coff*)
2573 out_file=arm/thumb.c
2574 xm_file=arm/xm-thumb.h
2575 md_file=arm/thumb.md
2576 tmake_file=arm/t-thumb
2578 # This hasn't been upgraded to GCC 2.
2585 tm_file="v850/v850.h"
2586 xm_file="v850/xm-v850.h"
2587 if [[ x$stabs = xyes ]]
2589 tm_file="${tm_file} dbx.h"
2593 vax-*-bsd*) # vaxen running BSD
2597 vax-*-sysv*) # vaxen running system V
2598 tm_file="${tm_file} vax/vaxv.h"
2603 tm_file="${tm_file} netbsd.h vax/netbsd.h"
2604 # On NetBSD, the headers are already okay, except for math.h.
2605 fixincludes=fixinc.math
2609 vax-*-ultrix*) # vaxen running ultrix
2610 tm_file="${tm_file} vax/ultrix.h"
2614 vax-*-vms*) # vaxen running VMS
2615 xm_file=vax/xm-vms.h
2619 vax-*-*) # vax default entry
2623 xm_file="${xm_file} xm-svr3"
2627 echo "Configuration $machine not supported" 1>&2
2634 ;; # Existing GNU/Linux systems do not use the GNU setup.
2636 # On the GNU system, the setup is just about the same on
2637 # each different CPU. The specific machines that GNU
2638 # supports are matched above and just set $cpu_type.
2639 xm_file="xm-gnu.h ${xm_file}"
2640 tm_file=${cpu_type}/gnu.h
2641 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
2642 # GNU always uses ELF.
2644 # GNU tools are the only tools.
2647 # On GNU, the headers are already okay.
2648 fixincludes=Makefile.in
2649 xmake_file=x-linux # These details are the same as Linux.
2650 tmake_file=t-gnu # These are not.
2653 fixincludes=fixinc.svr4
2654 xmake_try_sysv=x-sysv
2655 install_headers_dir=install-headers-cpio
2658 install_headers_dir=install-headers-cpio
2662 # Distinguish i[34567]86
2663 # Also, do not run mips-tfile on MIPS if using gas.
2664 # Process --with-cpu= for PowerPC/rs6000
2665 target_cpu_default2=
2668 target_cpu_default2=1
2671 target_cpu_default2=2
2673 i686-*-* | i786-*-*)
2674 target_cpu_default2=3
2679 target_cpu_default2="MASK_CPU_EV6|MASK_BXW|MASK_CIX|MASK_MAX"
2682 target_cpu_default2="MASK_CPU_EV5|MASK_BWX|MASK_MAX"
2685 target_cpu_default2="MASK_CPU_EV5|MASK_BWX"
2688 target_cpu_default2="MASK_CPU_EV5"
2692 if [[ x$gas = xyes ]]
2694 if [[ "$target_cpu_default2" = "" ]]
2696 target_cpu_default2="MASK_GAS"
2698 target_cpu_default2="${target_cpu_default2}|MASK_GAS"
2703 case "x$with_cpu" in
2706 target_cpu_default2="TARGET_CPU_generic"
2709 # Distinguish cores, and major variants
2710 # arm7m doesn't exist, but D & I don't affect code
2711 xarm[23678] | xarm250 | xarm[67][01]0 \
2712 | xarm7m | xarm7dm | xarm7dmi | xarm7tdmi \
2713 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
2714 | xstrongarm | xstrongarm110)
2715 target_cpu_default2="TARGET_CPU_$with_cpu"
2719 echo "--with-cpu must be passed a value" 1>&2
2724 if [[ x$pass2done = xyes ]]
2726 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2733 mips*-*-ecoff* | mips*-*-elf*)
2734 if [[ x$gas = xyes ]]
2736 if [[ x$gnu_ld = xyes ]]
2738 target_cpu_default2=20
2740 target_cpu_default2=16
2745 if [[ x$gas = xyes ]]
2747 target_cpu_default2=16
2750 powerpc*-*-* | rs6000-*-*)
2751 case "x$with_cpu" in
2755 xcommon | xpower | xpower2 | xpowerpc | xrios \
2756 | xrios1 | xrios2 | xrsc | xrsc1 \
2757 | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
2758 | x403 | x505 | x801 | x821 | x823 | x860)
2759 target_cpu_default2="\"$with_cpu\""
2763 echo "--with-cpu must be passed a value" 1>&2
2768 if [[ x$pass2done = xyes ]]
2770 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2777 case ".$with_cpu" in
2779 target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`"
2781 .supersparc | .ultrasparc | .v7 | .v8 | .v9)
2782 target_cpu_default2="TARGET_CPU_$with_cpu"
2785 if [[ x$pass2done = xyes ]]
2787 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2795 if [[ "$target_cpu_default2" != "" ]]
2797 if [[ "$target_cpu_default" != "" ]]
2799 target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
2801 target_cpu_default=$target_cpu_default2
2805 # No need for collect2 if we have the GNU linker.
2812 # Save data on machine being used to compile GCC in build_xm_file.
2813 # Save data on host machine in vars host_xm_file and host_xmake_file.
2814 if [[ x$pass1done = x ]]
2816 if [[ x"$xm_file" = x ]]
2817 then build_xm_file=$cpu_type/xm-$cpu_type.h
2818 else build_xm_file=$xm_file
2820 build_xm_defines=$xm_defines
2821 build_install_headers_dir=$install_headers_dir
2822 build_exeext=$exeext
2825 if [[ x$pass2done = x ]]
2827 if [[ x"$xm_file" = x ]]
2828 then host_xm_file=$cpu_type/xm-$cpu_type.h
2829 else host_xm_file=$xm_file
2831 host_xm_defines=$xm_defines
2832 if [[ x"$xmake_file" = x ]]
2833 then xmake_file=$cpu_type/x-$cpu_type
2835 host_xmake_file="$xmake_file"
2836 host_truncate_target=$truncate_target
2837 host_extra_gcc_objs=$extra_gcc_objs
2838 host_extra_objs=$extra_host_objs
2845 extra_objs="${host_extra_objs} ${extra_objs}"
2847 # Default the target-machine variables that were not explicitly set.
2848 if [[ x"$tm_file" = x ]]
2849 then tm_file=$cpu_type/$cpu_type.h; fi
2851 if [[ x$extra_headers = x ]]
2852 then extra_headers=; fi
2854 if [[ x"$xm_file" = x ]]
2855 then xm_file=$cpu_type/xm-$cpu_type.h; fi
2857 if [[ x$md_file = x ]]
2858 then md_file=$cpu_type/$cpu_type.md; fi
2860 if [[ x$out_file = x ]]
2861 then out_file=$cpu_type/$cpu_type.c; fi
2863 if [[ x"$tmake_file" = x ]]
2864 then tmake_file=$cpu_type/t-$cpu_type
2867 if [[ x$float_format = x ]]
2868 then float_format=i64
2871 if [[ x$enable_haifa = x ]]
2874 alpha*-* | hppa1.?-* | powerpc*-* | rs6000-*)
2879 # Say what files are being used for the output code and MD file.
2880 echo "Using \`$srcdir/config/$out_file' to output insns."
2881 echo "Using \`$srcdir/config/$md_file' as machine description file."
2884 for f in $tm_file; do
2887 if [[ $count = ax ]]; then
2888 echo "Using \`$srcdir/config/$tm_file' as target machine macro file."
2890 echo "Using the following target machine macro files:"
2891 for f in $tm_file; do
2892 echo " $srcdir/config/$f"
2897 for f in $host_xm_file; do
2900 if [[ $count = ax ]]; then
2901 echo "Using \`$srcdir/config/$host_xm_file' as host machine macro file."
2903 echo "Using the following host machine macro files:"
2904 for f in $host_xm_file; do
2905 echo " $srcdir/config/$f"
2909 if [[ "$host_xm_file" != "$build_xm_file" ]]; then
2911 for f in $build_xm_file; do
2914 if [[ $count = ax ]]; then
2915 echo "Using \`$srcdir/config/$build_xm_file' as build machine macro file."
2917 echo "Using the following build machine macro files:"
2918 for f in $build_xm_file; do
2919 echo " $srcdir/config/$f"
2924 if [[ x$thread_file = x ]]; then
2925 if [[ x$target_thread_file != x ]]; then
2926 thread_file=$target_thread_file
2928 thread_file='single'
2932 # Set up the header files.
2933 # $links is the list of header files to create.
2934 # $vars is the list of shell variables with file names to include.
2935 # auto-conf.h is the file containing items generated by autoconf and is
2936 # the first file included by config.h.
2938 host_xm_file="auto-config.h ${host_xm_file}"
2940 # If host=build, it is correct to have hconfig include auto-conf.h
2941 # as well. If host!=build, we are in error and need to do more
2942 # work to find out the build config parameters.
2943 if [[ x$host = x$build ]]
2945 build_xm_file="auto-config.h ${build_xm_file}"
2948 vars="host_xm_file tm_file xm_file build_xm_file"
2949 links="config.h tm.h tconfig.h hconfig.h"
2950 defines="host_xm_defines null_defines xm_defines build_xm_defines"
2953 if [[ -f config.status ]]; then mv -f config.status config.bak; fi
2956 while [[ -n "$vars" ]]
2958 set $vars; var=$1; shift; vars=$*
2959 set $links; link=$1; shift; links=$*
2960 set $defines; define=$1; shift; defines=$*
2964 # Define TARGET_CPU_DEFAULT if the system wants one.
2965 # This substitutes for lots of *.h files.
2966 if [[ "$target_cpu_default" != "" -a $link = tm.h ]]
2968 echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
2971 for file in `eval echo '$'$var`; do
2972 echo "#include \"$file\"" >>$link
2975 for def in `eval echo '$'$define`; do
2976 echo "#ifndef $def" >>$link
2977 echo "#define $def" >>$link
2978 echo "#endif" >>$link
2982 # Truncate the target if necessary
2983 if [[ x$host_truncate_target != x ]]; then
2984 target=`echo $target | sed -e 's/\(..............\).*/\1/'`
2987 # Get the version number from the toplevel
2988 version=`sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/' < ${srcdir}/version.c`
2990 # Get an absolute path to the GCC top-level source directory
2996 # Conditionalize the makefile for this host machine.
2997 # Make-host contains the concatenation of all host makefile fragments
2998 # [there can be more than one]. This file is built by configure.frag.
2999 host_overrides=Make-host
3000 dep_host_xmake_file=
3001 for f in .. ${host_xmake_file}
3003 if [[ -f ${srcdir}/config/$f ]]
3005 dep_host_xmake_file="${dep_host_xmake_file} ${srcdir}/config/$f"
3009 # Conditionalize the makefile for this target machine.
3010 # Make-target contains the concatenation of all host makefile fragments
3011 # [there can be more than one]. This file is built by configure.frag.
3012 target_overrides=Make-target
3014 for f in .. ${tmake_file}
3016 if [[ -f ${srcdir}/config/$f ]]
3018 dep_tmake_file="${dep_tmake_file} ${srcdir}/config/$f"
3022 # If the host doesn't support symlinks, modify CC in
3023 # FLAGS_TO_PASS so CC="stage1/xgcc -Bstage1/" works.
3024 # Otherwise, we can use "CC=$(CC)".
3026 if $symbolic_link $srcdir/gcc.c symtest.tem 2>/dev/null
3028 cc_set_by_configure="\$(CC)"
3029 stage_prefix_set_by_configure="\$(STAGE_PREFIX)"
3032 if cp -p $srcdir/gcc.c symtest.tem 2>/dev/null
3034 symbolic_link="cp -p"
3038 cc_set_by_configure="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`"
3039 stage_prefix_set_by_configure="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`"
3043 out_object_file=`basename $out_file .c`.o
3046 for f in $tm_file; do
3047 tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
3051 for f in $host_xm_file; do
3052 if test $f != "auto-config.h"; then
3053 host_xm_file_list="${host_xm_file_list} \$(srcdir)/config/$f"
3055 host_xm_file_list="${host_xm_file_list} auto-config.h"
3060 for f in $build_xm_file; do
3061 if test $f != "auto-config.h"; then
3062 build_xm_file_list="${build_xm_file_list} \$(srcdir)/config/$f"
3064 build_xm_file_list="${build_xm_file_list} auto-config.h"
3068 # Define macro CROSS_COMPILE in compilation
3069 # if this is a cross-compiler.
3070 # Also use all.cross instead of all.internal
3071 # and add cross-make to Makefile.
3072 cross_overrides="/dev/null"
3073 if [[ x$host != x$target ]]
3075 cross_defines="CROSS=-DCROSS_COMPILE"
3076 cross_overrides="${topdir}/cross-make"
3079 # When building gcc with a cross-compiler, we need to fix a few things.
3080 # This must come after cross-make as we want all.build to override
3082 build_overrides="/dev/null"
3083 if [[ x$build != x$host ]]
3085 build_overrides="${topdir}/build-make"
3088 # Expand extra_headers to include complete path.
3089 # This substitutes for lots of t-* files.
3091 if [[ "x$extra_headers" = x ]]
3094 # Prepend ${srcdir}/ginclude/ to every entry in extra_headers.
3095 for file in $extra_headers;
3097 extra_headers_list="${extra_headers_list} \$(srcdir)/ginclude/${file}"
3101 # Add a definition of USE_COLLECT2 if system wants one.
3102 # Also tell toplev.c what to do.
3103 # This substitutes for lots of t-* files.
3104 if [[ x$use_collect2 = x ]]
3109 will_use_collect2="ld"
3110 maybe_use_collect2="-DUSE_COLLECT2"
3114 # Set MD_DEPS if the real md file is in md.pre-cpp.
3115 # Set MD_CPP to the cpp to pass the md file through. Md files use ';'
3116 # for line oriented comments, so we must always use a GNU cpp. If
3117 # building gcc with a cross compiler, use the cross compiler just
3118 # built. Otherwise, we can use the cpp just built.
3120 if [[ "x$md_cppflags" = x ]]
3122 md_file_sub=$srcdir/config/$md_file
3127 # If we have gas in the build tree, make a link to it.
3128 if [[ -f ../gas/Makefile ]]; then
3129 rm -f as; $symbolic_link ../gas/as-new$host_exeext as$host_exeext 2>/dev/null
3132 # If we have ld in the build tree, make a link to it.
3133 if [[ -f ../ld/Makefile ]]; then
3134 # if [[ x$use_collect2 = x ]]; then
3135 # rm -f ld; $symbolic_link ../ld/ld-new$host_exeext ld$host_exeext 2>/dev/null
3137 rm -f collect-ld; $symbolic_link ../ld/ld-new$host_exeext collect-ld$host_exeext 2>/dev/null
3141 # Figure out what language subdirectories are present.
3143 for lang in ${srcdir}/*/config-lang.in ..
3147 # The odd quoting in the next line works around
3148 # an apparent bug in bash 1.12 on linux.
3149 ${srcdir}/[[*]]/config-lang.in) ;;
3150 *) subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([[^/]]*\)/config-lang.in$,\1,'`" ;;
3154 # Make gthr-default.h if we have a thread file.
3156 if [[ $thread_file != single ]]; then
3157 rm -f gthr-default.h
3158 echo "#include \"gthr-${thread_file}.h\"" > gthr-default.h
3159 gthread_flags=-DHAVE_GTHR_DEFAULT
3161 AC_SUBST(gthread_flags)
3163 # Make empty files to contain the specs and options for each language.
3164 # Then add #include lines to for a compiler that has specs and/or options.
3168 rm -f specs.h options.h
3169 touch specs.h options.h
3170 for subdir in . $subdirs
3172 if [[ -f $srcdir/$subdir/lang-specs.h ]]; then
3173 echo "#include \"$subdir/lang-specs.h\"" >>specs.h
3174 lang_specs_files="$lang_specs_files $srcdir/$subdir/lang-specs.h"
3176 if [[ -f $srcdir/$subdir/lang-options.h ]]; then
3177 echo "#include \"$subdir/lang-options.h\"" >>options.h
3178 lang_options_files="$lang_options_files $srcdir/$subdir/lang-options.h"
3182 # These (without "all_") are set in each config-lang.in.
3183 # `language' must be a single word so is spelled singularly.
3189 all_outputs=Makefile
3190 # List of language makefile fragments.
3195 # Add the language fragments.
3196 # Languages are added via two mechanisms. Some information must be
3197 # recorded in makefile variables, these are defined in config-lang.in.
3198 # We accumulate them and plug them into the main Makefile.
3199 # The other mechanism is a set of hooks for each of the main targets
3200 # like `clean', `install', etc.
3202 language_fragments="Make-lang"
3203 language_hooks="Make-hooks"
3206 for s in .. $subdirs
3218 . ${srcdir}/$s/config-lang.in
3219 if [[ "x$language" = x ]]
3221 echo "${srcdir}/$s/config-lang.in doesn't set \$language." 1>&2
3224 all_lang_makefiles="$all_lang_makefiles ${srcdir}/$s/Make-lang.in ${srcdir}/$s/Makefile.in"
3225 all_languages="$all_languages $language"
3226 if [[ "x$boot_language" = xyes ]]
3228 all_boot_languages="$all_boot_languages $language"
3230 all_compilers="$all_compilers $compilers"
3231 all_stagestuff="$all_stagestuff $stagestuff"
3232 all_diff_excludes="$all_diff_excludes $diff_excludes"
3233 all_headers="$all_headers $headers"
3234 all_outputs="$all_outputs $outputs"
3235 if [[ x$outputs = x ]]
3237 oldstyle_subdirs="$oldstyle_subdirs $s"
3239 all_lib2funcs="$all_lib2funcs $lib2funcs"
3243 # Since we can't use `::' targets, we link each language in
3244 # with a set of hooks, reached indirectly via lang.${target}.
3248 target_list="all.build all.cross start.encap rest.encap \
3250 install-normal install-common install-info install-man \
3252 mostlyclean clean distclean extraclean maintainer-clean \
3253 stage1 stage2 stage3 stage4"
3254 for t in $target_list
3257 for l in .. $all_languages
3259 if [[ $l != ".." ]]; then
3263 echo "lang.$t: $x" >> Make-hooks
3266 # If we're not building in srcdir, create .gdbinit.
3268 if [[ ! -f Makefile.in ]]; then
3269 echo "dir ." > .gdbinit
3270 echo "dir ${srcdir}" >> .gdbinit
3271 if [[ x$gdb_needs_out_file_path = xyes ]]
3273 echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
3275 if [[ "x$subdirs" != x ]]; then
3278 echo "dir ${srcdir}/$s" >> .gdbinit
3281 echo "source ${srcdir}/.gdbinit" >> .gdbinit
3284 # If this is using newlib, then define inhibit_libc in
3285 # LIBGCC2_CFLAGS. This will cause __eprintf to be left out of
3286 # libgcc.a, but that's OK because newib should have its own version of
3289 if [[ x$with_newlib = xyes ]]; then
3290 inhibit_libc=-Dinhibit_libc
3292 AC_SUBST(inhibit_libc)
3294 # Override SCHED_OBJ and SCHED_CFLAGS to enable the Haifa scheduler.
3297 if [[ x$enable_haifa = xyes ]]; then
3298 echo "Using the Haifa scheduler."
3300 sched_cflags=-DHAIFA
3302 AC_SUBST(sched_prefix)
3303 AC_SUBST(sched_cflags)
3304 if [[ x$enable_haifa != x ]]; then
3305 # Explicitly remove files that need to be recompiled for the Haifa scheduler.
3306 for x in genattrtab.o toplev.o loop.o unroll.o *sched.o; do
3307 if [[ -f $x ]]; then
3314 # Process the language and host/target makefile fragments.
3315 ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag $srcdir "$subdirs" "$dep_host_xmake_file" "$dep_tmake_file"
3317 # Substitute configuration variables
3319 AC_SUBST(all_languages)
3320 AC_SUBST(all_boot_languages)
3321 AC_SUBST(all_compilers)
3322 AC_SUBST(all_lang_makefiles)
3323 AC_SUBST(all_stagestuff)
3324 AC_SUBST(all_diff_excludes)
3325 AC_SUBST(all_lib2funcs)
3326 AC_SUBST(all_headers)
3327 AC_SUBST(extra_passes)
3328 AC_SUBST(extra_programs)
3329 AC_SUBST(extra_parts)
3330 AC_SUBST(extra_c_objs)
3331 AC_SUBST(extra_c_flags)
3332 AC_SUBST(extra_objs)
3333 AC_SUBST(host_extra_gcc_objs)
3334 AC_SUBST(extra_headers_list)
3335 AC_SUBST(dep_host_xmake_file)
3336 AC_SUBST(dep_tmake_file)
3338 AC_SUBST(out_object_file)
3340 AC_SUBST(tm_file_list)
3341 AC_SUBST(build_xm_file_list)
3342 AC_SUBST(host_xm_file_list)
3343 AC_SUBST(lang_specs_files)
3344 AC_SUBST(lang_options_files)
3345 AC_SUBST(thread_file)
3347 AC_SUBST(local_prefix)
3348 AC_SUBST(gxx_include_dir)
3349 AC_SUBST(fixincludes)
3350 AC_SUBST(build_install_headers_dir)
3351 AC_SUBST(build_exeext)
3352 AC_SUBST(host_exeext)
3353 AC_SUBST(float_format)
3354 AC_SUBST(will_use_collect2)
3355 AC_SUBST(maybe_use_collect2)
3356 AC_SUBST(cc_set_by_configure)
3357 AC_SUBST(stage_prefix_set_by_configure)
3359 AC_SUBST(symbolic_link)
3361 AC_SUBST_FILE(target_overrides)
3362 AC_SUBST_FILE(host_overrides)
3363 AC_SUBST(cross_defines)
3364 AC_SUBST_FILE(cross_overrides)
3365 AC_SUBST_FILE(build_overrides)
3366 AC_SUBST_FILE(language_fragments)
3367 AC_SUBST_FILE(language_hooks)
3369 # Echo that links are built
3370 if [[ x$host = x$target ]]
3378 if [[ x$host != x$build ]]
3380 str3=" on a $build system"
3383 if [[ "x$str2" != x ]] || [[ "x$str3" != x ]]
3388 echo "Links are now set up to build a ${str1}compiler for ${target}$str4" 1>&2
3390 if [[ "x$str2" != x ]] || [[ "x$str3" != x ]]
3392 echo " ${str2}${str3}." 1>&2
3395 # Truncate the target if necessary
3396 if [[ x$host_truncate_target != x ]]; then
3397 target=`echo $target | sed -e 's/\(..............\).*/\1/'`
3400 # Configure the subdirectories
3401 # AC_CONFIG_SUBDIRS($subdirs)
3403 # Create the Makefile
3404 # and configure language subdirectories
3405 AC_OUTPUT($all_outputs,
3407 . $srcdir/configure.lang
3408 case x$CONFIG_HEADERS in
3409 xauto-config.h:config.in)
3412 # If the host supports symlinks, point stage[1234] at ../stage[1234] so
3413 # bootstrapping and the installation procedure can still use
3414 # CC="stage1/xgcc -Bstage1/". If the host doesn't support symlinks,
3415 # FLAGS_TO_PASS has been modified to solve the problem there.
3416 # This is virtually a duplicate of what happens in configure.lang; we do
3417 # an extra check to make sure this only happens if ln -s can be used.
3418 if [[ "$symbolic_link" = "ln -s" ]]; then
3419 for d in .. ${subdirs} ; do
3420 if [[ $d != .. ]]; then
3423 for t in stage1 stage2 stage3 stage4 include
3426 $symbolic_link ../$t $t 2>/dev/null
3437 target_alias='${target_alias}'
3439 subdirs='${subdirs}'
3440 oldstyle_subdirs='${oldstyle_subdirs}'
3441 symbolic_link='${symbolic_link}'
3442 program_transform_set='${program_transform_set}'
3443 program_transform_name='${program_transform_name}'
3444 dep_host_xmake_file='${dep_host_xmake_file}'
3445 host_xmake_file='${host_xmake_file}'
3446 dep_tmake_file='${dep_tmake_file}'
3447 tmake_file='${tmake_file}'
3448 thread_file='${thread_file}'
3449 version='${version}'
3450 local_prefix='${local_prefix}'
3451 build_install_headers_dir='${build_install_headers_dir}'
3452 build_exeext='${build_exeext}'
3453 host_exeext='${host_exeext}'
3454 out_file='${out_file}'
3455 gdb_needs_out_file_path='${gdb_needs_out_file_path}'
3456 SET_MAKE='${SET_MAKE}'
3457 target_list='${target_list}'
3458 target_overrides='${target_overrides}'
3459 host_overrides='${host_overrides}'
3460 cross_defines='${cross_defines}'
3461 cross_overrides='${cross_overrides}'
3462 build_overrides='${build_overrides}'