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-ecoff.h alpha/linux.h"
327 target_cpu_default="MASK_GAS"
332 alpha*-*-linux-gnulibc1*)
333 tm_file="${tm_file} alpha/elf.h alpha/linux-elf.h alpha/linux.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"
346 target_cpu_default="MASK_GAS"
347 tmake_file="t-linux alpha/t-linux"
349 fixincludes=Makefile.in
351 if [[ x$enable_threads = xyes ]]; then
356 if [[ x$stabs = xyes ]]
358 tm_file="${tm_file} dbx.h"
360 if [[ x$gas != xyes ]]
362 extra_passes="mips-tfile mips-tdump"
367 tm_file="${tm_file} alpha/osf.h alpha/osf12.h alpha/osf2or3.h"
370 tm_file="${tm_file} alpha/osf.h alpha/osf2or3.h"
373 tm_file="${tm_file} alpha/osf.h"
374 # Some versions of OSF4 (specifically X4.0-9 296.7) have
375 # a broken tar, so we use cpio instead.
376 install_headers_dir=install-headers-cpio
379 tm_file="${tm_file} alpha/osf.h"
383 *-*-osf4.0[[b-z]] | *-*-osf4.[[1-9]]*)
384 target_cpu_default=MASK_SUPPORT_ARCH
389 tm_file="${tm_file} alpha/win-nt.h"
390 xm_file="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
392 xmake_file=winnt/x-winnt
393 extra_host_objs=oldnames.o
394 extra_gcc_objs="spawnv.o oldnames.o"
395 fixincludes=fixinc.winnt
396 if [[ x$gnu_ld != xyes ]]
398 extra_programs=ld.exe
400 if [[ x$enable_threads = xyes ]]; then
406 xm_file="${xm_file} alpha/xm-vms.h"
407 tmake_file=alpha/t-vms
408 fixincludes=Makefile.in
411 extra_parts="crtinit.o crtfini.o"
413 arm-*-coff* | armel-*-coff*)
415 tmake_file=arm/t-bare
417 arm-*-riscix1.[[01]]*) # Acorn RISC machine (early versions)
418 tm_file=arm/riscix1-1.h
421 arm-*-riscix*) # Acorn RISC machine
422 if [[ x$gas = xyes ]]
424 tm_file=arm/rix-gas.h
428 xmake_file=arm/x-riscix
429 tmake_file=arm/t-riscix
432 arm-semi-aout | armel-semi-aout)
434 tmake_file=arm/t-semi
435 fixincludes=Makefile.in # There is nothing to fix
437 arm-semi-aof | armel-semi-aof)
438 tm_file=arm/semiaof.h
439 tmake_file=arm/t-semiaof
440 fixincludes=Makefile.in # There is nothing to fix
444 xm_file="xm-siglist.h ${xm_file}"
445 tmake_file="t-netbsd arm/t-netbsd"
446 # On NetBSD, the headers are already okay, except for math.h.
447 fixincludes=fixinc.math
449 arm-*-linux-gnuaout*) # ARM GNU/Linux
452 tm_file=arm/linux-gas.h
453 tmake_file=arm/t-linux
454 fixincludes=Makefile.in
459 tmake_file=arm/t-bare
461 c1-convex-*) # Convex C1
464 fixincludes=Makefile.in
466 c2-convex-*) # Convex C2
469 fixincludes=Makefile.in
474 fixincludes=Makefile.in
479 fixincludes=Makefile.in
482 target_cpu_default=16
484 fixincludes=Makefile.in
486 clipper-intergraph-clix*)
487 tm_file="${tm_file} svr3.h clipper/clix.h"
488 xm_file=clipper/xm-clix.h
489 xmake_file=clipper/x-clix
490 extra_headers=va-clipper.h
491 extra_parts="crtbegin.o crtend.o"
492 install_headers_dir=install-headers-cpio
499 # This hasn't been upgraded to GCC 2.
500 # fx80-alliant-*) # Alliant FX/80
506 tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h"
507 xm_file=pa/xm-papro.h
512 tm_file="${tm_file} pa/pa-osf.h"
514 fixincludes=Makefile.in
517 tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
518 xm_file=pa/xm-papro.h
522 tm_file="${tm_file} pa/pa-osf.h"
524 fixincludes=Makefile.in
529 fixincludes=Makefile.in
533 fixincludes=Makefile.in
536 tm_file="pa/pa-oldas.h ${tm_file} pa/pa-hpux7.h"
537 xm_file=pa/xm-pahpux.h
538 xmake_file=pa/x-pa-hpux
539 if [[ x$gas = xyes ]]
541 tm_file="${tm_file} pa/gas.h"
543 install_headers_dir=install-headers-cpio
546 hppa1.0-*-hpux8.0[[0-2]]*)
547 tm_file="${tm_file} pa/pa-hpux.h"
548 xm_file=pa/xm-pahpux.h
549 xmake_file=pa/x-pa-hpux
550 if [[ x$gas = xyes ]]
552 tm_file="${tm_file} pa/pa-gas.h"
554 tm_file="pa/pa-oldas.h ${tm_file}"
556 install_headers_dir=install-headers-cpio
559 hppa1.1-*-hpux8.0[[0-2]]*)
561 tm_file="${tm_file} pa/pa-hpux.h"
562 xm_file=pa/xm-pahpux.h
563 xmake_file=pa/x-pa-hpux
564 if [[ x$gas = xyes ]]
566 tm_file="${tm_file} pa/pa-gas.h"
568 tm_file="pa/pa-oldas.h ${tm_file}"
570 install_headers_dir=install-headers-cpio
575 tm_file="${tm_file} pa/pa-hpux.h"
576 xm_file=pa/xm-pahpux.h
577 xmake_file=pa/x-pa-hpux
578 if [[ x$gas = xyes ]]
580 tm_file="${tm_file} pa/pa-gas.h"
582 install_headers_dir=install-headers-cpio
586 tm_file="${tm_file} pa/pa-hpux.h"
587 xm_file=pa/xm-pahpux.h
588 xmake_file=pa/x-pa-hpux
589 if [[ x$gas = xyes ]]
591 tm_file="${tm_file} pa/pa-gas.h"
593 install_headers_dir=install-headers-cpio
598 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
599 xm_file=pa/xm-pahpux.h
600 xmake_file=pa/x-pa-hpux
602 if [[ x$gas = xyes ]]
604 tm_file="${tm_file} pa/pa-gas.h"
606 if [[ x$enable_threads = x ]]; then
607 enable_threads=$have_pthread_h
609 if [[ x$enable_threads = xyes ]]; then
611 tmake_file="${tmake_file} pa/t-dce-thr"
613 install_headers_dir=install-headers-cpio
617 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
618 xm_file=pa/xm-pahpux.h
619 xmake_file=pa/x-pa-hpux
620 if [[ x$gas = xyes ]]
622 tm_file="${tm_file} pa/pa-gas.h"
624 if [[ x$enable_threads = x ]]; then
625 enable_threads=$have_pthread_h
627 if [[ x$enable_threads = xyes ]]; then
629 tmake_file="${tmake_file} pa/t-dce-thr"
631 install_headers_dir=install-headers-cpio
636 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
637 xm_file=pa/xm-pahpux.h
638 xmake_file=pa/x-pa-hpux
639 if [[ x$gas = xyes ]]
641 tm_file="${tm_file} pa/pa-gas.h"
643 install_headers_dir=install-headers-cpio
647 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
648 xm_file=pa/xm-pahpux.h
649 xmake_file=pa/x-pa-hpux
650 if [[ x$gas = xyes ]]
652 tm_file="${tm_file} pa/pa-gas.h"
654 install_headers_dir=install-headers-cpio
659 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
660 xm_file=pa/xm-pahpux.h
661 xmake_file=pa/x-pa-hpux
662 if [[ x$gas = xyes ]]
664 tm_file="${tm_file} pa/pa-gas.h"
666 install_headers_dir=install-headers-cpio
670 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
671 xm_file=pa/xm-pahpux.h
672 xmake_file=pa/x-pa-hpux
673 if [[ x$gas = xyes ]]
675 tm_file="${tm_file} pa/pa-gas.h"
677 install_headers_dir=install-headers-cpio
683 fixincludes=Makefile.in
687 i[[34567]]86-ibm-aix*) # IBM PS/2 running AIX
688 if [[ x$gas = xyes ]]
690 tm_file=i386/aix386.h
691 extra_parts="crtbegin.o crtend.o"
692 tmake_file=i386/t-crtstuff
694 tm_file=i386/aix386ng.h
697 xm_file="xm-alloca.h i386/xm-aix.h ${xm_file}"
699 xmake_file=i386/x-aix
701 i[[34567]]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
702 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
703 xm_defines="USG POSIX SMALL_ARG_MAX"
704 xmake_file=i386/x-ncr3000
705 if [[ x$stabs = xyes -a x$gas = xyes ]]
707 tm_file=i386/sysv4gdb.h
711 extra_parts="crtbegin.o crtend.o"
712 tmake_file=i386/t-crtpic
716 xm_file=i386/xm-next.h
717 tmake_file=i386/t-next
718 xmake_file=i386/x-next
719 extra_objs=nextstep.o
720 if [[ x$enable_threads = xyes ]]; then
724 i[[34567]]86-sequent-bsd*) # 80386 from Sequent
726 if [[ x$gas = xyes ]]
728 tm_file=i386/seq-gas.h
730 tm_file=i386/sequent.h
733 i[[34567]]86-sequent-ptx1*)
734 xm_defines="USG SVR3"
735 xmake_file=i386/x-sysv3
736 tm_file=i386/seq-sysv3.h
737 tmake_file=i386/t-crtstuff
738 fixincludes=fixinc.ptx
739 extra_parts="crtbegin.o crtend.o"
740 install_headers_dir=install-headers-cpio
742 i[[34567]]86-sequent-ptx2* | i[[34567]]86-sequent-sysv3*)
743 xm_defines="USG SVR3"
744 xmake_file=i386/x-sysv3
745 tm_file=i386/seq2-sysv3.h
746 tmake_file=i386/t-crtstuff
747 extra_parts="crtbegin.o crtend.o"
748 fixincludes=fixinc.ptx
749 install_headers_dir=install-headers-cpio
751 i[[34567]]86-sequent-ptx4* | i[[34567]]86-sequent-sysv4*)
752 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
753 xm_defines="USG POSIX SMALL_ARG_MAX"
755 tm_file=i386/ptx4-i.h
757 extra_parts="crtbegin.o crtend.o"
758 fixincludes=fixinc.ptx
759 install_headers_dir=install-headers-cpio
761 i386-sun-sunos*) # Sun i386 roadrunner
766 i[[3456]]86-wrs-vxworks*)
767 tm_file=i386/vxi386.h
768 tmake_file=i386/t-i386bare
770 i[[34567]]86-*-aout*)
771 tm_file=i386/i386-aout.h
772 tmake_file=i386/t-i386bare
774 i[[34567]]86-*-bsdi* | i[[34567]]86-*-bsd386*)
775 tm_file=i386/bsd386.h
776 # tmake_file=t-libc-ok
779 tm_file=i386/386bsd.h
780 # tmake_file=t-libc-ok
781 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
784 i[[34567]]86-*-freebsdelf*)
785 tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
786 # On FreeBSD, the headers are already ok, except for math.h.
787 fixincludes=fixinc.math
788 tmake_file=i386/t-freebsd
793 i[[34567]]86-*-freebsd*)
794 tm_file=i386/freebsd.h
795 # On FreeBSD, the headers are already ok, except for math.h.
796 fixincludes=fixinc.math
797 tmake_file=i386/t-freebsd
799 i[[34567]]86-*-netbsd*)
800 tm_file=i386/netbsd.h
801 # On NetBSD, the headers are already okay, except for math.h.
802 fixincludes=fixinc.math
805 i[[34567]]86-*-coff*)
806 tm_file=i386/i386-coff.h
807 tmake_file=i386/t-i386bare
809 i[[34567]]86-*-isc*) # 80386 running ISC system
810 xm_file="${xm_file} i386/xm-isc.h"
811 xm_defines="USG SVR3"
813 i[[34567]]86-*-isc[[34]]*)
814 xmake_file=i386/x-isc3
817 xmake_file=i386/x-isc
820 if [[ x$gas = xyes -a x$stabs = xyes ]]
822 tm_file=i386/iscdbx.h
823 tmake_file=i386/t-svr3dbx
824 extra_parts="svr3.ifile svr3z.ifile"
826 tm_file=i386/isccoff.h
827 tmake_file=i386/t-crtstuff
828 extra_parts="crtbegin.o crtend.o"
830 install_headers_dir=install-headers-cpio
832 i[[34567]]86-*-linux-gnuoldld*) # Intel 80386's running GNU/Linux
833 # with a.out format using
835 xmake_file=x-linux-aout
836 tmake_file="t-linux-aout i386/t-crtstuff"
837 tm_file=i386/linux-oldld.h
838 fixincludes=Makefile.in #On Linux, the headers are ok already.
841 i[[34567]]86-*-linux-gnuaout*) # Intel 80386's running GNU/Linux
843 xmake_file=x-linux-aout
844 tmake_file="t-linux-aout i386/t-crtstuff"
845 tm_file=i386/linux-aout.h
846 fixincludes=Makefile.in #On Linux, the headers are ok already.
849 i[[34567]]86-*-linux-gnulibc1) # Intel 80386's running GNU/Linux
850 # with ELF format using the
851 # GNU/Linux C library 5
854 tmake_file="t-linux t-linux-gnulibc1 i386/t-crtstuff"
855 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
856 fixincludes=Makefile.in #On Linux, the headers are ok already.
858 if [[ x$enable_threads = xyes ]]; then
862 i[[34567]]86-*-linux-gnu*) # Intel 80386's running GNU/Linux
863 # with ELF format using glibc 2
864 # aka GNU/Linux C library 6
867 tmake_file="t-linux i386/t-crtstuff"
868 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
869 fixincludes=Makefile.in #On Linux, the headers are ok already.
871 if [[ x$enable_threads = xyes ]]; then
877 i[[34567]]86-go32-msdos | i[[34567]]86-*-go32*)
878 xm_file=i386/xm-go32.h
880 tmake_file=i386/t-go32
882 i[[34567]]86-pc-msdosdjgpp*)
883 xm_file=i386/xm-go32.h
885 tmake_file=i386/t-go32
889 i[[34567]]86-moss-msdos* | i[[34567]]86-*-moss*)
892 fixincludes=Makefile.in
896 i[[34567]]86-*-lynxos*)
897 if [[ x$gas = xyes ]]
901 tm_file=i386/lynx-ng.h
903 xm_file=i386/xm-lynx.h
904 tmake_file=i386/t-i386bare
907 i[[34567]]86-*-mach*)
909 # tmake_file=t-libc-ok
912 i[[34567]]86-*-osfrose*) # 386 using OSF/rose
913 if [[ x$elf = xyes ]]
915 tm_file=i386/osfelf.h
918 tm_file=i386/osfrose.h
921 xm_file="i386/xm-osf.h ${xm_file}"
922 xmake_file=i386/x-osfrose
923 tmake_file=i386/t-osf
926 i[[34567]]86-go32-rtems*)
928 xm_file=i386/xm-go32.h
929 tm_file=i386/go32-rtems.h
930 tmake_file="i386/t-go32 t-rtems"
932 i[[34567]]86-*-rtems*)
935 tmake_file="i386/t-i386bare t-rtems"
937 i[[34567]]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
938 xm_file="xm-siglist.h xm-alloca.h ${xm_file} i386/xm-sco5.h"
939 xm_defines="USG SVR3"
940 xmake_file=i386/x-sco5
941 fixincludes=fixinc.sco
942 install_headers_dir=install-headers-cpio
944 tmake_file=i386/t-sco5
945 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
947 i[[34567]]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system
948 xm_file="${xm_file} i386/xm-sco.h"
949 xm_defines="USG SVR3 BROKEN_LDEXP SMALL_ARG_MAX NO_SYS_SIGLIST"
950 xmake_file=i386/x-sco4
951 fixincludes=fixinc.sco
952 install_headers_dir=install-headers-cpio
953 if [[ x$stabs = xyes ]]
955 tm_file=i386/sco4dbx.h
956 tmake_file=i386/t-svr3dbx
957 extra_parts="svr3.ifile svr3z.rfile"
960 tmake_file=i386/t-crtstuff
961 extra_parts="crtbegin.o crtend.o"
965 i[[34567]]86-*-sco*) # 80386 running SCO system
966 xm_file=i386/xm-sco.h
967 xmake_file=i386/x-sco
968 install_headers_dir=install-headers-cpio
969 if [[ x$stabs = xyes ]]
971 tm_file=i386/scodbx.h
972 tmake_file=i386/t-svr3dbx
973 extra_parts="svr3.ifile svr3z.rfile"
976 extra_parts="crtbegin.o crtend.o"
977 tmake_file=i386/t-crtstuff
981 i[[34567]]86-*-solaris2*)
982 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
983 xm_defines="USG POSIX SMALL_ARG_MAX"
984 if [[ x$stabs = xyes ]]
986 tm_file=i386/sol2dbg.h
990 tmake_file=i386/t-sol2
991 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
994 *-*-solaris2.[[0-4]])
995 fixincludes=fixinc.svr4;;
997 fixincludes=fixinc.math;;
999 if [[ x$enable_threads = xyes ]]; then
1000 thread_file='solaris'
1003 i[[34567]]86-*-sysv5*) # Intel x86 on System V Release 5
1004 xm_file=i386/xm-sysv4.h
1005 tm_file=i386/sysv4.h
1006 if [[ x$stabs = xyes ]]
1008 tm_file="${tm_file} dbx.h"
1010 tmake_file=i386/t-crtpic
1012 extra_parts="crtbegin.o crtend.o"
1013 fixincludes=Makefile.in # The headers are just fine, thank you.
1015 i[[34567]]86-*-sysv4*) # Intel 80386's running system V.4
1016 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
1017 xm_defines="USG POSIX SMALL_ARG_MAX"
1018 tm_file=i386/sysv4.h
1019 if [[ x$stabs = xyes ]]
1021 tm_file="${tm_file} dbx.h"
1023 tmake_file=i386/t-crtpic
1025 extra_parts="crtbegin.o crtend.o"
1027 i[[34567]]86-*-sysv*) # Intel 80386's running system V
1028 xm_defines="USG SVR3"
1029 xmake_file=i386/x-sysv3
1030 if [[ x$gas = xyes ]]
1032 if [[ x$stabs = xyes ]]
1034 tm_file=i386/svr3dbx.h
1035 tmake_file=i386/t-svr3dbx
1036 extra_parts="svr3.ifile svr3z.rfile"
1038 tm_file=i386/svr3gas.h
1039 extra_parts="crtbegin.o crtend.o"
1040 tmake_file=i386/t-crtstuff
1043 tm_file=i386/sysv3.h
1044 extra_parts="crtbegin.o crtend.o"
1045 tmake_file=i386/t-crtstuff
1048 i386-*-vsta) # Intel 80386's running VSTa kernel
1049 xm_file=i386/xm-vsta.h
1051 tmake_file=i386/t-vsta
1052 xmake_file=i386/x-vsta
1054 i[[34567]]86-*-pe | i[[34567]]86-*-cygwin32)
1055 xm_file="${xm_file} i386/xm-cygwin32.h"
1056 tmake_file=i386/t-cygwin32
1057 tm_file=i386/cygwin32.h
1058 xmake_file=i386/x-cygwin32
1060 fixincludes=Makefile.in
1061 if [[ x$enable_threads = xyes ]]; then
1066 i[[34567]]86-*-mingw32*)
1067 tm_file=i386/mingw32.h
1068 xm_file="${xm_file} i386/xm-mingw32.h"
1069 tmake_file=i386/t-cygwin32
1071 xmake_file=i386/x-cygwin32
1072 fixincludes=Makefile.in
1073 if [[ x$enable_threads = xyes ]]; then
1080 *minwg32crt* | *mingw32*)
1081 tm_file="${tm_file} i386/crtdll.h"
1085 i[[34567]]86-*-winnt3*)
1086 tm_file=i386/win-nt.h
1087 out_file=i386/i386.c
1088 xm_file="xm-winnt.h ${xm_file}"
1089 xmake_file=winnt/x-winnt
1090 tmake_file=i386/t-winnt
1091 extra_host_objs="winnt.o oldnames.o"
1092 extra_gcc_objs="spawnv.o oldnames.o"
1093 fixincludes=fixinc.winnt
1094 if [[ x$gnu_ld != xyes ]]
1096 extra_programs=ld.exe
1098 if [[ x$enable_threads = xyes ]]; then
1102 i[[34567]]86-dg-dgux*)
1103 xm_file="xm-alloca.h xm-siglist.h ${xm_file}"
1104 xm_defines="USG POSIX"
1105 out_file=i386/dgux.c
1107 tmake_file=i386/t-dgux
1108 xmake_file=i386/x-dgux
1109 fixincludes=Makefile.in # There is nothing to fix
1110 install_headers_dir=install-headers-cpio
1112 i860-alliant-*) # Alliant FX/2800
1113 tm_file="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
1114 xm_file="${xm_file}"
1115 xmake_file=i860/x-fx2800
1116 tmake_file=i860/t-fx2800
1117 extra_parts="crtbegin.o crtend.o"
1120 tm_file="${tm_file} i860/bsd.h"
1121 if [[ x$gas = xyes ]]
1123 tm_file="${tm_file} i860/bsd-gas.h"
1128 tm_file="${tm_file} i860/mach.h"
1129 tmake_file=t-libc-ok
1131 i860-*-osf*) # Intel Paragon XP/S, OSF/1AD
1132 tm_file="${tm_file} svr3.h i860/paragon.h"
1133 xm_defines="USG SVR3"
1137 tm_file="${tm_file} svr3.h i860/sysv3.h"
1138 xm_defines="USG SVR3"
1139 xmake_file=i860/x-sysv3
1140 extra_parts="crtbegin.o crtend.o"
1143 tm_file="${tm_file} svr4.h i860/sysv4.h"
1144 xm_defines="USG SVR3"
1145 xmake_file=i860/x-sysv4
1147 extra_parts="crtbegin.o crtend.o"
1149 i960-wrs-vxworks5 | i960-wrs-vxworks5.0*)
1150 tm_file="${tm_file} i960/vx960.h"
1151 tmake_file=i960/t-vxworks960
1153 thread_file='vxworks'
1155 i960-wrs-vxworks5* | i960-wrs-vxworks)
1156 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
1157 tmake_file=i960/t-vxworks960
1159 thread_file='vxworks'
1162 tm_file="${tm_file} i960/vx960.h"
1163 tmake_file=i960/t-vxworks960
1165 thread_file='vxworks'
1168 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
1169 tmake_file=i960/t-960bare
1173 tmake_file="i960/t-960bare t-rtems"
1174 tm_file="${tm_file} dbxcoff.h i960/rtems.h"
1177 i960-*-*) # Default i960 environment.
1181 extra_parts="crtinit.o crtfini.o"
1183 m68000-convergent-sysv*)
1185 xm_file="m68k/xm-3b1.h ${xm_file}"
1188 extra_headers=math-68881.h
1190 m68000-hp-bsd*) # HP 9000/200 running BSD
1191 tm_file=m68k/hp2bsd.h
1192 xmake_file=m68k/x-hp2bsd
1194 extra_headers=math-68881.h
1196 m68000-hp-hpux*) # HP 9000 series 300
1197 xm_file="xm_alloca.h ${xm_file}"
1198 xm_defines="USG NO_SYS_SIGLIST"
1199 if [[ x$gas = xyes ]]
1201 xmake_file=m68k/x-hp320g
1202 tm_file=m68k/hp310g.h
1204 xmake_file=m68k/x-hp320
1205 tm_file=m68k/hp310.h
1207 install_headers_dir=install-headers-cpio
1209 extra_headers=math-68881.h
1214 extra_headers=math-68881.h
1217 tm_file=m68k/sun2o4.h
1219 extra_headers=math-68881.h
1222 xm_file="m68k/xm-3b1.h ${xm_file}"
1224 if [[ x$gas = xyes ]]
1231 extra_headers=math-68881.h
1233 m68k-apple-aux*) # Apple Macintosh running A/UX
1234 xm_defines="USG AUX"
1235 tmake_file=m68k/t-aux
1236 install_headers_dir=install-headers-cpio
1237 extra_headers=math-68881.h
1238 extra_parts="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
1240 if [[ "$gnu_ld" = yes ]]
1242 tm_file="${tm_file} m68k/auxgld.h"
1244 tm_file="${tm_file} m68k/auxld.h"
1246 if [[ "$gas" = yes ]]
1248 tm_file="${tm_file} m68k/auxgas.h"
1250 tm_file="${tm_file} m68k/auxas.h"
1252 tm_file="${tm_file} m68k/a-ux.h"
1255 tm_file=m68k/apollo68.h
1256 xmake_file=m68k/x-apollo68
1258 extra_headers=math-68881.h
1260 m68k-altos-sysv*) # Altos 3068
1261 if [[ x$gas = xyes ]]
1263 tm_file=m68k/altos3068.h
1266 echo "The Altos is supported only with the GNU assembler" 1>&2
1269 extra_headers=math-68881.h
1271 m68k-bull-sysv*) # Bull DPX/2
1272 if [[ x$gas = xyes ]]
1274 if [[ x$stabs = xyes ]]
1276 tm_file=m68k/dpx2cdbx.h
1278 tm_file=m68k/dpx2g.h
1283 xm_file="xm-alloca.h ${xm_file}"
1285 xmake_file=m68k/x-dpx2
1287 extra_headers=math-68881.h
1289 m68k-atari-sysv4*) # Atari variant of V.4.
1290 tm_file=m68k/atari.h
1291 xm_file="xm-alloca.h ${xm_file}"
1292 xm_defines="USG FULL_PROTOTYPES"
1294 extra_parts="crtbegin.o crtend.o"
1295 extra_headers=math-68881.h
1297 m68k-motorola-sysv*)
1298 tm_file=m68k/mot3300.h
1299 xm_file="xm-alloca.h m68k/xm-mot3300.h ${xm_file}"
1300 xm_defines=NO_SYS_SIGLIST
1301 if [[ x$gas = xyes ]]
1303 xmake_file=m68k/x-mot3300-gas
1304 if [[ x$gnu_ld = xyes ]]
1306 tmake_file=m68k/t-mot3300-gald
1308 tmake_file=m68k/t-mot3300-gas
1312 xmake_file=m68k/x-mot3300
1313 if [[ x$gnu_ld = xyes ]]
1315 tmake_file=m68k/t-mot3300-gld
1317 tmake_file=m68k/t-mot3300
1321 gdb_needs_out_file_path=yes
1322 extra_parts="crt0.o mcrt0.o"
1323 extra_headers=math-68881.h
1325 m68k-ncr-sysv*) # NCR Tower 32 SVR3
1326 tm_file=m68k/tower-as.h
1327 xm_defines="USG SVR3"
1328 xmake_file=m68k/x-tower
1329 extra_parts="crtbegin.o crtend.o"
1330 extra_headers=math-68881.h
1333 tm_file=m68k/plexus.h
1334 xm_file="xm-alloca.h m68k/xm-plexus.h ${xm_file}"
1337 extra_headers=math-68881.h
1341 xm_file="xm-alloca.h ${xm_file}"
1343 extra_headers=math-68881.h
1346 xm_file="xm-alloca.h m68k/xm-crds.h ${xm_file}"
1347 xm_defines="USG unos"
1348 xmake_file=m68k/x-crds
1351 extra_headers=math-68881.h
1353 m68k-cbm-sysv4*) # Commodore variant of V.4.
1355 xm_file="xm-alloca.h ${xm_file}"
1356 xm_defines="USG FULL_PROTOTYPES"
1357 xmake_file=m68k/x-amix
1359 extra_parts="crtbegin.o crtend.o"
1360 extra_headers=math-68881.h
1363 tm_file=m68k/ccur-GAS.h
1364 xmake_file=m68k/x-ccur
1365 extra_headers=math-68881.h
1368 m68k-hp-bsd4.4*) # HP 9000/3xx running 4.4bsd
1369 tm_file=m68k/hp3bsd44.h
1370 xmake_file=m68k/x-hp3bsd44
1372 extra_headers=math-68881.h
1374 m68k-hp-bsd*) # HP 9000/3xx running Berkeley Unix
1375 tm_file=m68k/hp3bsd.h
1377 extra_headers=math-68881.h
1380 if [[ x$with_fp = xno ]]
1382 tm_file=m68k/isi-nfp.h
1387 extra_headers=math-68881.h
1389 m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
1390 xm_file="xm_alloca.h ${xm_file}"
1391 xm_defines="USG NO_SYS_SIGLIST"
1392 if [[ x$gas = xyes ]]
1394 xmake_file=m68k/x-hp320g
1395 tm_file=m68k/hp320g.h
1397 xmake_file=m68k/x-hp320
1398 tm_file=m68k/hpux7.h
1400 install_headers_dir=install-headers-cpio
1402 extra_headers=math-68881.h
1404 m68k-hp-hpux*) # HP 9000 series 300
1405 xm_file="xm_alloca.h ${xm_file}"
1406 xm_defines="USG NO_SYS_SIGLIST"
1407 if [[ x$gas = xyes ]]
1409 xmake_file=m68k/x-hp320g
1410 tm_file=m68k/hp320g.h
1412 xmake_file=m68k/x-hp320
1413 tm_file=m68k/hp320.h
1415 install_headers_dir=install-headers-cpio
1417 extra_headers=math-68881.h
1420 tm_file=m68k/sun3mach.h
1422 extra_headers=math-68881.h
1425 if [[ x$gas = xyes ]]
1427 tm_file=m68k/news3gas.h
1429 tm_file=m68k/news3.h
1432 extra_headers=math-68881.h
1434 m68k-sony-bsd* | m68k-sony-newsos*)
1435 if [[ x$gas = xyes ]]
1437 tm_file=m68k/newsgas.h
1442 extra_headers=math-68881.h
1444 m68k-next-nextstep2*)
1445 tm_file=m68k/next21.h
1446 xm_file="m68k/xm-next.h ${xm_file}"
1447 tmake_file=m68k/t-next
1448 xmake_file=m68k/x-next
1449 extra_objs=nextstep.o
1450 extra_headers=math-68881.h
1453 m68k-next-nextstep3*)
1455 xm_file="m68k/xm-next.h ${xm_file}"
1456 tmake_file=m68k/t-next
1457 xmake_file=m68k/x-next
1458 extra_objs=nextstep.o
1459 extra_headers=math-68881.h
1460 if [[ x$enable_threads = xyes ]]; then
1465 if [[ x$with_fp = xno ]]
1467 tm_file=m68k/sun3n3.h
1469 tm_file=m68k/sun3o3.h
1472 extra_headers=math-68881.h
1474 m68k-sun-sunos*) # For SunOS 4 (the default).
1475 if [[ x$with_fp = xno ]]
1477 tm_file=m68k/sun3n.h
1482 extra_headers=math-68881.h
1485 tm_file=m68k/vxm68k.h
1486 tmake_file=m68k/t-vxworks68
1487 extra_headers=math-68881.h
1488 thread_file='vxworks'
1491 tmake_file=m68k/t-m68kbare
1492 tm_file="m68k/m68k-aout.h libgloss.h"
1493 extra_headers=math-68881.h
1496 tmake_file=m68k/t-m68kbare
1497 tm_file="m68k/m68k-coff.h dbx.h libgloss.h"
1498 extra_headers=math-68881.h
1501 if [[ x$gas = xyes ]]
1505 tm_file=m68k/lynx-ng.h
1507 xm_file=m68k/xm-lynx.h
1509 tmake_file=m68k/t-lynx
1510 extra_headers=math-68881.h
1513 tm_file=m68k/netbsd.h
1514 # On NetBSD, the headers are already okay, except for math.h.
1515 fixincludes=fixinc.math
1518 m68k-*-sysv3*) # Motorola m68k's running system V.3
1519 xm_file="xm-alloca.h ${xm_file}"
1521 xmake_file=m68k/x-m68kv
1522 extra_parts="crtbegin.o crtend.o"
1523 extra_headers=math-68881.h
1525 m68k-*-sysv4*) # Motorola m68k's running system V.4
1526 tm_file=m68k/m68kv4.h
1527 xm_file="xm-alloca.h ${xm_file}"
1530 extra_parts="crtbegin.o crtend.o"
1531 extra_headers=math-68881.h
1533 m68k-*-linux-gnuaout*) # Motorola m68k's running GNU/Linux
1536 tm_file=m68k/linux-aout.h
1537 tmake_file="t-linux-aout m68k/t-linux-aout"
1538 fixincludes=Makefile.in # The headers are ok already.
1539 extra_headers=math-68881.h
1542 m68k-*-linux-gnulibc1) # Motorola m68k's running GNU/Linux
1543 # with ELF format using the
1544 # GNU/Linux C library 5
1546 tm_file=m68k/linux.h
1547 tmake_file="t-linux t-linux-gnulibc1 m68k/t-linux"
1548 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1549 fixincludes=Makefile.in # The headers are ok already.
1550 extra_headers=math-68881.h
1553 m68k-*-linux-gnu*) # Motorola m68k's running GNU/Linux
1554 # with ELF format using glibc 2
1555 # aka the GNU/Linux C library 6.
1557 tm_file=m68k/linux.h
1558 tmake_file="t-linux m68k/t-linux"
1559 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1560 fixincludes=Makefile.in # The headers are ok already.
1561 extra_headers=math-68881.h
1563 if [[ x$enable_threads = xyes ]]; then
1568 tmake_file=m68k/t-m68kbare
1569 tm_file=m68k/m68k-psos.h
1570 extra_headers=math-68881.h
1573 tmake_file="m68k/t-m68kbare t-rtems"
1574 tm_file=m68k/rtems.h
1575 extra_headers=math-68881.h
1581 tm_file=m88k/dguxbcs.h
1582 tmake_file=m88k/t-dguxbcs
1586 tmake_file=m88k/t-dgux
1589 extra_parts="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
1590 xmake_file=m88k/x-dgux
1591 if [[ x$gas = xyes ]]
1593 tmake_file=m88k/t-dgux-gas
1595 fixincludes=fixinc.dgux
1597 m88k-dolphin-sysv3*)
1598 tm_file=m88k/dolph.h
1599 extra_parts="crtbegin.o crtend.o"
1600 xm_file="m88k/xm-sysv3.h ${xm_file}"
1601 xmake_file=m88k/x-dolph
1602 if [[ x$gas = xyes ]]
1604 tmake_file=m88k/t-m88k-gas
1607 m88k-tektronix-sysv3)
1608 tm_file=m88k/tekXD88.h
1609 extra_parts="crtbegin.o crtend.o"
1610 xm_file="m88k/xm-sysv3.h ${xm_file}"
1611 xmake_file=m88k/x-tekXD88
1612 if [[ x$gas = xyes ]]
1614 tmake_file=m88k/t-m88k-gas
1618 tm_file=m88k/m88k-aout.h
1621 tm_file=m88k/m88k-coff.h
1622 tmake_file=m88k/t-bug
1626 extra_parts="crtbegin.o crtend.o"
1627 if [[ x$gas = xyes ]]
1629 tmake_file=m88k/t-luna-gas
1631 tmake_file=m88k/t-luna
1635 tm_file=m88k/sysv3.h
1636 extra_parts="crtbegin.o crtend.o"
1637 xm_file="m88k/xm-sysv3.h ${xm_file}"
1638 xmake_file=m88k/x-sysv3
1639 if [[ x$gas = xyes ]]
1641 tmake_file=m88k/t-m88k-gas
1645 tm_file=m88k/sysv4.h
1646 extra_parts="crtbegin.o crtend.o"
1647 xmake_file=m88k/x-sysv4
1648 tmake_file=m88k/t-sysv4
1650 mips-sgi-irix6*) # SGI System V.4., IRIX 6
1651 tm_file=mips/iris6.h
1652 xm_file=mips/xm-iris6.h
1653 fixincludes=fixinc.irix
1654 xmake_file=mips/x-iris6
1655 tmake_file=mips/t-iris6
1656 if [[ x$enable_threads = xyes ]]; then
1661 tm_file="mips/elf.h libgloss.h"
1662 tmake_file=mips/t-ecoff
1665 extra_parts="crtbegin.o crtend.o"
1666 # thread_file='vxworks'
1668 mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
1669 tm_file="mips/iris6.h mips/cross64.h"
1670 xm_defines="USG HAVE_INTTYPES_H"
1671 fixincludes=Makefile.in
1672 xmake_file=mips/x-iris
1673 tmake_file=mips/t-cross64
1674 # See comment in mips/iris[56].h files.
1676 if [[ x$enable_threads = xyes ]]; then
1681 if [[ x$gas = xyes ]]
1683 if [[ x$stabs = xyes ]]
1685 tm_file=mips/iris5gdb.h
1687 tm_file="mips/sni-svr4.h mips/sni-gas.h"
1690 tm_file=mips/sni-svr4.h
1693 xmake_file=mips/x-sni-svr4
1694 tmake_file=mips/t-mips-gas
1695 if [[ x$gnu_ld != xyes ]]
1700 mips-sgi-irix5*) # SGI System V.4., IRIX 5
1701 if [[ x$gas = xyes ]]
1703 tm_file="mips/iris5.h mips/iris5gas.h"
1704 if [[ x$stabs = xyes ]]
1706 tm_file="${tm_file} dbx.h"
1709 tm_file=mips/iris5.h
1711 xm_defines="USG HAVE_INTTYPES_H"
1712 fixincludes=fixinc.irix
1713 xmake_file=mips/x-iris
1714 # mips-tfile doesn't work yet
1715 tmake_file=mips/t-mips-gas
1716 # See comment in mips/iris5.h file.
1718 if [[ x$enable_threads = xyes ]]; then
1722 mips-sgi-irix4loser*) # Mostly like a MIPS.
1723 tm_file="mips/iris4loser.h mips/iris3.h ${tm_file} mips/iris4.h"
1724 if [[ x$stabs = xyes ]]; then
1725 tm_file="${tm_file} dbx.h"
1728 xmake_file=mips/x-iris
1729 if [[ x$gas = xyes ]]
1731 tmake_file=mips/t-mips-gas
1733 extra_passes="mips-tfile mips-tdump"
1735 if [[ x$gnu_ld != xyes ]]
1739 if [[ x$enable_threads = xyes ]]; then
1743 mips-sgi-irix4*) # Mostly like a MIPS.
1744 tm_file="mips/iris3.h ${tm_file} mips/iris4.h"
1745 if [[ x$stabs = xyes ]]; then
1746 tm_file="${tm_file} dbx.h"
1749 xmake_file=mips/x-iris
1750 if [[ x$gas = xyes ]]
1752 tmake_file=mips/t-mips-gas
1754 extra_passes="mips-tfile mips-tdump"
1756 if [[ x$gnu_ld != xyes ]]
1760 if [[ x$enable_threads = xyes ]]; then
1764 mips-sgi-*) # Mostly like a MIPS.
1765 tm_file="mips/iris3.h ${tm_file}"
1766 if [[ x$stabs = xyes ]]; then
1767 tm_file="${tm_file} dbx.h"
1770 xmake_file=mips/x-iris3
1771 if [[ x$gas = xyes ]]
1773 tmake_file=mips/t-mips-gas
1775 extra_passes="mips-tfile mips-tdump"
1777 if [[ x$gnu_ld != xyes ]]
1782 mips-dec-osfrose*) # Decstation running OSF/1 reference port with OSF/rose.
1783 tm_file="mips/osfrose.h ${tm_file}"
1784 xmake_file=mips/x-osfrose
1785 tmake_file=mips/t-osfrose
1786 extra_objs=halfpic.o
1789 mips-dec-osf*) # Decstation running OSF/1 as shipped by DIGITAL
1790 tm_file=mips/dec-osf1.h
1791 if [[ x$stabs = xyes ]]; then
1792 tm_file="${tm_file} dbx.h"
1794 xmake_file=mips/x-dec-osf1
1795 if [[ x$gas = xyes ]]
1797 tmake_file=mips/t-mips-gas
1799 tmake_file=mips/t-ultrix
1800 extra_passes="mips-tfile mips-tdump"
1802 if [[ x$gnu_ld != xyes ]]
1807 mips-dec-bsd*) # Decstation running 4.4 BSD
1808 tm_file=mips/dec-bsd.h
1810 if [[ x$gas = xyes ]]
1812 tmake_file=mips/t-mips-gas
1814 tmake_file=mips/t-ultrix
1815 extra_passes="mips-tfile mips-tdump"
1817 if [[ x$gnu_ld != xyes ]]
1822 mips-dec-netbsd*) # Decstation running NetBSD
1823 tm_file=mips/netbsd.h
1824 # On NetBSD, the headers are already okay, except for math.h.
1825 fixincludes=fixinc.math
1828 mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
1829 tm_file="mips/news4.h ${tm_file}"
1830 if [[ x$stabs = xyes ]]; then
1831 tm_file="${tm_file} dbx.h"
1833 if [[ x$gas = xyes ]]
1835 tmake_file=mips/t-mips-gas
1837 extra_passes="mips-tfile mips-tdump"
1839 if [[ x$gnu_ld != xyes ]]
1843 xmake_file=mips/x-sony
1845 mips-sony-sysv*) # Sony NEWS 3800 with NEWSOS5.0.
1846 # That is based on svr4.
1847 # t-svr4 is not right because this system doesn't use ELF.
1848 tm_file="mips/news5.h ${tm_file}"
1849 if [[ x$stabs = xyes ]]; then
1850 tm_file="${tm_file} dbx.h"
1852 xm_file="xm-siglist.h ${xm_file}"
1854 if [[ x$gas = xyes ]]
1856 tmake_file=mips/t-mips-gas
1858 extra_passes="mips-tfile mips-tdump"
1860 if [[ x$gnu_ld != xyes ]]
1865 mips-tandem-sysv4*) # Tandem S2 running NonStop UX
1866 tm_file="mips/svr4-5.h mips/svr4-t.h"
1867 if [[ x$stabs = xyes ]]; then
1868 tm_file="${tm_file} dbx.h"
1870 xm_file="xm-siglist.h ${xm_file}"
1872 xmake_file=mips/x-sysv
1873 if [[ x$gas = xyes ]]
1875 tmake_file=mips/t-mips-gas
1876 extra_parts="crtbegin.o crtend.o"
1878 tmake_file=mips/t-mips
1879 extra_passes="mips-tfile mips-tdump"
1881 if [[ x$gnu_ld != xyes ]]
1886 mips-*-ultrix* | mips-dec-mach3) # Decstation.
1887 tm_file="mips/ultrix.h ${tm_file}"
1888 if [[ x$stabs = xyes ]]; then
1889 tm_file="${tm_file} dbx.h"
1891 xmake_file=mips/x-ultrix
1892 if [[ x$gas = xyes ]]
1894 tmake_file=mips/t-mips-gas
1896 tmake_file=mips/t-ultrix
1897 extra_passes="mips-tfile mips-tdump"
1899 if [[ x$gnu_ld != xyes ]]
1904 mips-*-riscos[[56789]]bsd*)
1905 tm_file=mips/bsd-5.h # MIPS BSD 4.3, RISC-OS 5.0
1906 if [[ x$stabs = xyes ]]; then
1907 tm_file="${tm_file} dbx.h"
1909 if [[ x$gas = xyes ]]
1911 tmake_file=mips/t-bsd-gas
1913 tmake_file=mips/t-bsd
1914 extra_passes="mips-tfile mips-tdump"
1916 if [[ x$gnu_ld != xyes ]]
1921 mips-*-bsd* | mips-*-riscosbsd* | mips-*-riscos[[1234]]bsd*)
1922 tm_file="mips/bsd-4.h ${tm_file}" # MIPS BSD 4.3, RISC-OS 4.0
1923 if [[ x$stabs = xyes ]]; then
1924 tm_file="${tm_file} dbx.h"
1926 if [[ x$gas = xyes ]]
1928 tmake_file=mips/t-bsd-gas
1930 tmake_file=mips/t-bsd
1931 extra_passes="mips-tfile mips-tdump"
1933 if [[ x$gnu_ld != xyes ]]
1938 mips-*-riscos[[56789]]sysv4*)
1939 tm_file=mips/svr4-5.h # MIPS System V.4., RISC-OS 5.0
1940 if [[ x$stabs = xyes ]]; then
1941 tm_file="${tm_file} dbx.h"
1943 xm_file="xm-siglist.h ${xm_file}"
1944 xmake_file=mips/x-sysv
1945 if [[ x$gas = xyes ]]
1947 tmake_file=mips/t-svr4-gas
1949 tmake_file=mips/t-svr4
1950 extra_passes="mips-tfile mips-tdump"
1952 if [[ x$gnu_ld != xyes ]]
1957 mips-*-sysv4* | mips-*-riscos[[1234]]sysv4* | mips-*-riscossysv4*)
1958 tm_file="mips/svr4-4.h ${tm_file}"
1959 if [[ x$stabs = xyes ]]; then
1960 tm_file="${tm_file} dbx.h"
1963 xmake_file=mips/x-sysv
1964 if [[ x$gas = xyes ]]
1966 tmake_file=mips/t-svr4-gas
1968 tmake_file=mips/t-svr4
1969 extra_passes="mips-tfile mips-tdump"
1971 if [[ x$gnu_ld != xyes ]]
1976 mips-*-riscos[[56789]]sysv*)
1977 tm_file=mips/svr3-5.h # MIPS System V.3, RISC-OS 5.0
1978 if [[ x$stabs = xyes ]]; then
1979 tm_file="${tm_file} dbx.h"
1982 xmake_file=mips/x-sysv
1983 if [[ x$gas = xyes ]]
1985 tmake_file=mips/t-svr3-gas
1987 tmake_file=mips/t-svr3
1988 extra_passes="mips-tfile mips-tdump"
1990 if [[ x$gnu_ld != xyes ]]
1995 mips-*-sysv* | mips-*-riscos*sysv*)
1996 tm_file="mips/svr3-4.h ${tm_file}"
1997 if [[ x$stabs = xyes ]]; then
1998 tm_file="${tm_file} dbx.h"
2001 xmake_file=mips/x-sysv
2002 if [[ x$gas = xyes ]]
2004 tmake_file=mips/t-svr3-gas
2006 tmake_file=mips/t-svr3
2007 extra_passes="mips-tfile mips-tdump"
2009 if [[ x$gnu_ld != xyes ]]
2014 mips-*-riscos[[56789]]*) # Default MIPS RISC-OS 5.0.
2015 tm_file=mips/mips-5.h
2016 if [[ x$stabs = xyes ]]; then
2017 tm_file="${tm_file} dbx.h"
2019 if [[ x$gas = xyes ]]
2021 tmake_file=mips/t-mips-gas
2023 extra_passes="mips-tfile mips-tdump"
2025 if [[ x$gnu_ld != xyes ]]
2033 tm_file=mips/ecoffl.h
2034 if [[ x$stabs = xyes ]]; then
2035 tm_file="${tm_file} dbx.h"
2037 tmake_file=mips/t-ecoff
2040 tm_file="${tm_file} gofast.h mips/ecoff.h"
2041 if [[ x$stabs = xyes ]]; then
2042 tm_file="${tm_file} dbx.h"
2044 tmake_file=mips/t-ecoff
2047 tm_file="mips/elfl.h libgloss.h"
2048 tmake_file=mips/t-ecoff
2051 tm_file="mips/elf.h libgloss.h"
2052 tmake_file=mips/t-ecoff
2055 tm_file="mips/elfl64.h libgloss.h"
2056 tmake_file=mips/t-ecoff
2058 mips64orionel-*-elf*)
2059 tm_file="mips/elforion.h mips/elfl64.h libgloss.h"
2060 tmake_file=mips/t-ecoff
2063 tm_file="mips/elf64.h libgloss.h"
2064 tmake_file=mips/t-ecoff
2067 tm_file="mips/elforion.h mips/elf64.h libgloss.h"
2068 tmake_file=mips/t-ecoff
2070 mips64orion-*-rtems*)
2071 tm_file="mips/elforion.h mips/elfl64.h mips/rtems64.h"
2072 tmake_file="mips/t-ecoff t-rtems"
2075 tm_file="mips/r3900.h mips/elfl.h mips/abi64.h libgloss.h"
2076 tmake_file=mips/t-r3900
2079 tm_file="mips/r3900.h mips/elf.h mips/abi64.h libgloss.h"
2080 tmake_file=mips/t-r3900
2082 mips-*-*) # Default MIPS RISC-OS 4.0.
2083 if [[ x$stabs = xyes ]]; then
2084 tm_file="${tm_file} dbx.h"
2086 if [[ x$gas = xyes ]]
2088 tmake_file=mips/t-mips-gas
2090 extra_passes="mips-tfile mips-tdump"
2092 if [[ x$gnu_ld != xyes ]]
2099 tm_file="mn10200/mn10200.h"
2100 if [[ x$stabs = xyes ]]
2102 tm_file="${tm_file} dbx.h"
2108 tm_file="mn10300/mn10300.h"
2109 if [[ x$stabs = xyes ]]
2111 tm_file="${tm_file} dbx.h"
2116 tm_file=ns32k/encore.h
2120 tm_file=ns32k/sequent.h
2124 tm_file=ns32k/tek6100.h
2128 tm_file=ns32k/tek6200.h
2131 # This has not been updated to GCC 2.
2134 # xmake_file=ns32k/x-genix
2135 # tm_file=ns32k/genix.h
2139 tm_file=ns32k/merlin.h
2143 tm_file=ns32k/pc532-mach.h
2147 tm_file=ns32k/pc532-min.h
2148 xm_file="ns32k/xm-pc532-min.h ${xm-file}"
2152 ns32k-pc532-netbsd*)
2153 tm_file=ns32k/netbsd.h
2154 # On NetBSD, the headers are already okay, except for math.h.
2155 fixincludes=fixinc.math
2159 tm_file="${tm_file} pdp11/2bsd.h"
2165 xmake_file=pyr/x-pyr
2172 xmake_file=romp/x-mach
2177 tm_file=rs6000/beos.h
2178 xm_file=rs6000/xm-beos.h
2179 tmake_file=rs6000/t-beos
2180 xmake_file=rs6000/x-beos
2182 powerpc-*-sysv* | powerpc-*-elf*)
2183 tm_file=rs6000/sysv4.h
2184 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2185 xm_defines="USG POSIX"
2186 extra_headers=ppc-asm.h
2187 if [[ x$gas = xyes ]]
2189 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2191 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2193 xmake_file=rs6000/x-sysv4
2196 tm_file=rs6000/eabiaix.h
2197 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2198 fixincludes=Makefile.in
2199 extra_headers=ppc-asm.h
2202 tm_file=rs6000/eabisim.h
2203 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2204 fixincludes=Makefile.in
2205 extra_headers=ppc-asm.h
2208 tm_file=rs6000/eabi.h
2209 if [[ x$gas = xyes ]]
2211 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2213 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2215 fixincludes=Makefile.in
2216 extra_headers=ppc-asm.h
2219 tm_file=rs6000/rtems.h
2220 if [[ x$gas = xyes ]]
2222 tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
2224 tmake_file="rs6000/t-ppc t-rtems rs6000/t-ppccomm"
2226 fixincludes=Makefile.in
2227 extra_headers=ppc-asm.h
2229 powerpc-*-linux-gnulibc1)
2230 tm_file=rs6000/linux.h
2231 xm_file=rs6000/xm-sysv4.h
2232 out_file=rs6000/rs6000.c
2233 if [[ x$gas = xyes ]]
2235 tmake_file="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
2237 tmake_file="rs6000/t-ppc t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
2240 fixincludes=Makefile.in
2241 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2242 extra_headers=ppc-asm.h
2243 if [[ x$enable_threads = xyes ]]; then
2247 powerpc-*-linux-gnu*)
2248 tm_file=rs6000/linux.h
2249 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2250 xm_defines="USG ${xm_defines}"
2251 out_file=rs6000/rs6000.c
2252 if [[ x$gas = xyes ]]
2254 tmake_file="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
2256 tmake_file="rs6000/t-ppc t-linux rs6000/t-ppccomm"
2259 fixincludes=Makefile.in
2260 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2261 extra_headers=ppc-asm.h
2262 if [[ x$enable_threads = xyes ]]; then
2266 powerpc-wrs-vxworks*)
2268 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2269 xm_defines="USG POSIX"
2270 tm_file=rs6000/vxppc.h
2271 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2272 extra_headers=ppc-asm.h
2273 thread_file='vxworks'
2275 powerpcle-*-sysv* | powerpcle-*-elf*)
2276 tm_file=rs6000/sysv4le.h
2277 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2278 xm_defines="USG POSIX"
2279 if [[ x$gas = xyes ]]
2281 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2283 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2285 xmake_file=rs6000/x-sysv4
2286 extra_headers=ppc-asm.h
2288 powerpcle-*-eabisim*)
2289 tm_file=rs6000/eabilesim.h
2290 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2291 fixincludes=Makefile.in
2292 extra_headers=ppc-asm.h
2295 tm_file=rs6000/eabile.h
2296 if [[ x$gas = xyes ]]
2298 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2300 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2302 fixincludes=Makefile.in
2303 extra_headers=ppc-asm.h
2305 powerpcle-*-winnt* )
2306 tm_file=rs6000/win-nt.h
2307 tmake_file=rs6000/t-winnt
2309 fixincludes=Makefile.in
2310 if [[ x$enable_threads = xyes ]]; then
2313 extra_headers=ppc-asm.h
2315 powerpcle-*-pe | powerpcle-*-cygwin32)
2316 tm_file=rs6000/cygwin32.h
2317 xm_file="rs6000/xm-cygwin32.h ${xm_file}"
2318 xm_defines=NO_STAB_H
2319 tmake_file=rs6000/t-winnt
2320 xmake_file=rs6000/x-cygwin32
2322 fixincludes=Makefile.in
2323 if [[ x$enable_threads = xyes ]]; then
2327 extra_headers=ppc-asm.h
2329 powerpcle-*-solaris2*)
2330 tm_file=rs6000/sol2.h
2331 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2332 xm_defines="USG POSIX"
2333 if [[ x$gas = xyes ]]
2335 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2337 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2339 xmake_file=rs6000/x-sysv4
2341 *-*-solaris2.[[0-4]])
2342 fixincludes=fixinc.svr4;;
2344 fixincludes=fixinc.math;;
2346 extra_headers=ppc-asm.h
2348 rs6000-ibm-aix3.[[01]]*)
2349 tm_file=rs6000/aix31.h
2350 xmake_file=rs6000/x-aix31
2353 rs6000-ibm-aix3.2.[[456789]]* | powerpc-ibm-aix3.2.[[456789]]*)
2354 tm_file=rs6000/aix3newas.h
2355 if [[ x$host != x$target ]]
2357 tmake_file=rs6000/t-xnewas
2359 tmake_file=rs6000/t-newas
2363 rs6000-ibm-aix[[456789]].* | powerpc-ibm-aix[[456789]].*)
2364 tm_file=rs6000/aix41.h
2365 if [[ x$host != x$target ]]
2367 tmake_file=rs6000/t-xnewas
2369 tmake_file=rs6000/t-newas
2371 xmake_file=rs6000/x-aix31
2381 tm_file=rs6000/mach.h
2382 xm_file="${xm_file} rs6000/xm-mach.h"
2383 xmake_file=rs6000/x-mach
2387 tm_file=rs6000/lynx.h
2388 xm_file=rs6000/xm-lynx.h
2389 tmake_file=rs6000/t-rs6000
2390 xmake_file=rs6000/x-lynx
2398 tmake_file="sh/t-sh t-rtems"
2407 xm_file="xm-alloca.h ${xm_file}"
2410 sparc-wrs-vxworks* | sparclite-wrs-vxworks*)
2411 tm_file=sparc/vxsparc.h
2412 tmake_file=sparc/t-vxsparc
2414 thread_file='vxworks'
2417 tmake_file=sparc/t-sparcbare
2418 tm_file="sparc/aout.h libgloss.h"
2421 tm_file=sparc/netbsd.h
2422 # On NetBSD, the headers are already okay, except for math.h.
2423 fixincludes=fixinc.math
2431 tmake_file=sparc/t-elf
2432 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
2436 sparc-*-linux-gnuaout*) # Sparc's running GNU/Linux, a.out
2437 xm_file="${xm_file} sparc/xm-linux.h"
2438 tm_file=sparc/linux-aout.h
2440 fixincludes=Makefile.in #On Linux, the headers are ok already.
2443 sparc-*-linux-gnulibc1*) # Sparc's running GNU/Linux, libc5
2444 xm_file="${xm_file} sparc/xm-linux.h"
2446 tm_file=sparc/linux.h
2447 tmake_file="t-linux t-linux-gnulibc1"
2448 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2449 fixincludes=Makefile.in #On Linux, the headers are ok already.
2452 sparc-*-linux-gnu*) # Sparc's running GNU/Linux, libc6
2453 xm_file="${xm_file} sparc/xm-linux.h"
2455 tm_file=sparc/linux.h
2456 tmake_file="t-linux"
2457 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2458 fixincludes=Makefile.in #On Linux, the headers are ok already.
2460 if [[ x$enable_threads = xyes ]]; then
2465 if [[ x$gas = xyes ]]
2467 tm_file=sparc/lynx.h
2469 tm_file=sparc/lynx-ng.h
2471 xm_file=sparc/xm-lynx.h
2472 tmake_file=sparc/t-sunos41
2476 tmake_file="sparc/t-sparcbare t-rtems"
2477 tm_file=sparc/rtems.h
2480 if [[ x$gnu_ld = xyes ]]
2482 tm_file=sparc/sol2.h
2484 tm_file=sparc/sol2-sld.h
2486 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
2487 tmake_file=sparc/t-sol2
2488 xmake_file=sparc/x-sysv4
2489 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
2491 *-*-solaris2.[[0-4]])
2492 fixincludes=fixinc.svr4;;
2494 fixincludes=fixinc.math;;
2497 if [[ x${enable_threads} = x ]]; then
2498 enable_threads=$have_pthread_h
2499 if [[ x${enable_threads} = x ]]; then
2500 enable_threads=$have_thread_h
2503 if [[ x${enable_threads} = xyes ]]; then
2504 if [[ x${have_pthread_h} = xyes ]]; then
2507 thread_file='solaris'
2512 tm_file=sparc/sunos4.h
2513 tmake_file=sparc/t-sunos40
2517 tm_file=sparc/sunos4.h
2518 tmake_file=sparc/t-sunos41
2520 if [[ x$gas = xyes ]]; then
2521 tm_file="${tm_file} sparc/sun4gas.h"
2525 tm_file=sparc/sun4o3.h
2529 tm_file=sparc/sysv4.h
2530 xm_file="xm-siglist.h sparc/xm-sysv4.h"
2531 xm_defines="USG POSIX"
2533 xmake_file=sparc/x-sysv4
2534 extra_parts="crtbegin.o crtend.o"
2537 xm_file="sparc/xm-sysv4.h sparc/xm-sol2.h"
2538 tm_file=sparc/vxsim.h
2539 tmake_file=sparc/t-vxsparc
2540 xmake_file=sparc/x-sysv4
2543 tm_file="sparc/splet.h libgloss.h"
2544 tmake_file=sparc/t-splet
2547 tm_file="sparc/litecoff.h libgloss.h"
2548 tmake_file=sparc/t-sparclite
2551 tm_file="sparc/lite.h aoutos.h libgloss.h"
2552 tmake_file=sparc/t-sparclite
2555 tmake_file=sparc/t-sp64
2556 tm_file=sparc/sp64-aout.h
2559 tmake_file=sparc/t-sp64
2560 tm_file=sparc/sp64-elf.h
2561 extra_parts="crtbegin.o crtend.o"
2563 sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
2564 tmake_file=sparc/t-sp64
2565 xm_file="sparc/xm-sp64.h sparc/xm-linux.h"
2566 tm_file=sparc/linux64.h
2568 fixincludes=Makefile.in # The headers are ok already.
2571 # This hasn't been upgraded to GCC 2.
2572 # tahoe-harris-*) # Harris tahoe, using COFF.
2573 # tm_file=tahoe/harris.h
2575 # tahoe-*-bsd*) # tahoe running BSD
2577 thumb-*-coff* | thumbel-*-coff*)
2579 out_file=arm/thumb.c
2580 xm_file=arm/xm-thumb.h
2581 md_file=arm/thumb.md
2582 tmake_file=arm/t-thumb
2584 # This hasn't been upgraded to GCC 2.
2591 tm_file="v850/v850.h"
2592 xm_file="v850/xm-v850.h"
2593 if [[ x$stabs = xyes ]]
2595 tm_file="${tm_file} dbx.h"
2599 vax-*-bsd*) # vaxen running BSD
2603 vax-*-sysv*) # vaxen running system V
2604 tm_file="${tm_file} vax/vaxv.h"
2609 tm_file="${tm_file} netbsd.h vax/netbsd.h"
2610 # On NetBSD, the headers are already okay, except for math.h.
2611 fixincludes=fixinc.math
2615 vax-*-ultrix*) # vaxen running ultrix
2616 tm_file="${tm_file} vax/ultrix.h"
2620 vax-*-vms*) # vaxen running VMS
2621 xm_file=vax/xm-vms.h
2625 vax-*-*) # vax default entry
2629 xm_file="${xm_file} xm-svr3"
2633 echo "Configuration $machine not supported" 1>&2
2640 ;; # Existing GNU/Linux systems do not use the GNU setup.
2642 # On the GNU system, the setup is just about the same on
2643 # each different CPU. The specific machines that GNU
2644 # supports are matched above and just set $cpu_type.
2645 xm_file="xm-gnu.h ${xm_file}"
2646 tm_file=${cpu_type}/gnu.h
2647 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
2648 # GNU always uses ELF.
2650 # GNU tools are the only tools.
2653 # On GNU, the headers are already okay.
2654 fixincludes=Makefile.in
2655 xmake_file=x-linux # These details are the same as Linux.
2656 tmake_file=t-gnu # These are not.
2659 fixincludes=fixinc.svr4
2660 xmake_try_sysv=x-sysv
2661 install_headers_dir=install-headers-cpio
2664 install_headers_dir=install-headers-cpio
2668 # Distinguish i[34567]86
2669 # Also, do not run mips-tfile on MIPS if using gas.
2670 # Process --with-cpu= for PowerPC/rs6000
2671 target_cpu_default2=
2674 target_cpu_default2=1
2677 target_cpu_default2=2
2679 i686-*-* | i786-*-*)
2680 target_cpu_default2=3
2685 target_cpu_default2="MASK_CPU_EV6|MASK_BXW|MASK_CIX|MASK_MAX"
2688 target_cpu_default2="MASK_CPU_EV5|MASK_BWX|MASK_MAX"
2691 target_cpu_default2="MASK_CPU_EV5|MASK_BWX"
2694 target_cpu_default2="MASK_CPU_EV5"
2698 if [[ x$gas = xyes ]]
2700 if [[ "$target_cpu_default2" = "" ]]
2702 target_cpu_default2="MASK_GAS"
2704 target_cpu_default2="${target_cpu_default2}|MASK_GAS"
2709 case "x$with_cpu" in
2712 target_cpu_default2="TARGET_CPU_generic"
2715 # Distinguish cores, and major variants
2716 # arm7m doesn't exist, but D & I don't affect code
2717 xarm[23678] | xarm250 | xarm[67][01]0 \
2718 | xarm7m | xarm7dm | xarm7dmi | xarm7tdmi \
2719 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
2720 | xstrongarm | xstrongarm110)
2721 target_cpu_default2="TARGET_CPU_$with_cpu"
2725 echo "--with-cpu must be passed a value" 1>&2
2730 if [[ x$pass2done = xyes ]]
2732 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2739 mips*-*-ecoff* | mips*-*-elf*)
2740 if [[ x$gas = xyes ]]
2742 if [[ x$gnu_ld = xyes ]]
2744 target_cpu_default2=20
2746 target_cpu_default2=16
2751 if [[ x$gas = xyes ]]
2753 target_cpu_default2=16
2756 powerpc*-*-* | rs6000-*-*)
2757 case "x$with_cpu" in
2761 xcommon | xpower | xpower2 | xpowerpc | xrios \
2762 | xrios1 | xrios2 | xrsc | xrsc1 \
2763 | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
2764 | x403 | x505 | x801 | x821 | x823 | x860)
2765 target_cpu_default2="\"$with_cpu\""
2769 echo "--with-cpu must be passed a value" 1>&2
2774 if [[ x$pass2done = xyes ]]
2776 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2783 case ".$with_cpu" in
2785 target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`"
2787 .supersparc | .ultrasparc | .v7 | .v8 | .v9)
2788 target_cpu_default2="TARGET_CPU_$with_cpu"
2791 if [[ x$pass2done = xyes ]]
2793 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
2801 if [[ "$target_cpu_default2" != "" ]]
2803 if [[ "$target_cpu_default" != "" ]]
2805 target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
2807 target_cpu_default=$target_cpu_default2
2811 # No need for collect2 if we have the GNU linker.
2818 # Save data on machine being used to compile GCC in build_xm_file.
2819 # Save data on host machine in vars host_xm_file and host_xmake_file.
2820 if [[ x$pass1done = x ]]
2822 if [[ x"$xm_file" = x ]]
2823 then build_xm_file=$cpu_type/xm-$cpu_type.h
2824 else build_xm_file=$xm_file
2826 build_xm_defines=$xm_defines
2827 build_install_headers_dir=$install_headers_dir
2828 build_exeext=$exeext
2831 if [[ x$pass2done = x ]]
2833 if [[ x"$xm_file" = x ]]
2834 then host_xm_file=$cpu_type/xm-$cpu_type.h
2835 else host_xm_file=$xm_file
2837 host_xm_defines=$xm_defines
2838 if [[ x"$xmake_file" = x ]]
2839 then xmake_file=$cpu_type/x-$cpu_type
2841 host_xmake_file="$xmake_file"
2842 host_truncate_target=$truncate_target
2843 host_extra_gcc_objs=$extra_gcc_objs
2844 host_extra_objs=$extra_host_objs
2851 extra_objs="${host_extra_objs} ${extra_objs}"
2853 # Default the target-machine variables that were not explicitly set.
2854 if [[ x"$tm_file" = x ]]
2855 then tm_file=$cpu_type/$cpu_type.h; fi
2857 if [[ x$extra_headers = x ]]
2858 then extra_headers=; fi
2860 if [[ x"$xm_file" = x ]]
2861 then xm_file=$cpu_type/xm-$cpu_type.h; fi
2863 if [[ x$md_file = x ]]
2864 then md_file=$cpu_type/$cpu_type.md; fi
2866 if [[ x$out_file = x ]]
2867 then out_file=$cpu_type/$cpu_type.c; fi
2869 if [[ x"$tmake_file" = x ]]
2870 then tmake_file=$cpu_type/t-$cpu_type
2873 if [[ x$float_format = x ]]
2874 then float_format=i64
2877 if [[ x$enable_haifa = x ]]
2880 alpha*-* | hppa1.?-* | powerpc*-* | rs6000-*)
2885 # Say what files are being used for the output code and MD file.
2886 echo "Using \`$srcdir/config/$out_file' to output insns."
2887 echo "Using \`$srcdir/config/$md_file' as machine description file."
2890 for f in $tm_file; do
2893 if [[ $count = ax ]]; then
2894 echo "Using \`$srcdir/config/$tm_file' as target machine macro file."
2896 echo "Using the following target machine macro files:"
2897 for f in $tm_file; do
2898 echo " $srcdir/config/$f"
2903 for f in $host_xm_file; do
2906 if [[ $count = ax ]]; then
2907 echo "Using \`$srcdir/config/$host_xm_file' as host machine macro file."
2909 echo "Using the following host machine macro files:"
2910 for f in $host_xm_file; do
2911 echo " $srcdir/config/$f"
2915 if [[ "$host_xm_file" != "$build_xm_file" ]]; then
2917 for f in $build_xm_file; do
2920 if [[ $count = ax ]]; then
2921 echo "Using \`$srcdir/config/$build_xm_file' as build machine macro file."
2923 echo "Using the following build machine macro files:"
2924 for f in $build_xm_file; do
2925 echo " $srcdir/config/$f"
2930 if [[ x$thread_file = x ]]; then
2931 if [[ x$target_thread_file != x ]]; then
2932 thread_file=$target_thread_file
2934 thread_file='single'
2938 # Set up the header files.
2939 # $links is the list of header files to create.
2940 # $vars is the list of shell variables with file names to include.
2941 # auto-conf.h is the file containing items generated by autoconf and is
2942 # the first file included by config.h.
2944 host_xm_file="auto-config.h ${host_xm_file}"
2946 # If host=build, it is correct to have hconfig include auto-conf.h
2947 # as well. If host!=build, we are in error and need to do more
2948 # work to find out the build config parameters.
2949 if [[ x$host = x$build ]]
2951 build_xm_file="auto-config.h ${build_xm_file}"
2954 vars="host_xm_file tm_file xm_file build_xm_file"
2955 links="config.h tm.h tconfig.h hconfig.h"
2956 defines="host_xm_defines null_defines xm_defines build_xm_defines"
2959 if [[ -f config.status ]]; then mv -f config.status config.bak; fi
2962 while [[ -n "$vars" ]]
2964 set $vars; var=$1; shift; vars=$*
2965 set $links; link=$1; shift; links=$*
2966 set $defines; define=$1; shift; defines=$*
2970 # Define TARGET_CPU_DEFAULT if the system wants one.
2971 # This substitutes for lots of *.h files.
2972 if [[ "$target_cpu_default" != "" -a $link = tm.h ]]
2974 echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
2977 for file in `eval echo '$'$var`; do
2978 echo "#include \"$file\"" >>$link
2981 for def in `eval echo '$'$define`; do
2982 echo "#ifndef $def" >>$link
2983 echo "#define $def" >>$link
2984 echo "#endif" >>$link
2988 # Truncate the target if necessary
2989 if [[ x$host_truncate_target != x ]]; then
2990 target=`echo $target | sed -e 's/\(..............\).*/\1/'`
2993 # Get the version number from the toplevel
2994 version=`sed -e 's/.*\"\([[^ \"]]*\)[[ \"]].*/\1/' < ${srcdir}/version.c`
2996 # Get an absolute path to the GCC top-level source directory
3002 # Conditionalize the makefile for this host machine.
3003 # Make-host contains the concatenation of all host makefile fragments
3004 # [there can be more than one]. This file is built by configure.frag.
3005 host_overrides=Make-host
3006 dep_host_xmake_file=
3007 for f in .. ${host_xmake_file}
3009 if [[ -f ${srcdir}/config/$f ]]
3011 dep_host_xmake_file="${dep_host_xmake_file} ${srcdir}/config/$f"
3015 # Conditionalize the makefile for this target machine.
3016 # Make-target contains the concatenation of all host makefile fragments
3017 # [there can be more than one]. This file is built by configure.frag.
3018 target_overrides=Make-target
3020 for f in .. ${tmake_file}
3022 if [[ -f ${srcdir}/config/$f ]]
3024 dep_tmake_file="${dep_tmake_file} ${srcdir}/config/$f"
3028 # If the host doesn't support symlinks, modify CC in
3029 # FLAGS_TO_PASS so CC="stage1/xgcc -Bstage1/" works.
3030 # Otherwise, we can use "CC=$(CC)".
3032 if $symbolic_link $srcdir/gcc.c symtest.tem 2>/dev/null
3034 cc_set_by_configure="\$(CC)"
3035 stage_prefix_set_by_configure="\$(STAGE_PREFIX)"
3038 if cp -p $srcdir/gcc.c symtest.tem 2>/dev/null
3040 symbolic_link="cp -p"
3044 cc_set_by_configure="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`"
3045 stage_prefix_set_by_configure="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`"
3049 out_object_file=`basename $out_file .c`.o
3052 for f in $tm_file; do
3053 tm_file_list="${tm_file_list} \$(srcdir)/config/$f"
3057 for f in $host_xm_file; do
3058 if test $f != "auto-config.h"; then
3059 host_xm_file_list="${host_xm_file_list} \$(srcdir)/config/$f"
3061 host_xm_file_list="${host_xm_file_list} auto-config.h"
3066 for f in $build_xm_file; do
3067 if test $f != "auto-config.h"; then
3068 build_xm_file_list="${build_xm_file_list} \$(srcdir)/config/$f"
3070 build_xm_file_list="${build_xm_file_list} auto-config.h"
3074 # Define macro CROSS_COMPILE in compilation
3075 # if this is a cross-compiler.
3076 # Also use all.cross instead of all.internal
3077 # and add cross-make to Makefile.
3078 cross_overrides="/dev/null"
3079 if [[ x$host != x$target ]]
3081 cross_defines="CROSS=-DCROSS_COMPILE"
3082 cross_overrides="${topdir}/cross-make"
3085 # When building gcc with a cross-compiler, we need to fix a few things.
3086 # This must come after cross-make as we want all.build to override
3088 build_overrides="/dev/null"
3089 if [[ x$build != x$host ]]
3091 build_overrides="${topdir}/build-make"
3094 # Expand extra_headers to include complete path.
3095 # This substitutes for lots of t-* files.
3097 if [[ "x$extra_headers" = x ]]
3100 # Prepend ${srcdir}/ginclude/ to every entry in extra_headers.
3101 for file in $extra_headers;
3103 extra_headers_list="${extra_headers_list} \$(srcdir)/ginclude/${file}"
3107 # Add a definition of USE_COLLECT2 if system wants one.
3108 # Also tell toplev.c what to do.
3109 # This substitutes for lots of t-* files.
3110 if [[ x$use_collect2 = x ]]
3115 will_use_collect2="ld"
3116 maybe_use_collect2="-DUSE_COLLECT2"
3120 # Set MD_DEPS if the real md file is in md.pre-cpp.
3121 # Set MD_CPP to the cpp to pass the md file through. Md files use ';'
3122 # for line oriented comments, so we must always use a GNU cpp. If
3123 # building gcc with a cross compiler, use the cross compiler just
3124 # built. Otherwise, we can use the cpp just built.
3126 if [[ "x$md_cppflags" = x ]]
3128 md_file_sub=$srcdir/config/$md_file
3133 # If we have gas in the build tree, make a link to it.
3134 if [[ -f ../gas/Makefile ]]; then
3135 rm -f as; $symbolic_link ../gas/as-new$host_exeext as$host_exeext 2>/dev/null
3138 # If we have ld in the build tree, make a link to it.
3139 if [[ -f ../ld/Makefile ]]; then
3140 # if [[ x$use_collect2 = x ]]; then
3141 # rm -f ld; $symbolic_link ../ld/ld-new$host_exeext ld$host_exeext 2>/dev/null
3143 rm -f collect-ld; $symbolic_link ../ld/ld-new$host_exeext collect-ld$host_exeext 2>/dev/null
3147 # Figure out what language subdirectories are present.
3149 for lang in ${srcdir}/*/config-lang.in ..
3153 # The odd quoting in the next line works around
3154 # an apparent bug in bash 1.12 on linux.
3155 ${srcdir}/[[*]]/config-lang.in) ;;
3156 *) subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([[^/]]*\)/config-lang.in$,\1,'`" ;;
3160 # Make gthr-default.h if we have a thread file.
3162 if [[ $thread_file != single ]]; then
3163 rm -f gthr-default.h
3164 echo "#include \"gthr-${thread_file}.h\"" > gthr-default.h
3165 gthread_flags=-DHAVE_GTHR_DEFAULT
3167 AC_SUBST(gthread_flags)
3169 # Make empty files to contain the specs and options for each language.
3170 # Then add #include lines to for a compiler that has specs and/or options.
3174 rm -f specs.h options.h
3175 touch specs.h options.h
3176 for subdir in . $subdirs
3178 if [[ -f $srcdir/$subdir/lang-specs.h ]]; then
3179 echo "#include \"$subdir/lang-specs.h\"" >>specs.h
3180 lang_specs_files="$lang_specs_files $srcdir/$subdir/lang-specs.h"
3182 if [[ -f $srcdir/$subdir/lang-options.h ]]; then
3183 echo "#include \"$subdir/lang-options.h\"" >>options.h
3184 lang_options_files="$lang_options_files $srcdir/$subdir/lang-options.h"
3188 # These (without "all_") are set in each config-lang.in.
3189 # `language' must be a single word so is spelled singularly.
3195 all_outputs=Makefile
3196 # List of language makefile fragments.
3201 # Add the language fragments.
3202 # Languages are added via two mechanisms. Some information must be
3203 # recorded in makefile variables, these are defined in config-lang.in.
3204 # We accumulate them and plug them into the main Makefile.
3205 # The other mechanism is a set of hooks for each of the main targets
3206 # like `clean', `install', etc.
3208 language_fragments="Make-lang"
3209 language_hooks="Make-hooks"
3212 for s in .. $subdirs
3224 . ${srcdir}/$s/config-lang.in
3225 if [[ "x$language" = x ]]
3227 echo "${srcdir}/$s/config-lang.in doesn't set \$language." 1>&2
3230 all_lang_makefiles="$all_lang_makefiles ${srcdir}/$s/Make-lang.in ${srcdir}/$s/Makefile.in"
3231 all_languages="$all_languages $language"
3232 if [[ "x$boot_language" = xyes ]]
3234 all_boot_languages="$all_boot_languages $language"
3236 all_compilers="$all_compilers $compilers"
3237 all_stagestuff="$all_stagestuff $stagestuff"
3238 all_diff_excludes="$all_diff_excludes $diff_excludes"
3239 all_headers="$all_headers $headers"
3240 all_outputs="$all_outputs $outputs"
3241 if [[ x$outputs = x ]]
3243 oldstyle_subdirs="$oldstyle_subdirs $s"
3245 all_lib2funcs="$all_lib2funcs $lib2funcs"
3249 # Since we can't use `::' targets, we link each language in
3250 # with a set of hooks, reached indirectly via lang.${target}.
3254 target_list="all.build all.cross start.encap rest.encap \
3256 install-normal install-common install-info install-man \
3258 mostlyclean clean distclean extraclean maintainer-clean \
3259 stage1 stage2 stage3 stage4"
3260 for t in $target_list
3263 for l in .. $all_languages
3265 if [[ $l != ".." ]]; then
3269 echo "lang.$t: $x" >> Make-hooks
3272 # If we're not building in srcdir, create .gdbinit.
3274 if [[ ! -f Makefile.in ]]; then
3275 echo "dir ." > .gdbinit
3276 echo "dir ${srcdir}" >> .gdbinit
3277 if [[ x$gdb_needs_out_file_path = xyes ]]
3279 echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
3281 if [[ "x$subdirs" != x ]]; then
3284 echo "dir ${srcdir}/$s" >> .gdbinit
3287 echo "source ${srcdir}/.gdbinit" >> .gdbinit
3290 # If this is using newlib, then define inhibit_libc in
3291 # LIBGCC2_CFLAGS. This will cause __eprintf to be left out of
3292 # libgcc.a, but that's OK because newib should have its own version of
3295 if [[ x$with_newlib = xyes ]]; then
3296 inhibit_libc=-Dinhibit_libc
3298 AC_SUBST(inhibit_libc)
3300 # Override SCHED_OBJ and SCHED_CFLAGS to enable the Haifa scheduler.
3303 if [[ x$enable_haifa = xyes ]]; then
3304 echo "Using the Haifa scheduler."
3306 sched_cflags=-DHAIFA
3308 AC_SUBST(sched_prefix)
3309 AC_SUBST(sched_cflags)
3310 if [[ x$enable_haifa != x ]]; then
3311 # Explicitly remove files that need to be recompiled for the Haifa scheduler.
3312 for x in genattrtab.o toplev.o loop.o unroll.o *sched.o; do
3313 if [[ -f $x ]]; then
3320 # Process the language and host/target makefile fragments.
3321 ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag $srcdir "$subdirs" "$dep_host_xmake_file" "$dep_tmake_file"
3323 # Substitute configuration variables
3325 AC_SUBST(all_languages)
3326 AC_SUBST(all_boot_languages)
3327 AC_SUBST(all_compilers)
3328 AC_SUBST(all_lang_makefiles)
3329 AC_SUBST(all_stagestuff)
3330 AC_SUBST(all_diff_excludes)
3331 AC_SUBST(all_lib2funcs)
3332 AC_SUBST(all_headers)
3333 AC_SUBST(extra_passes)
3334 AC_SUBST(extra_programs)
3335 AC_SUBST(extra_parts)
3336 AC_SUBST(extra_c_objs)
3337 AC_SUBST(extra_c_flags)
3338 AC_SUBST(extra_objs)
3339 AC_SUBST(host_extra_gcc_objs)
3340 AC_SUBST(extra_headers_list)
3341 AC_SUBST(dep_host_xmake_file)
3342 AC_SUBST(dep_tmake_file)
3344 AC_SUBST(out_object_file)
3346 AC_SUBST(tm_file_list)
3347 AC_SUBST(build_xm_file_list)
3348 AC_SUBST(host_xm_file_list)
3349 AC_SUBST(lang_specs_files)
3350 AC_SUBST(lang_options_files)
3351 AC_SUBST(thread_file)
3353 AC_SUBST(local_prefix)
3354 AC_SUBST(gxx_include_dir)
3355 AC_SUBST(fixincludes)
3356 AC_SUBST(build_install_headers_dir)
3357 AC_SUBST(build_exeext)
3358 AC_SUBST(host_exeext)
3359 AC_SUBST(float_format)
3360 AC_SUBST(will_use_collect2)
3361 AC_SUBST(maybe_use_collect2)
3362 AC_SUBST(cc_set_by_configure)
3363 AC_SUBST(stage_prefix_set_by_configure)
3365 AC_SUBST(symbolic_link)
3367 AC_SUBST_FILE(target_overrides)
3368 AC_SUBST_FILE(host_overrides)
3369 AC_SUBST(cross_defines)
3370 AC_SUBST_FILE(cross_overrides)
3371 AC_SUBST_FILE(build_overrides)
3372 AC_SUBST_FILE(language_fragments)
3373 AC_SUBST_FILE(language_hooks)
3375 # Echo that links are built
3376 if [[ x$host = x$target ]]
3384 if [[ x$host != x$build ]]
3386 str3=" on a $build system"
3389 if [[ "x$str2" != x ]] || [[ "x$str3" != x ]]
3394 echo "Links are now set up to build a ${str1}compiler for ${target}$str4" 1>&2
3396 if [[ "x$str2" != x ]] || [[ "x$str3" != x ]]
3398 echo " ${str2}${str3}." 1>&2
3401 # Truncate the target if necessary
3402 if [[ x$host_truncate_target != x ]]; then
3403 target=`echo $target | sed -e 's/\(..............\).*/\1/'`
3406 # Configure the subdirectories
3407 # AC_CONFIG_SUBDIRS($subdirs)
3409 # Create the Makefile
3410 # and configure language subdirectories
3411 AC_OUTPUT($all_outputs,
3413 . $srcdir/configure.lang
3414 case x$CONFIG_HEADERS in
3415 xauto-config.h:config.in)
3418 # If the host supports symlinks, point stage[1234] at ../stage[1234] so
3419 # bootstrapping and the installation procedure can still use
3420 # CC="stage1/xgcc -Bstage1/". If the host doesn't support symlinks,
3421 # FLAGS_TO_PASS has been modified to solve the problem there.
3422 # This is virtually a duplicate of what happens in configure.lang; we do
3423 # an extra check to make sure this only happens if ln -s can be used.
3424 if [[ "$symbolic_link" = "ln -s" ]]; then
3425 for d in .. ${subdirs} ; do
3426 if [[ $d != .. ]]; then
3429 for t in stage1 stage2 stage3 stage4 include
3432 $symbolic_link ../$t $t 2>/dev/null
3443 target_alias='${target_alias}'
3445 subdirs='${subdirs}'
3446 oldstyle_subdirs='${oldstyle_subdirs}'
3447 symbolic_link='${symbolic_link}'
3448 program_transform_set='${program_transform_set}'
3449 program_transform_name='${program_transform_name}'
3450 dep_host_xmake_file='${dep_host_xmake_file}'
3451 host_xmake_file='${host_xmake_file}'
3452 dep_tmake_file='${dep_tmake_file}'
3453 tmake_file='${tmake_file}'
3454 thread_file='${thread_file}'
3455 version='${version}'
3456 local_prefix='${local_prefix}'
3457 build_install_headers_dir='${build_install_headers_dir}'
3458 build_exeext='${build_exeext}'
3459 host_exeext='${host_exeext}'
3460 out_file='${out_file}'
3461 gdb_needs_out_file_path='${gdb_needs_out_file_path}'
3462 SET_MAKE='${SET_MAKE}'
3463 target_list='${target_list}'
3464 target_overrides='${target_overrides}'
3465 host_overrides='${host_overrides}'
3466 cross_defines='${cross_defines}'
3467 cross_overrides='${cross_overrides}'
3468 build_overrides='${build_overrides}'