1 # configure.in for GNU CC
2 # Process this file with autoconf to generate a configuration script.
4 # Copyright (C) 1997, 1998, 1999 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
26 AC_CONFIG_HEADER(auto-host.h:config.in)
33 # Check for bogus environment variables.
34 # Test if LIBRARY_PATH contains the notation for the current directory
35 # since this would lead to problems installing/building glibc.
36 # LIBRARY_PATH contains the current directory if one of the following
38 # - one of the terminals (":" and ";") is the first or last sign
39 # - two terminals occur directly after each other
40 # - the path contains an element with a dot in it
41 AC_MSG_CHECKING(LIBRARY_PATH variable)
43 case ${LIBRARY_PATH} in
44 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
45 library_path_setting="contains current directory"
48 library_path_setting="ok"
52 AC_MSG_RESULT($library_path_setting)
53 if test "$library_path_setting" != "ok"; then
55 *** LIBRARY_PATH shouldn't contain the current directory when
56 *** building egcs. Please change the environment variable
57 *** and run configure again.])
60 # Test if GCC_EXEC_PREFIX contains the notation for the current directory
61 # since this would lead to problems installing/building glibc.
62 # GCC_EXEC_PREFIX contains the current directory if one of the following
64 # - one of the terminals (":" and ";") is the first or last sign
65 # - two terminals occur directly after each other
66 # - the path contains an element with a dot in it
67 AC_MSG_CHECKING(GCC_EXEC_PREFIX variable)
69 case ${GCC_EXEC_PREFIX} in
70 [:\;]* | *[:\;] | *[:\;][:\;]* | *[:\;]. | .[:\;]*| . | *[:\;].[:\;]* )
71 gcc_exec_prefix_setting="contains current directory"
74 gcc_exec_prefix_setting="ok"
78 AC_MSG_RESULT($gcc_exec_prefix_setting)
79 if test "$gcc_exec_prefix_setting" != "ok"; then
81 *** GCC_EXEC_PREFIX shouldn't contain the current directory when
82 *** building egcs. Please change the environment variable
83 *** and run configure again.])
86 # Check for additional parameters
90 [ --with-gnu-ld arrange to work with GNU ld.],
91 gnu_ld_flag="$with_gnu_ld",
96 [ --with-ld arrange to use the specified ld (full pathname).],
97 DEFAULT_LINKER="$with_ld")
98 if test x"${DEFAULT_LINKER+set}" = x"set"; then
99 if test ! -x "$DEFAULT_LINKER"; then
100 AC_MSG_WARN([cannot execute: $DEFAULT_LINKER: check --with-ld or env. var. DEFAULT_LINKER])
101 elif $DEFAULT_LINKER -v < /dev/null 2>&1 | grep GNU > /dev/null; then
104 AC_DEFINE_UNQUOTED(DEFAULT_LINKER,"$DEFAULT_LINKER")
109 [ --with-gnu-as arrange to work with GNU as.],
110 gas_flag="$with_gnu_as",
114 [ --with-as arrange to use the specified as (full pathname).],
115 DEFAULT_ASSEMBLER="$with_as")
116 if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
117 if test ! -x "$DEFAULT_ASSEMBLER"; then
118 AC_MSG_WARN([cannot execute: $DEFAULT_ASSEMBLER: check --with-as or env. var. DEFAULT_ASSEMBLER])
119 elif $DEFAULT_ASSEMBLER -v < /dev/null 2>&1 | grep GNU > /dev/null; then
122 AC_DEFINE_UNQUOTED(DEFAULT_ASSEMBLER,"$DEFAULT_ASSEMBLER")
127 [ --with-stabs arrange to use stabs instead of host debug format.],
133 [ --with-elf arrange to use ELF instead of host debug format.],
137 # Specify the local prefix
139 AC_ARG_WITH(local-prefix,
140 [ --with-local-prefix=DIR specifies directory to put local include.],
141 [case "${withval}" in
142 yes) AC_MSG_ERROR(bad value ${withval} given for local include directory prefix) ;;
144 *) local_prefix=$with_local_prefix ;;
147 # Default local prefix if it is empty
148 if test x$local_prefix = x; then
149 local_prefix=/usr/local
152 # Don't set gcc_gxx_include_dir to gxx_include_dir since that's only
153 # passed in by the toplevel make and thus we'd get different behavior
154 # depending on where we built the sources.
156 # Specify the g++ header file directory
157 AC_ARG_WITH(gxx-include-dir,
158 [ --with-gxx-include-dir=DIR
159 specifies directory to put g++ header files.],
160 [case "${withval}" in
161 yes) AC_MSG_ERROR(bad value ${withval} given for g++ include directory) ;;
163 *) gcc_gxx_include_dir=$with_gxx_include_dir ;;
166 if test x${gcc_gxx_include_dir} = x; then
167 if test x${enable_version_specific_runtime_libs} = xyes; then
168 gcc_gxx_include_dir='${libsubdir}/include/g++'
170 topsrcdir=${srcdir}/.. . ${srcdir}/../config.if
171 changequote(<<, >>)dnl
172 gcc_gxx_include_dir="\$(libsubdir)/\$(unlibsubdir)/..\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/[^/]*|/..|g'\`/include/g++"-${libstdcxx_interface}
177 # Enable expensive internal checks
178 AC_ARG_ENABLE(checking,
179 [ --enable-checking enable expensive run-time checks.],
180 [case "${enableval}" in
181 yes) AC_DEFINE(ENABLE_CHECKING) ;;
183 *) AC_MSG_ERROR(bad value ${enableval} given for checking option) ;;
186 # Use cpplib+cppmain for the preprocessor, but don't link it with the compiler.
188 AC_ARG_ENABLE(cpplib,
189 [ --enable-cpplib use cpplib for the C preprocessor.],
190 if test x$enable_cpplib != xno; then
194 # Link cpplib into the compiler proper, for C/C++/ObjC.
195 AC_ARG_ENABLE(c-cpplib,
196 [ --enable-c-cpplib link cpplib directly into C and C++ compilers
197 (implies --enable-cpplib).],
198 if test x$enable_c_cpplib != xno; then
199 extra_c_objs="${extra_c_objs} libcpp.a"
200 extra_cxx_objs="${extra_cxx_objs} ../libcpp.a"
201 extra_c_flags="${extra_c_flags} -DUSE_CPPLIB=1"
205 # Enable Multibyte Characters for C/C++
206 AC_ARG_ENABLE(c-mbchar,
207 [ --enable-c-mbchar enable multibyte characters for C and C++.],
208 if test x$enable_c_mbchar != xno; then
209 extra_c_flags=-DMULTIBYTE_CHARS=1
212 # Disable fast fixincludes
213 AC_ARG_ENABLE(fast-fixincludes,
214 [ --disable-fast-fixincludes
215 Disable the new fast fixincludes.
216 Run the old fixincludes script unconditionally],
217 if test x$enable_fast_fixincludes = xno ; then
218 cp $srcdir/fixincludes ./fixinc.sh
221 # Enable Haifa scheduler.
223 [ --enable-haifa use the experimental scheduler.
224 --disable-haifa don't use the experimental scheduler for the
225 targets which normally enable it.])
228 # Pass with no value to take the default
229 # Pass with a value to specify a thread package
230 AC_ARG_ENABLE(threads,
231 [ --enable-threads enable thread usage for target GCC.
232 --enable-threads=LIB use LIB thread package for target GCC.],
233 if test x$enable_threads = xno; then
238 enable_threads_flag=$enable_threads
239 # Check if a valid thread package
240 case x${enable_threads_flag} in
243 target_thread_file='single'
247 target_thread_file=''
249 xdecosf1 | xirix | xmach | xos2 | xposix | xpthreads | xsingle | \
250 xsolaris | xwin32 | xdce | xvxworks)
251 target_thread_file=$enable_threads_flag
254 echo "$enable_threads is an unknown thread package" 1>&2
259 AC_ARG_ENABLE(objc-gc,
260 [ --enable-objc-gc enable the use of Boehm's garbage collector with
261 the GNU Objective-C runtime.],
262 if [[[ x$enable_objc_gc = xno ]]]; then
269 AC_ARG_ENABLE(java-gc,
270 changequote(<<,>>)dnl
271 << --enable-java-gc=TYPE choose garbage collector [boehm]>>,
277 [ --enable-dwarf2 enable DWARF2 debugging as default.],
278 dwarf2="$with_dwarf2",
281 # Determine the host, build, and target systems
284 # Find the native compiler
287 # If the native compiler is GCC, we can enable warnings even in stage1.
288 # That's useful for people building cross-compilers, or just running a
290 if test "x$GCC" = "xyes"; then
291 stage1_warn_cflags='$(WARN_CFLAGS)'
293 stage1_warn_cflags=""
295 AC_SUBST(stage1_warn_cflags)
299 AC_MSG_CHECKING([whether a default assembler was specified])
300 if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
301 if test x"$gas_flag" = x"no"; then
302 AC_MSG_RESULT([yes ($DEFAULT_ASSEMBLER)])
304 AC_MSG_RESULT([yes ($DEFAULT_ASSEMBLER - GNU as)])
310 AC_MSG_CHECKING([whether a default linker was specified])
311 if test x"${DEFAULT_LINKER+set}" = x"set"; then
312 if test x"$gnu_ld_flag" = x"no"; then
313 AC_MSG_RESULT([yes ($DEFAULT_LINKER)])
315 AC_MSG_RESULT([yes ($DEFAULT_LINKER - GNU ld)])
321 # Find some useful tools
335 AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h fcntl.h unistd.h stab.h sys/file.h sys/time.h sys/resource.h sys/param.h sys/times.h sys/stat.h direct.h)
337 # Check for thread headers.
338 AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])
339 AC_CHECK_HEADER(pthread.h, [have_pthread_h=yes], [have_pthread_h=])
341 # See if GNAT has been installed
342 AC_CHECK_PROG(gnat, gnatbind, yes, no)
344 # See if the system preprocessor understands the ANSI C preprocessor
345 # stringification operator.
346 AC_MSG_CHECKING(whether cpp understands the stringify operator)
347 AC_CACHE_VAL(gcc_cv_c_have_stringify,
350 char *test = S(foo);],
351 gcc_cv_c_have_stringify=yes, gcc_cv_c_have_stringify=no)])
352 AC_MSG_RESULT($gcc_cv_c_have_stringify)
353 if test $gcc_cv_c_have_stringify = yes; then
354 AC_DEFINE(HAVE_CPP_STRINGIFY)
357 # Use <inttypes.h> only if it exists,
358 # doesn't clash with <sys/types.h>, and declares intmax_t.
359 AC_MSG_CHECKING(for inttypes.h)
360 AC_CACHE_VAL(gcc_cv_header_inttypes_h,
362 [#include <sys/types.h>
363 #include <inttypes.h>],
365 [gcc_cv_header_inttypes_h=yes],
366 gcc_cv_header_inttypes_h=no)])
367 AC_MSG_RESULT($gcc_cv_header_inttypes_h)
368 if test $gcc_cv_header_inttypes_h = yes; then
369 AC_DEFINE(HAVE_INTTYPES_H)
372 AC_CHECK_FUNCS(strtoul bsearch strerror putenv popen bcopy bzero bcmp \
373 index rindex strchr strrchr kill getrlimit setrlimit atoll atoq \
374 sysconf isascii gettimeofday strsignal putc_unlocked fputc_unlocked \
377 # Make sure wchar_t is available
378 #AC_CHECK_TYPE(wchar_t, unsigned int)
380 GCC_FUNC_VFPRINTF_DOPRNT
385 # Under some versions of uwin, vfork is notoriously buggy and the test
386 # can hang configure; on other versions, vfork exists just as a stub.
387 # FIXME: This should be removed once vfork in uwin's runtime is fixed.
388 ac_cv_func_vfork_works=no
393 GCC_NEED_DECLARATIONS(malloc realloc calloc free bcopy bzero bcmp \
394 index rindex getenv atol sbrk abort atof strerror getcwd getwd \
395 strsignal putc_unlocked fputs_unlocked)
397 GCC_NEED_DECLARATIONS(getrlimit setrlimit, [
398 #include <sys/types.h>
399 #ifdef HAVE_SYS_RESOURCE_H
400 #include <sys/resource.h>
406 # mkdir takes a single argument on some systems.
407 GCC_FUNC_MKDIR_TAKES_ONE_ARG
417 build_install_headers_dir=install-headers-tar
422 host_truncate_target=
425 # It is relative to $prefix.
428 # Decode the host machine, then the target machine.
429 # For the host machine, we save the xm_file variable as host_xm_file;
430 # then we decode the target machine and forget everything else
431 # that came from the host machine.
432 for machine in $build $host $target; do
446 # Set this to force installation and use of collect2.
448 # Set this to override the default target model.
450 # Set this to control how the header file directory is installed.
451 install_headers_dir=install-headers-tar
452 # Set this to a non-empty list of args to pass to cpp if the target
453 # wants its .md file passed through cpp.
455 # Set this if directory names should be truncated to 14 characters.
457 # Set this if gdb needs a dir command with `dirname $out_file`
458 gdb_needs_out_file_path=
459 # Set this if the build machine requires executables to have a
462 # Set this to control which thread package will be used.
464 # Reinitialize these from the flag values every loop pass, since some
465 # configure entries modify them.
467 gnu_ld="$gnu_ld_flag"
468 enable_threads=$enable_threads_flag
470 # Set default cpu_type, tm_file and xm_file so it can be updated in
471 # each machine entry.
472 cpu_type=`echo $machine | sed 's/-.*$//'`
508 tm_file=${cpu_type}/${cpu_type}.h
509 xm_file=${cpu_type}/xm-${cpu_type}.h
511 # Common parts for linux-gnu and openbsd systems
514 xm_defines="HAVE_ATEXIT POSIX BSTRING"
517 tm_file=${cpu_type}/openbsd.h
518 tmake_file="t-libc-ok t-openbsd"
519 # avoid surprises, always provide an xm-openbsd file
520 xm_file=${cpu_type}/xm-openbsd.h
521 if test x$enable_threads = xyes; then
523 tmake_file="${tmake_file} t-openbsd-thread"
529 # Support site-specific machine types.
531 cpu_type=`echo $machine | sed -e 's/-.*//'`
532 rest=`echo $machine | sed -e "s/$cpu_type-//"`
533 xm_file=${cpu_type}/xm-$rest.h
534 tm_file=${cpu_type}/$rest.h
535 if test -f $srcdir/config/${cpu_type}/x-$rest; \
536 then xmake_file=${cpu_type}/x-$rest; \
539 if test -f $srcdir/config/${cpu_type}/t-$rest; \
540 then tmake_file=${cpu_type}/t-$rest; \
546 a29k-*-bsd* | a29k-*-sym1*)
547 tm_file="${tm_file} a29k/unix.h"
549 xmake_file=a29k/x-unix
552 a29k-*-udi | a29k-*-coff)
553 tm_file="${tm_file} dbxcoff.h a29k/udi.h"
554 tmake_file=a29k/t-a29kbare
557 tm_file="${tm_file} dbxcoff.h a29k/udi.h a29k/vx29k.h"
558 tmake_file=a29k/t-vx29k
559 extra_parts="crtbegin.o crtend.o"
560 thread_file='vxworks'
562 a29k-*-*) # Default a29k environment.
566 tm_file="${tm_file} alpha/alpha32.h interix.h alpha/alpha-interix.h"
568 # GAS + IEEE_CONFORMANT+IEEE (no inexact);
569 #target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT|MASK_IEEE"
571 # GAS + IEEE_CONFORMANT
572 target_cpu_default="MASK_GAS|MASK_IEEE_CONFORMANT"
574 xm_file="alpha/xm-alpha-interix.h xm-interix.h"
575 xmake_file="x-interix alpha/t-pe"
576 tmake_file="alpha/t-interix"
577 if test x$enable_threads = xyes ; then
580 if test x$stabs = xyes ; then
581 tm_file="${tm_file} dbxcoff.h"
583 #prefix='$$INTERIX_ROOT'/usr/contrib
584 #local_prefix='$$INTERIX_ROOT'/usr/contrib
586 alpha*-*-linux-gnuecoff*)
587 tm_file="${tm_file} alpha/linux-ecoff.h alpha/linux.h"
588 target_cpu_default="MASK_GAS"
593 alpha*-*-linux-gnulibc1*)
594 tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
595 target_cpu_default="MASK_GAS"
596 tmake_file="t-linux t-linux-gnulibc1 alpha/t-linux alpha/t-crtbe"
597 extra_parts="crtbegin.o crtend.o"
600 if test x$enable_threads = xyes; then
605 tm_file="${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h"
606 target_cpu_default="MASK_GAS"
607 tmake_file="t-linux alpha/t-linux alpha/t-crtbe"
608 extra_parts="crtbegin.o crtend.o"
611 if test x$enable_threads = xyes; then
616 tm_file="${tm_file} alpha/elf.h alpha/netbsd.h alpha/netbsd-elf.h"
617 target_cpu_default="MASK_GAS"
618 tmake_file="alpha/t-crtbe"
619 extra_parts="crtbegin.o crtend.o"
625 # default x-alpha is only appropriate for dec-osf.
626 target_cpu_default="MASK_GAS"
631 if test x$stabs = xyes
633 tm_file="${tm_file} dbx.h"
635 if test x$gas != xyes
637 extra_passes="mips-tfile mips-tdump"
642 tm_file="${tm_file} alpha/osf.h alpha/osf12.h alpha/osf2or3.h"
647 tm_file="${tm_file} alpha/osf.h alpha/osf2or3.h"
650 tm_file="${tm_file} alpha/osf.h"
651 # Some versions of OSF4 (specifically X4.0-9 296.7) have
652 # a broken tar, so we use cpio instead.
653 install_headers_dir=install-headers-cpio
658 *-*-osf4.0[b-z] | *-*-osf4.[1-9]*)
660 target_cpu_default=MASK_SUPPORT_ARCH
665 tm_file="${tm_file} dbx.h alpha/vxworks.h"
668 extra_passes="mips-tfile mips-tdump"
671 thread_file='vxworks'
674 tm_file="${tm_file} alpha/alpha32.h alpha/win-nt.h winnt/win-nt.h"
675 xm_file="${xm_file} config/winnt/xm-winnt.h alpha/xm-winnt.h"
677 xmake_file=winnt/x-winnt
678 extra_host_objs=oldnames.o
679 extra_gcc_objs="spawnv.o oldnames.o"
680 if test x$gnu_ld != xyes
682 extra_programs=ld.exe
684 if test x$enable_threads = xyes; then
690 xm_file="${xm_file} alpha/xm-vms.h"
691 tmake_file=alpha/t-vms
694 extra_parts="crtinit.o crtfini.o"
696 arm-*-coff* | armel-*-coff*)
698 tmake_file=arm/t-bare
702 tmake_file=arm/t-bare
703 thread_file='vxworks'
706 arm-*-riscix1.[01]*) # Acorn RISC machine (early versions)
708 tm_file=arm/riscix1-1.h
711 arm-*-riscix*) # Acorn RISC machine
714 tm_file=arm/rix-gas.h
718 xmake_file=arm/x-riscix
719 tmake_file=arm/t-riscix
722 arm-semi-aout | armel-semi-aout)
724 tmake_file=arm/t-semi
726 arm-semi-aof | armel-semi-aof)
727 tm_file=arm/semiaof.h
728 tmake_file=arm/t-semiaof
732 xm_file="arm/xm-netbsd.h ${xm_file}"
733 tmake_file="t-netbsd arm/t-netbsd"
735 arm*-*-linux-gnuaout*) # ARM GNU/Linux with a.out
738 tm_file=arm/linux-aout.h
739 tmake_file=arm/t-linux
742 arm*-*-linux-gnu*) # ARM GNU/Linux with ELF
743 xm_file=arm/xm-linux.h
747 tm_file=arm/linux-elf26.h
750 tm_file=arm/linux-elf.h
753 tmake_file="t-linux arm/t-linux"
754 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
756 case x${enable_threads} in
757 x | xyes | xpthreads | xposix)
764 tmake_file=arm/t-bare
767 tm_file=arm/ecos-elf.h
771 tm_file=arm/unknown-elf.h
772 tmake_file=arm/t-arm-elf
775 tm_file=arm/unknown-elf-oabi.h
776 tmake_file=arm/t-arm-elf
778 c1-convex-*) # Convex C1
782 c2-convex-*) # Convex C2
795 target_cpu_default=16
802 clipper-intergraph-clix*)
803 tm_file="${tm_file} svr3.h clipper/clix.h"
804 xm_file=clipper/xm-clix.h
805 xmake_file=clipper/x-clix
806 extra_headers=va-clipper.h
807 extra_parts="crtbegin.o crtend.o"
808 install_headers_dir=install-headers-cpio
815 # This hasn't been upgraded to GCC 2.
816 # fx80-alliant-*) # Alliant FX/80
822 target_cpu_default="MASK_PA_11"
823 tmake_file=pa/t-openbsd
826 tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h"
827 xm_file=pa/xm-papro.h
831 target_cpu_default="MASK_PA_11"
832 tm_file="${tm_file} pa/pa-osf.h"
836 tm_file="pa/pa-pro.h ${tm_file} pa/pa-pro-end.h libgloss.h pa/rtems.h"
837 xm_file=pa/xm-papro.h
841 tm_file="${tm_file} pa/pa-osf.h"
845 target_cpu_default="MASK_PA_11"
852 tm_file="pa/pa-oldas.h ${tm_file} pa/pa-hpux7.h"
853 xm_file=pa/xm-pahpux.h
854 xmake_file=pa/x-pa-hpux
857 tm_file="${tm_file} pa/gas.h"
859 install_headers_dir=install-headers-cpio
863 hppa1.0-*-hpux8.0[0-2]*)
865 tm_file="${tm_file} pa/pa-hpux.h"
866 xm_file=pa/xm-pahpux.h
867 xmake_file=pa/x-pa-hpux
870 tm_file="${tm_file} pa/pa-gas.h"
872 tm_file="pa/pa-oldas.h ${tm_file}"
874 install_headers_dir=install-headers-cpio
878 hppa1.1-*-hpux8.0[0-2]*)
880 target_cpu_default="MASK_PA_11"
881 tm_file="${tm_file} pa/pa-hpux.h"
882 xm_file=pa/xm-pahpux.h
883 xmake_file=pa/x-pa-hpux
886 tm_file="${tm_file} pa/pa-gas.h"
888 tm_file="pa/pa-oldas.h ${tm_file}"
890 install_headers_dir=install-headers-cpio
894 target_cpu_default="MASK_PA_11"
895 tm_file="${tm_file} pa/pa-hpux.h"
896 xm_file=pa/xm-pahpux.h
897 xmake_file=pa/x-pa-hpux
900 tm_file="${tm_file} pa/pa-gas.h"
902 install_headers_dir=install-headers-cpio
906 tm_file="${tm_file} pa/pa-hpux.h"
907 xm_file=pa/xm-pahpux.h
908 xmake_file=pa/x-pa-hpux
911 tm_file="${tm_file} pa/pa-gas.h"
913 install_headers_dir=install-headers-cpio
916 hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
917 target_cpu_default="MASK_PA_11"
918 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
919 xm_file=pa/xm-pahpux.h
920 xmake_file=pa/x-pa-hpux
924 tm_file="${tm_file} pa/pa-gas.h"
926 if test x$enable_threads = x; then
927 enable_threads=$have_pthread_h
929 if test x$enable_threads = xyes; then
931 tmake_file="${tmake_file} pa/t-dce-thr"
933 install_headers_dir=install-headers-cpio
937 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux10.h"
938 xm_file=pa/xm-pahpux.h
939 xmake_file=pa/x-pa-hpux
943 tm_file="${tm_file} pa/pa-gas.h"
945 if test x$enable_threads = x; then
946 enable_threads=$have_pthread_h
948 if test x$enable_threads = xyes; then
950 tmake_file="${tmake_file} pa/t-dce-thr"
952 install_headers_dir=install-headers-cpio
955 hppa1.1-*-hpux* | hppa2*-*-hpux*)
956 target_cpu_default="MASK_PA_11"
957 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
958 xm_file=pa/xm-pahpux.h
959 xmake_file=pa/x-pa-hpux
962 tm_file="${tm_file} pa/pa-gas.h"
964 install_headers_dir=install-headers-cpio
968 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hpux9.h"
969 xm_file=pa/xm-pahpux.h
970 xmake_file=pa/x-pa-hpux
973 tm_file="${tm_file} pa/pa-gas.h"
975 install_headers_dir=install-headers-cpio
978 hppa1.1-*-hiux* | hppa2*-*-hiux*)
979 target_cpu_default="MASK_PA_11"
980 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
981 xm_file=pa/xm-pahpux.h
982 xmake_file=pa/x-pa-hpux
985 tm_file="${tm_file} pa/pa-gas.h"
987 install_headers_dir=install-headers-cpio
991 tm_file="${tm_file} pa/pa-hpux.h pa/pa-hiux.h"
992 xm_file=pa/xm-pahpux.h
993 xmake_file=pa/x-pa-hpux
996 tm_file="${tm_file} pa/pa-gas.h"
998 install_headers_dir=install-headers-cpio
1002 target_cpu_default="MASK_PA_11"
1008 i[34567]86-ibm-aix*) # IBM PS/2 running AIX
1010 if test x$gas = xyes
1012 tm_file=i386/aix386.h
1013 extra_parts="crtbegin.o crtend.o"
1014 tmake_file=i386/t-crtstuff
1016 tm_file=i386/aix386ng.h
1019 xm_file="xm-alloca.h i386/xm-aix.h ${xm_file}"
1021 xmake_file=i386/x-aix
1024 i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
1026 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
1027 xm_defines="USG POSIX SMALL_ARG_MAX"
1028 xmake_file=i386/x-ncr3000
1029 if test x$stabs = xyes -a x$gas = xyes
1031 tm_file=i386/sysv4gdb.h
1033 tm_file=i386/sysv4.h
1035 extra_parts="crtbegin.o crtend.o"
1036 tmake_file=i386/t-crtpic
1042 xm_file=i386/xm-next.h
1043 tmake_file=i386/t-next
1044 xmake_file=i386/x-next
1045 extra_objs=nextstep.o
1046 extra_parts="crtbegin.o crtend.o"
1047 if test x$enable_threads = xyes; then
1052 i[34567]86-sequent-bsd*) # 80386 from Sequent
1055 if test x$gas = xyes
1057 tm_file=i386/seq-gas.h
1059 tm_file=i386/sequent.h
1063 i[34567]86-sequent-ptx1*)
1065 xm_defines="USG SVR3"
1066 xmake_file=i386/x-sysv3
1067 tm_file=i386/seq-sysv3.h
1068 tmake_file=i386/t-crtstuff
1069 extra_parts="crtbegin.o crtend.o"
1070 install_headers_dir=install-headers-cpio
1073 i[34567]86-sequent-ptx2* | i[34567]86-sequent-sysv3*)
1075 xm_defines="USG SVR3"
1076 xmake_file=i386/x-sysv3
1077 tm_file=i386/seq2-sysv3.h
1078 tmake_file=i386/t-crtstuff
1079 extra_parts="crtbegin.o crtend.o"
1080 install_headers_dir=install-headers-cpio
1083 i[34567]86-sequent-ptx4* | i[34567]86-sequent-sysv4*)
1085 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
1086 xm_defines="USG POSIX SMALL_ARG_MAX"
1088 tm_file=i386/ptx4-i.h
1090 extra_parts="crtbegin.o crtend.o"
1091 install_headers_dir=install-headers-cpio
1093 i386-sun-sunos*) # Sun i386 roadrunner
1099 i[34567]86-wrs-vxworks*)
1101 tm_file=i386/vxi386.h
1102 tmake_file=i386/t-i386bare
1103 thread_file='vxworks'
1108 tm_file=i386/i386-aout.h
1109 tmake_file=i386/t-i386bare
1112 i[34567]86-*-bsdi* | i[34567]86-*-bsd386*)
1114 tm_file=i386/bsd386.h
1115 # tmake_file=t-libc-ok
1120 tm_file=i386/386bsd.h
1121 # tmake_file=t-libc-ok
1122 # Next line turned off because both 386BSD and BSD/386 use GNU ld.
1126 i[34567]86-*-freebsdelf*)
1128 tm_file="i386/i386.h i386/att.h linux.h i386/freebsd-elf.h i386/perform.h"
1129 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1130 tmake_file=i386/t-freebsd
1136 i[34567]86-*-freebsd*)
1138 tm_file=i386/freebsd.h
1139 tmake_file=i386/t-freebsd
1142 i[34567]86-*-netbsd*)
1144 tm_file=i386/netbsd.h
1148 i[34567]86-*-openbsd*)
1150 # Remove when the math emulator is fixed
1151 # we need collect2 until our bug is fixed...
1157 tm_file=i386/i386-coff.h
1158 tmake_file=i386/t-i386bare
1161 i[34567]86-*-isc*) # 80386 running ISC system
1163 xm_file="${xm_file} i386/xm-isc.h"
1164 xm_defines="USG SVR3"
1167 i[34567]86-*-isc[34]*)
1169 xmake_file=i386/x-isc3
1172 xmake_file=i386/x-isc
1175 if test x$gas = xyes -a x$stabs = xyes
1177 tm_file=i386/iscdbx.h
1178 tmake_file=i386/t-svr3dbx
1179 extra_parts="svr3.ifile svr3z.ifile"
1181 tm_file=i386/isccoff.h
1182 tmake_file=i386/t-crtstuff
1183 extra_parts="crtbegin.o crtend.o"
1185 install_headers_dir=install-headers-cpio
1188 i[34567]86-*-linux-gnuoldld*) # Intel 80386's running GNU/Linux
1189 changequote([,])dnl # with a.out format using
1191 xmake_file=x-linux-aout
1192 tmake_file="t-linux-aout i386/t-crtstuff"
1193 tm_file=i386/linux-oldld.h
1198 i[34567]86-*-linux-gnuaout*) # Intel 80386's running GNU/Linux
1199 changequote([,])dnl # with a.out format
1200 xmake_file=x-linux-aout
1201 tmake_file="t-linux-aout i386/t-crtstuff"
1202 tm_file=i386/linux-aout.h
1207 i[34567]86-*-linux-gnulibc1) # Intel 80386's running GNU/Linux
1208 changequote([,])dnl # with ELF format using the
1209 # GNU/Linux C library 5
1211 tm_file=i386/linux.h
1212 tmake_file="t-linux t-linux-gnulibc1 i386/t-crtstuff"
1213 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1216 if test x$enable_threads = xyes; then
1217 thread_file='single'
1221 i[34567]86-*-linux-gnu*) # Intel 80386's running GNU/Linux
1222 changequote([,])dnl # with ELF format using glibc 2
1223 # aka GNU/Linux C library 6
1225 tm_file=i386/linux.h
1226 tmake_file="t-linux i386/t-crtstuff"
1227 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
1230 if test x$enable_threads = xyes; then
1240 i[34567]86-go32-msdos | i[34567]86-*-go32*)
1242 echo "GO32/DJGPP V1.X is no longer supported. Use *-pc-msdosdjgpp for DJGPP V2.X instead."
1246 i[34567]86-pc-msdosdjgpp*)
1248 xm_file=i386/xm-djgpp.h
1249 tm_file=i386/djgpp.h
1250 tmake_file=i386/t-djgpp
1251 xmake_file=i386/x-djgpp
1255 case $host in *pc-msdosdjgpp*)
1261 i[34567]86-moss-msdos* | i[34567]86-*-moss*)
1264 tmake_file=t-libc-ok
1269 i[34567]86-*-lynxos*)
1271 if test x$gas = xyes
1275 tm_file=i386/lynx-ng.h
1277 xm_file=i386/xm-lynx.h
1278 tmake_file=i386/t-i386bare
1285 # tmake_file=t-libc-ok
1289 i[34567]86-*-osfrose*) # 386 using OSF/rose
1291 if test x$elf = xyes
1293 tm_file=i386/osfelf.h
1296 tm_file=i386/osfrose.h
1299 xm_file="i386/xm-osf.h ${xm_file}"
1300 xmake_file=i386/x-osfrose
1301 tmake_file=i386/t-osf
1302 extra_objs=halfpic.o
1305 i[34567]86-go32-rtems*)
1308 xm_file=i386/xm-go32.h
1309 tm_file=i386/go32-rtems.h
1310 tmake_file="i386/t-go32 t-rtems"
1313 i[34567]86-*-rtemself*)
1316 tm_file=i386/rtemself.h
1317 tmake_file="i386/t-i386bare t-rtems"
1320 i[34567]86-*-rtems*)
1323 tm_file=i386/rtems.h
1324 tmake_file="i386/t-i386bare t-rtems"
1327 i[34567]86-*-sco3.2v5*) # 80386 running SCO Open Server 5
1329 xm_file="xm-siglist.h xm-alloca.h ${xm_file} i386/xm-sco5.h"
1330 xm_defines="USG SVR3"
1331 xmake_file=i386/x-sco5
1332 install_headers_dir=install-headers-cpio
1334 if test x$gas = xyes
1336 tm_file="i386/sco5gas.h ${tm_file}"
1337 tmake_file=i386/t-sco5gas
1339 tmake_file=i386/t-sco5
1341 extra_parts="crti.o crtbegin.o crtend.o crtbeginS.o crtendS.o"
1344 i[34567]86-*-sco3.2v4*) # 80386 running SCO 3.2v4 system
1346 xm_file="${xm_file} i386/xm-sco.h"
1347 xm_defines="USG SVR3 BROKEN_LDEXP SMALL_ARG_MAX NO_SYS_SIGLIST"
1348 xmake_file=i386/x-sco4
1349 install_headers_dir=install-headers-cpio
1350 if test x$stabs = xyes
1352 tm_file=i386/sco4dbx.h
1353 tmake_file=i386/t-svr3dbx
1354 extra_parts="svr3.ifile svr3z.rfile"
1357 tmake_file=i386/t-crtstuff
1358 extra_parts="crtbegin.o crtend.o"
1363 i[34567]86-*-sco*) # 80386 running SCO system
1365 xm_file=i386/xm-sco.h
1366 xmake_file=i386/x-sco
1367 install_headers_dir=install-headers-cpio
1368 if test x$stabs = xyes
1370 tm_file=i386/scodbx.h
1371 tmake_file=i386/t-svr3dbx
1372 extra_parts="svr3.ifile svr3z.rfile"
1375 extra_parts="crtbegin.o crtend.o"
1376 tmake_file=i386/t-crtstuff
1381 i[34567]86-*-solaris2*)
1383 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
1384 xm_defines="USG POSIX SMALL_ARG_MAX"
1385 if test x$stabs = xyes
1387 tm_file=i386/sol2dbg.h
1391 tmake_file=i386/t-sol2
1392 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
1394 if test x$enable_threads = xyes; then
1395 thread_file='solaris'
1399 i[34567]86-*-sysv5*) # Intel x86 on System V Release 5
1401 xm_file="xm-alloca.h xm-siglist.h ${xm_file}"
1402 xm_defines="USG POSIX"
1403 tm_file=i386/sysv5.h
1404 if test x$stabs = xyes
1406 tm_file="${tm_file} dbx.h"
1408 tmake_file=i386/t-crtpic
1410 extra_parts="crtbegin.o crtend.o"
1413 i[34567]86-*-sysv4*) # Intel 80386's running system V.4
1415 xm_file="xm-siglist.h xm-alloca.h ${xm_file}"
1416 xm_defines="USG POSIX SMALL_ARG_MAX"
1417 tm_file=i386/sysv4.h
1418 if test x$stabs = xyes
1420 tm_file="${tm_file} dbx.h"
1422 tmake_file=i386/t-crtpic
1424 extra_parts="crtbegin.o crtend.o"
1427 i[34567]86-*-udk*) # Intel x86 on SCO UW/OSR5 Dev Kit
1429 xm_file="xm-alloca.h xm-siglist.h ${xm_file}"
1430 xm_defines="USG POSIX"
1432 tmake_file="i386/t-crtpic i386/t-udk"
1434 extra_parts="crtbegin.o crtend.o"
1437 i[34567]86-*-osf1*) # Intel 80386's running OSF/1 1.3+
1440 xm_file="${xm_file} xm-svr4.h i386/xm-sysv4.h i386/xm-osf1elf.h"
1441 xm_defines="USE_C_ALLOCA SMALL_ARG_MAX"
1442 if test x$stabs = xyes
1444 tm_file=i386/osf1elfgdb.h
1446 tm_file=i386/osf1elf.h
1448 tmake_file=i386/t-osf1elf
1449 xmake_file=i386/x-osf1elf
1450 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
1453 i[34567]86-*-sysv*) # Intel 80386's running system V
1455 xm_defines="USG SVR3"
1456 xmake_file=i386/x-sysv3
1457 if test x$gas = xyes
1459 if test x$stabs = xyes
1461 tm_file=i386/svr3dbx.h
1462 tmake_file=i386/t-svr3dbx
1463 extra_parts="svr3.ifile svr3z.rfile"
1465 tm_file=i386/svr3gas.h
1466 extra_parts="crtbegin.o crtend.o"
1467 tmake_file=i386/t-crtstuff
1470 tm_file=i386/sysv3.h
1471 extra_parts="crtbegin.o crtend.o"
1472 tmake_file=i386/t-crtstuff
1475 i386-*-vsta) # Intel 80386's running VSTa kernel
1476 xm_file="${xm_file} i386/xm-vsta.h"
1478 tmake_file=i386/t-vsta
1479 xmake_file=i386/x-vsta
1484 xm_file="${xm_file} i386/xm-cygwin.h"
1485 tmake_file=i386/t-cygwin
1486 tm_file=i386/win32.h
1487 xmake_file=i386/x-cygwin
1489 if test x$enable_threads = xyes; then
1495 i[34567]86-*-pe | i[34567]86-*-cygwin*)
1497 xm_file="${xm_file} i386/xm-cygwin.h"
1498 tmake_file=i386/t-cygwin
1499 tm_file=i386/cygwin.h
1500 xmake_file=i386/x-cygwin
1502 if test x$enable_threads = xyes; then
1508 i[34567]86-*-mingw32*)
1510 tm_file=i386/mingw32.h
1511 xm_file="${xm_file} i386/xm-mingw32.h"
1512 tmake_file="i386/t-cygwin i386/t-mingw32"
1514 xmake_file=i386/x-cygwin
1515 if test x$enable_threads = xyes; then
1522 *minwg32crt* | *mingw32*)
1523 tm_file="${tm_file} i386/crtdll.h"
1531 xm_file="${xm_file} i386/xm-uwin.h"
1532 xm_defines="USG NO_STAB_H NO_SYS_SIGLIST"
1533 tmake_file="i386/t-cygwin i386/t-uwin"
1535 xmake_file=i386/x-cygwin
1536 if test x$enable_threads = xyes; then
1542 i[34567]86-*-interix*)
1544 tm_file="i386/i386-interix.h interix.h"
1545 xm_file="i386/xm-i386-interix.h xm-interix.h"
1546 xm_defines="USG NO_SYS_SIGLIST"
1547 tmake_file="i386/t-interix"
1548 extra_objs=interix.o
1549 xmake_file=x-interix
1550 if test x$enable_threads = xyes ; then
1553 if test x$stabs = xyes ; then
1554 tm_file="${tm_file} dbxcoff.h"
1558 i[34567]86-*-winnt3*)
1560 tm_file=i386/win-nt.h
1561 out_file=i386/i386.c
1562 xm_file="xm-winnt.h ${xm_file}"
1563 xmake_file=winnt/x-winnt
1564 tmake_file=i386/t-winnt
1565 extra_host_objs="winnt.o oldnames.o"
1566 extra_gcc_objs="spawnv.o oldnames.o"
1567 if test x$gnu_ld != xyes
1569 extra_programs=ld.exe
1571 if test x$enable_threads = xyes; then
1576 i[34567]86-dg-dgux*)
1578 xm_file="xm-alloca.h xm-siglist.h ${xm_file}"
1579 xm_defines="USG POSIX"
1580 out_file=i386/dgux.c
1582 tmake_file=i386/t-dgux
1583 xmake_file=i386/x-dgux
1584 install_headers_dir=install-headers-cpio
1586 i860-alliant-*) # Alliant FX/2800
1587 tm_file="${tm_file} svr4.h i860/sysv4.h i860/fx2800.h"
1588 xm_file="${xm_file}"
1589 xmake_file=i860/x-fx2800
1590 tmake_file=i860/t-fx2800
1591 extra_parts="crtbegin.o crtend.o"
1594 tm_file="${tm_file} i860/bsd.h"
1595 if test x$gas = xyes
1597 tm_file="${tm_file} i860/bsd-gas.h"
1602 tm_file="${tm_file} i860/mach.h"
1603 tmake_file=t-libc-ok
1605 i860-*-osf*) # Intel Paragon XP/S, OSF/1AD
1606 tm_file="${tm_file} svr3.h i860/paragon.h"
1607 xm_defines="USG SVR3"
1611 tm_file="${tm_file} svr3.h i860/sysv3.h"
1612 xm_defines="USG SVR3"
1613 xmake_file=i860/x-sysv3
1614 extra_parts="crtbegin.o crtend.o"
1617 tm_file="${tm_file} svr4.h i860/sysv4.h"
1618 xm_defines="USG SVR3"
1619 xmake_file=i860/x-sysv4
1621 extra_parts="crtbegin.o crtend.o"
1623 i960-wrs-vxworks5 | i960-wrs-vxworks5.0*)
1624 tm_file="${tm_file} i960/vx960.h"
1625 tmake_file=i960/t-vxworks960
1627 thread_file='vxworks'
1629 i960-wrs-vxworks5* | i960-wrs-vxworks)
1630 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h i960/vx960-coff.h"
1631 tmake_file=i960/t-vxworks960
1633 thread_file='vxworks'
1636 tm_file="${tm_file} i960/vx960.h"
1637 tmake_file=i960/t-vxworks960
1639 thread_file='vxworks'
1642 tm_file="${tm_file} dbxcoff.h i960/i960-coff.h libgloss.h"
1643 tmake_file=i960/t-960bare
1647 tmake_file="i960/t-960bare t-rtems"
1648 tm_file="${tm_file} dbxcoff.h i960/rtems.h"
1651 i960-*-*) # Default i960 environment.
1655 extra_parts="crtinit.o crtfini.o"
1657 m68000-convergent-sysv*)
1659 xm_file="m68k/xm-3b1.h ${xm_file}"
1662 extra_headers=math-68881.h
1664 m68000-hp-bsd*) # HP 9000/200 running BSD
1665 tm_file=m68k/hp2bsd.h
1666 xmake_file=m68k/x-hp2bsd
1668 extra_headers=math-68881.h
1670 m68000-hp-hpux*) # HP 9000 series 300
1671 xm_file="xm_alloca.h ${xm_file}"
1672 xm_defines="USG NO_SYS_SIGLIST"
1673 if test x$gas = xyes
1675 xmake_file=m68k/x-hp320g
1676 tm_file=m68k/hp310g.h
1678 xmake_file=m68k/x-hp320
1679 tm_file=m68k/hp310.h
1681 install_headers_dir=install-headers-cpio
1683 extra_headers=math-68881.h
1688 extra_headers=math-68881.h
1691 tm_file=m68k/sun2o4.h
1693 extra_headers=math-68881.h
1696 xm_file="m68k/xm-3b1.h ${xm_file}"
1698 if test x$gas = xyes
1705 extra_headers=math-68881.h
1707 m68k-apple-aux*) # Apple Macintosh running A/UX
1708 xm_defines="USG AUX"
1709 tmake_file=m68k/t-aux
1710 install_headers_dir=install-headers-cpio
1711 extra_headers=math-68881.h
1712 extra_parts="crt1.o mcrt1.o maccrt1.o crt2.o crtn.o"
1714 if test "$gnu_ld" = yes
1716 tm_file="${tm_file} m68k/auxgld.h"
1718 tm_file="${tm_file} m68k/auxld.h"
1720 if test "$gas" = yes
1722 tm_file="${tm_file} m68k/auxgas.h"
1724 tm_file="${tm_file} m68k/auxas.h"
1726 tm_file="${tm_file} m68k/a-ux.h"
1730 tm_file=m68k/apollo68.h
1731 xmake_file=m68k/x-apollo68
1733 extra_headers=math-68881.h
1736 m68k-altos-sysv*) # Altos 3068
1737 if test x$gas = xyes
1739 tm_file=m68k/altos3068.h
1742 echo "The Altos is supported only with the GNU assembler" 1>&2
1745 extra_headers=math-68881.h
1747 m68k-bull-sysv*) # Bull DPX/2
1748 if test x$gas = xyes
1750 if test x$stabs = xyes
1752 tm_file=m68k/dpx2cdbx.h
1754 tm_file=m68k/dpx2g.h
1759 xm_file="xm-alloca.h ${xm_file}"
1761 xmake_file=m68k/x-dpx2
1763 extra_headers=math-68881.h
1765 m68k-atari-sysv4*) # Atari variant of V.4.
1766 tm_file=m68k/atari.h
1767 xm_file="xm-alloca.h ${xm_file}"
1768 xm_defines="USG FULL_PROTOTYPES"
1770 extra_parts="crtbegin.o crtend.o"
1771 extra_headers=math-68881.h
1774 m68k-motorola-sysv*)
1775 tm_file=m68k/mot3300.h
1776 xm_file="xm-alloca.h m68k/xm-mot3300.h ${xm_file}"
1777 xm_defines=NO_SYS_SIGLIST
1778 if test x$gas = xyes
1780 xmake_file=m68k/x-mot3300-gas
1781 if test x$gnu_ld = xyes
1783 tmake_file=m68k/t-mot3300-gald
1785 tmake_file=m68k/t-mot3300-gas
1789 xmake_file=m68k/x-mot3300
1790 if test x$gnu_ld = xyes
1792 tmake_file=m68k/t-mot3300-gld
1794 tmake_file=m68k/t-mot3300
1798 gdb_needs_out_file_path=yes
1799 extra_parts="crt0.o mcrt0.o"
1800 extra_headers=math-68881.h
1803 m68k-ncr-sysv*) # NCR Tower 32 SVR3
1804 tm_file=m68k/tower-as.h
1805 xm_defines="USG SVR3"
1806 xmake_file=m68k/x-tower
1807 extra_parts="crtbegin.o crtend.o"
1808 extra_headers=math-68881.h
1811 tm_file=m68k/plexus.h
1812 xm_file="xm-alloca.h m68k/xm-plexus.h ${xm_file}"
1815 extra_headers=math-68881.h
1819 xm_file="xm-alloca.h ${xm_file}"
1821 extra_headers=math-68881.h
1824 xm_file="xm-alloca.h m68k/xm-crds.h ${xm_file}"
1825 xm_defines="USG unos"
1826 xmake_file=m68k/x-crds
1829 extra_headers=math-68881.h
1831 m68k-cbm-sysv4*) # Commodore variant of V.4.
1833 xm_file="xm-alloca.h ${xm_file}"
1834 xm_defines="USG FULL_PROTOTYPES"
1835 xmake_file=m68k/x-amix
1837 extra_parts="crtbegin.o crtend.o"
1838 extra_headers=math-68881.h
1842 tm_file=m68k/ccur-GAS.h
1843 xmake_file=m68k/x-ccur
1844 extra_headers=math-68881.h
1848 m68k-hp-bsd4.4*) # HP 9000/3xx running 4.4bsd
1849 tm_file=m68k/hp3bsd44.h
1850 xmake_file=m68k/x-hp3bsd44
1852 extra_headers=math-68881.h
1855 m68k-hp-bsd*) # HP 9000/3xx running Berkeley Unix
1856 tm_file=m68k/hp3bsd.h
1858 extra_headers=math-68881.h
1862 if test x$with_fp = xno
1864 tm_file=m68k/isi-nfp.h
1870 extra_headers=math-68881.h
1872 m68k-hp-hpux7*) # HP 9000 series 300 running HPUX version 7.
1873 xm_file="xm_alloca.h ${xm_file}"
1874 xm_defines="USG NO_SYS_SIGLIST"
1875 if test x$gas = xyes
1877 xmake_file=m68k/x-hp320g
1878 tm_file=m68k/hp320g.h
1880 xmake_file=m68k/x-hp320
1881 tm_file=m68k/hpux7.h
1883 install_headers_dir=install-headers-cpio
1885 extra_headers=math-68881.h
1888 m68k-hp-hpux*) # HP 9000 series 300
1889 xm_file="xm_alloca.h ${xm_file}"
1890 xm_defines="USG NO_SYS_SIGLIST"
1891 if test x$gas = xyes
1893 xmake_file=m68k/x-hp320g
1894 tm_file=m68k/hp320g.h
1896 xmake_file=m68k/x-hp320
1897 tm_file=m68k/hp320.h
1899 install_headers_dir=install-headers-cpio
1901 extra_headers=math-68881.h
1905 tm_file=m68k/sun3mach.h
1907 extra_headers=math-68881.h
1911 if test x$gas = xyes
1913 tm_file=m68k/news3gas.h
1915 tm_file=m68k/news3.h
1918 extra_headers=math-68881.h
1921 m68k-sony-bsd* | m68k-sony-newsos*)
1922 if test x$gas = xyes
1924 tm_file=m68k/newsgas.h
1929 extra_headers=math-68881.h
1932 m68k-next-nextstep2*)
1933 tm_file=m68k/next21.h
1934 xm_file="m68k/xm-next.h ${xm_file}"
1935 tmake_file=m68k/t-next
1936 xmake_file=m68k/x-next
1937 extra_objs=nextstep.o
1938 extra_headers=math-68881.h
1942 m68k-next-nextstep3*)
1944 xm_file="m68k/xm-next.h ${xm_file}"
1945 tmake_file=m68k/t-next
1946 xmake_file=m68k/x-next
1947 extra_objs=nextstep.o
1948 extra_parts="crtbegin.o crtend.o"
1949 extra_headers=math-68881.h
1951 if test x$enable_threads = xyes; then
1956 if test x$with_fp = xno
1958 tm_file=m68k/sun3n3.h
1960 tm_file=m68k/sun3o3.h
1964 extra_headers=math-68881.h
1966 m68k-sun-sunos*) # For SunOS 4 (the default).
1967 if test x$with_fp = xno
1969 tm_file=m68k/sun3n.h
1975 extra_headers=math-68881.h
1978 tm_file=m68k/vxm68k.h
1979 tmake_file=m68k/t-vxworks68
1980 extra_headers=math-68881.h
1981 thread_file='vxworks'
1985 tmake_file=m68k/t-m68kbare
1986 tm_file="m68k/m68k-aout.h libgloss.h"
1987 extra_headers=math-68881.h
1991 tmake_file=m68k/t-m68kbare
1992 tm_file="m68k/m68k-coff.h dbx.h libgloss.h"
1993 extra_headers=math-68881.h
1996 m68020-*-elf* | m68k-*-elf*)
1997 tm_file="m68k/m68020-elf.h libgloss.h"
1998 xm_file=m68k/xm-m68kv.h
1999 tmake_file=m68k/t-m68kelf
2000 header_files=math-68881.h
2003 if test x$gas = xyes
2007 tm_file=m68k/lynx-ng.h
2009 xm_file=m68k/xm-lynx.h
2011 tmake_file=m68k/t-lynx
2012 extra_headers=math-68881.h
2016 tm_file=m68k/netbsd.h
2022 # we need collect2 until our bug is fixed...
2025 m68k-*-sysv3*) # Motorola m68k's running system V.3
2026 xm_file="xm-alloca.h ${xm_file}"
2028 xmake_file=m68k/x-m68kv
2029 extra_parts="crtbegin.o crtend.o"
2030 extra_headers=math-68881.h
2033 m68k-*-sysv4*) # Motorola m68k's running system V.4
2034 tm_file=m68k/m68kv4.h
2035 xm_file="xm-alloca.h ${xm_file}"
2038 extra_parts="crtbegin.o crtend.o"
2039 extra_headers=math-68881.h
2042 m68k-*-linux-gnuaout*) # Motorola m68k's running GNU/Linux
2045 tm_file=m68k/linux-aout.h
2046 tmake_file="t-linux-aout m68k/t-linux-aout"
2047 extra_headers=math-68881.h
2051 m68k-*-linux-gnulibc1) # Motorola m68k's running GNU/Linux
2052 # with ELF format using the
2053 # GNU/Linux C library 5
2055 tm_file=m68k/linux.h
2056 tmake_file="t-linux t-linux-gnulibc1 m68k/t-linux"
2057 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2058 extra_headers=math-68881.h
2062 m68k-*-linux-gnu*) # Motorola m68k's running GNU/Linux
2063 # with ELF format using glibc 2
2064 # aka the GNU/Linux C library 6.
2066 tm_file=m68k/linux.h
2067 tmake_file="t-linux m68k/t-linux"
2068 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2069 extra_headers=math-68881.h
2072 if test x$enable_threads = xyes; then
2077 tmake_file=m68k/t-m68kbare
2078 tm_file=m68k/m68k-psos.h
2079 extra_headers=math-68881.h
2083 tmake_file="m68k/t-m68kbare t-rtems"
2084 tm_file=m68k/rtems.h
2085 extra_headers=math-68881.h
2092 tm_file=m88k/dguxbcs.h
2093 tmake_file=m88k/t-dguxbcs
2097 tmake_file=m88k/t-dgux
2100 extra_parts="crtbegin.o bcscrtbegin.o crtend.o m88kdgux.ld"
2101 xmake_file=m88k/x-dgux
2102 if test x$gas = xyes
2104 tmake_file=m88k/t-dgux-gas
2107 m88k-dolphin-sysv3*)
2108 tm_file=m88k/dolph.h
2109 extra_parts="crtbegin.o crtend.o"
2110 xm_file="m88k/xm-sysv3.h ${xm_file}"
2111 xmake_file=m88k/x-dolph
2112 if test x$gas = xyes
2114 tmake_file=m88k/t-m88k-gas
2117 m88k-tektronix-sysv3)
2118 tm_file=m88k/tekXD88.h
2119 extra_parts="crtbegin.o crtend.o"
2120 xm_file="m88k/xm-sysv3.h ${xm_file}"
2121 xmake_file=m88k/x-tekXD88
2122 if test x$gas = xyes
2124 tmake_file=m88k/t-m88k-gas
2128 tm_file=m88k/m88k-aout.h
2131 tm_file=m88k/m88k-coff.h
2132 tmake_file=m88k/t-bug
2136 extra_parts="crtbegin.o crtend.o"
2137 if test x$gas = xyes
2139 tmake_file=m88k/t-luna-gas
2141 tmake_file=m88k/t-luna
2145 tmake_file="${tmake_file} m88k/t-luna-gas"
2148 tm_file=m88k/sysv3.h
2149 extra_parts="crtbegin.o crtend.o"
2150 xm_file="m88k/xm-sysv3.h ${xm_file}"
2151 xmake_file=m88k/x-sysv3
2152 if test x$gas = xyes
2154 tmake_file=m88k/t-m88k-gas
2158 tm_file=m88k/sysv4.h
2159 extra_parts="crtbegin.o crtend.o"
2160 xmake_file=m88k/x-sysv4
2161 tmake_file=m88k/t-sysv4
2163 mips-sgi-irix6*) # SGI System V.4., IRIX 6
2164 tm_file=mips/iris6.h
2165 xm_file=mips/xm-iris6.h
2166 xmake_file=mips/x-iris6
2167 tmake_file=mips/t-iris6
2168 # if test x$enable_threads = xyes; then
2169 # thread_file='irix'
2173 tm_file="mips/elf.h libgloss.h mips/vxworks.h"
2174 tmake_file=mips/t-ecoff
2177 extra_parts="crtbegin.o crtend.o"
2178 thread_file='vxworks'
2180 mips-sgi-irix5cross64) # Irix5 host, Irix 6 target, cross64
2181 tm_file="mips/iris6.h mips/cross64.h"
2183 xm_file="mips/xm-iris5.h"
2184 xmake_file=mips/x-iris
2185 tmake_file=mips/t-cross64
2186 # See comment in mips/iris[56].h files.
2188 # if test x$enable_threads = xyes; then
2189 # thread_file='irix'
2193 if test x$gas = xyes
2195 if test x$stabs = xyes
2197 tm_file=mips/iris5gdb.h
2199 tm_file="mips/sni-svr4.h mips/sni-gas.h"
2202 tm_file=mips/sni-svr4.h
2205 xmake_file=mips/x-sni-svr4
2206 tmake_file=mips/t-mips-gas
2207 if test x$gnu_ld != xyes
2212 mips-sgi-irix5*) # SGI System V.4., IRIX 5
2213 if test x$gas = xyes
2215 tm_file="mips/iris5.h mips/iris5gas.h"
2216 if test x$stabs = xyes
2218 tm_file="${tm_file} dbx.h"
2221 tm_file=mips/iris5.h
2224 xm_file="mips/xm-iris5.h"
2225 xmake_file=mips/x-iris
2226 # mips-tfile doesn't work yet
2227 tmake_file=mips/t-mips-gas
2228 # See comment in mips/iris5.h file.
2230 # if test x$enable_threads = xyes; then
2231 # thread_file='irix'
2234 mips-sgi-irix4loser*) # Mostly like a MIPS.
2235 tm_file="mips/iris4loser.h mips/iris3.h ${tm_file} mips/iris4.h"
2236 if test x$stabs = xyes; then
2237 tm_file="${tm_file} dbx.h"
2240 xmake_file=mips/x-iris
2241 if test x$gas = xyes
2243 tmake_file=mips/t-mips-gas
2245 extra_passes="mips-tfile mips-tdump"
2247 if test x$gnu_ld != xyes
2251 # if test x$enable_threads = xyes; then
2252 # thread_file='irix'
2255 mips-sgi-irix4*) # Mostly like a MIPS.
2256 tm_file="mips/iris3.h ${tm_file} mips/iris4.h"
2257 if test x$stabs = xyes; then
2258 tm_file="${tm_file} dbx.h"
2261 xmake_file=mips/x-iris
2262 if test x$gas = xyes
2264 tmake_file=mips/t-mips-gas
2266 extra_passes="mips-tfile mips-tdump"
2268 if test x$gnu_ld != xyes
2272 # if test x$enable_threads = xyes; then
2273 # thread_file='irix'
2276 mips-sgi-*) # Mostly like a MIPS.
2277 tm_file="mips/iris3.h ${tm_file}"
2278 if test x$stabs = xyes; then
2279 tm_file="${tm_file} dbx.h"
2282 xmake_file=mips/x-iris3
2283 if test x$gas = xyes
2285 tmake_file=mips/t-mips-gas
2287 extra_passes="mips-tfile mips-tdump"
2289 if test x$gnu_ld != xyes
2294 mips-dec-osfrose*) # Decstation running OSF/1 reference port with OSF/rose.
2295 tm_file="mips/osfrose.h ${tm_file}"
2296 xmake_file=mips/x-osfrose
2297 tmake_file=mips/t-osfrose
2298 extra_objs=halfpic.o
2301 mips-dec-osf*) # Decstation running OSF/1 as shipped by DIGITAL
2302 tm_file=mips/dec-osf1.h
2303 if test x$stabs = xyes; then
2304 tm_file="${tm_file} dbx.h"
2306 xmake_file=mips/x-dec-osf1
2307 if test x$gas = xyes
2309 tmake_file=mips/t-mips-gas
2311 tmake_file=mips/t-ultrix
2312 extra_passes="mips-tfile mips-tdump"
2314 if test x$gnu_ld != xyes
2319 mips-dec-bsd*) # Decstation running 4.4 BSD
2320 tm_file=mips/dec-bsd.h
2321 if test x$gas = xyes
2323 tmake_file=mips/t-mips-gas
2325 tmake_file=mips/t-ultrix
2326 extra_passes="mips-tfile mips-tdump"
2328 if test x$gnu_ld != xyes
2333 mipsel-*-netbsd* | mips-dec-netbsd*) # Decstation running NetBSD
2334 tm_file=mips/netbsd.h
2335 # On NetBSD, the headers are already okay, except for math.h.
2338 mips*-*-linux*) # Linux MIPS, either endian.
2340 xm_file="xm-siglist.h ${xm_file}"
2342 mipsel-*) tm_file="mips/elfl.h mips/linux.h" ;;
2343 *) tm_file="mips/elf.h mips/linux.h" ;;
2345 extra_parts="crtbegin.o crtend.o"
2349 mips*el-*-openbsd*) # mips little endian
2350 target_cpu_default="MASK_GAS|MASK_ABICALLS"
2351 tm_file=mips/openbsd.h
2354 mips*-*-openbsd*) # mips big endian
2355 target_cpu_default="MASK_GAS|MASK_ABICALLS"
2356 tm_file=mips/openbsd-be.h
2359 mips-sony-bsd* | mips-sony-newsos*) # Sony NEWS 3600 or risc/news.
2360 tm_file="mips/news4.h ${tm_file}"
2361 if test x$stabs = xyes; then
2362 tm_file="${tm_file} dbx.h"
2364 if test x$gas = xyes
2366 tmake_file=mips/t-mips-gas
2368 extra_passes="mips-tfile mips-tdump"
2370 if test x$gnu_ld != xyes
2374 xmake_file=mips/x-sony
2376 mips-sony-sysv*) # Sony NEWS 3800 with NEWSOS5.0.
2377 # That is based on svr4.
2378 # t-svr4 is not right because this system doesn't use ELF.
2379 tm_file="mips/news5.h ${tm_file}"
2380 if test x$stabs = xyes; then
2381 tm_file="${tm_file} dbx.h"
2383 xm_file="xm-siglist.h ${xm_file}"
2385 if test x$gas = xyes
2387 tmake_file=mips/t-mips-gas
2389 extra_passes="mips-tfile mips-tdump"
2391 if test x$gnu_ld != xyes
2396 mips-tandem-sysv4*) # Tandem S2 running NonStop UX
2397 tm_file="mips/svr4-5.h mips/svr4-t.h"
2398 if test x$stabs = xyes; then
2399 tm_file="${tm_file} dbx.h"
2401 xm_file="xm-siglist.h ${xm_file}"
2403 xmake_file=mips/x-sysv
2404 if test x$gas = xyes
2406 tmake_file=mips/t-mips-gas
2407 extra_parts="crtbegin.o crtend.o"
2409 tmake_file=mips/t-mips
2410 extra_passes="mips-tfile mips-tdump"
2412 if test x$gnu_ld != xyes
2417 mips-*-ultrix* | mips-dec-mach3) # Decstation.
2418 tm_file="mips/ultrix.h ${tm_file}"
2419 if test x$stabs = xyes; then
2420 tm_file="${tm_file} dbx.h"
2422 xmake_file=mips/x-ultrix
2423 if test x$gas = xyes
2425 tmake_file=mips/t-mips-gas
2427 tmake_file=mips/t-ultrix
2428 extra_passes="mips-tfile mips-tdump"
2430 if test x$gnu_ld != xyes
2436 mips-*-riscos[56789]bsd*)
2438 tm_file=mips/bsd-5.h # MIPS BSD 4.3, RISC-OS 5.0
2439 if test x$stabs = xyes; then
2440 tm_file="${tm_file} dbx.h"
2442 if test x$gas = xyes
2444 tmake_file=mips/t-bsd-gas
2446 tmake_file=mips/t-bsd
2447 extra_passes="mips-tfile mips-tdump"
2449 if test x$gnu_ld != xyes
2455 mips-*-bsd* | mips-*-riscosbsd* | mips-*-riscos[1234]bsd*)
2457 tm_file="mips/bsd-4.h ${tm_file}" # MIPS BSD 4.3, RISC-OS 4.0
2458 if test x$stabs = xyes; then
2459 tm_file="${tm_file} dbx.h"
2461 if test x$gas = xyes
2463 tmake_file=mips/t-bsd-gas
2465 tmake_file=mips/t-bsd
2466 extra_passes="mips-tfile mips-tdump"
2468 if test x$gnu_ld != xyes
2474 mips-*-riscos[56789]sysv4*)
2476 tm_file=mips/svr4-5.h # MIPS System V.4., RISC-OS 5.0
2477 if test x$stabs = xyes; then
2478 tm_file="${tm_file} dbx.h"
2480 xm_file="xm-siglist.h ${xm_file}"
2481 xmake_file=mips/x-sysv
2482 if test x$gas = xyes
2484 tmake_file=mips/t-svr4-gas
2486 tmake_file=mips/t-svr4
2487 extra_passes="mips-tfile mips-tdump"
2489 if test x$gnu_ld != xyes
2495 mips-*-sysv4* | mips-*-riscos[1234]sysv4* | mips-*-riscossysv4*)
2497 tm_file="mips/svr4-4.h ${tm_file}"
2498 if test x$stabs = xyes; then
2499 tm_file="${tm_file} dbx.h"
2502 xmake_file=mips/x-sysv
2503 if test x$gas = xyes
2505 tmake_file=mips/t-svr4-gas
2507 tmake_file=mips/t-svr4
2508 extra_passes="mips-tfile mips-tdump"
2510 if test x$gnu_ld != xyes
2516 mips-*-riscos[56789]sysv*)
2518 tm_file=mips/svr3-5.h # MIPS System V.3, RISC-OS 5.0
2519 if test x$stabs = xyes; then
2520 tm_file="${tm_file} dbx.h"
2523 xmake_file=mips/x-sysv
2524 if test x$gas = xyes
2526 tmake_file=mips/t-svr3-gas
2528 tmake_file=mips/t-svr3
2529 extra_passes="mips-tfile mips-tdump"
2531 if test x$gnu_ld != xyes
2536 mips-*-sysv* | mips-*-riscos*sysv*)
2537 tm_file="mips/svr3-4.h ${tm_file}"
2538 if test x$stabs = xyes; then
2539 tm_file="${tm_file} dbx.h"
2542 xmake_file=mips/x-sysv
2543 if test x$gas = xyes
2545 tmake_file=mips/t-svr3-gas
2547 tmake_file=mips/t-svr3
2548 extra_passes="mips-tfile mips-tdump"
2550 if test x$gnu_ld != xyes
2556 mips-*-riscos[56789]*) # Default MIPS RISC-OS 5.0.
2558 tm_file=mips/mips-5.h
2559 if test x$stabs = xyes; then
2560 tm_file="${tm_file} dbx.h"
2562 if test x$gas = xyes
2564 tmake_file=mips/t-mips-gas
2566 extra_passes="mips-tfile mips-tdump"
2568 if test x$gnu_ld != xyes
2576 tm_file=mips/ecoffl.h
2577 if test x$stabs = xyes; then
2578 tm_file="${tm_file} dbx.h"
2580 tmake_file=mips/t-ecoff
2583 tm_file="gofast.h mips/ecoff.h"
2584 if test x$stabs = xyes; then
2585 tm_file="${tm_file} dbx.h"
2587 tmake_file=mips/t-ecoff
2590 tm_file="mips/elfl.h libgloss.h"
2591 tmake_file=mips/t-elf
2594 tm_file="mips/elf.h"
2595 tmake_file=mips/t-elf
2598 tm_file="mips/elfl64.h"
2599 tmake_file=mips/t-elf
2601 mips64orionel-*-elf*)
2602 tm_file="mips/elforion.h mips/elfl64.h libgloss.h"
2603 tmake_file=mips/t-elf
2606 tm_file="mips/elf64.h"
2607 tmake_file=mips/t-elf
2610 tm_file="mips/elforion.h mips/elf64.h libgloss.h"
2611 tmake_file=mips/t-elf
2613 mips64orion-*-rtems*)
2614 tm_file="mips/elforion.h mips/elf64.h mips/rtems64.h"
2615 tmake_file="mips/t-ecoff t-rtems"
2618 tm_file="mips/r3900.h mips/elfl.h mips/abi64.h"
2619 tmake_file=mips/t-r3900
2622 tm_file="mips/r3900.h mips/elf.h mips/abi64.h"
2623 tmake_file=mips/t-r3900
2625 mips-*-*) # Default MIPS RISC-OS 4.0.
2626 if test x$stabs = xyes; then
2627 tm_file="${tm_file} dbx.h"
2629 if test x$gas = xyes
2631 tmake_file=mips/t-mips-gas
2633 extra_passes="mips-tfile mips-tdump"
2635 if test x$gnu_ld != xyes
2642 tm_file="mn10200/mn10200.h"
2643 if test x$stabs = xyes
2645 tm_file="${tm_file} dbx.h"
2651 tm_file="mn10300/mn10300.h"
2652 if test x$stabs = xyes
2654 tm_file="${tm_file} dbx.h"
2659 tm_file=ns32k/encore.h
2663 tm_file=ns32k/sequent.h
2667 tm_file=ns32k/tek6100.h
2671 tm_file=ns32k/tek6200.h
2674 # This has not been updated to GCC 2.
2677 # xmake_file=ns32k/x-genix
2678 # tm_file=ns32k/genix.h
2682 tm_file=ns32k/merlin.h
2686 tm_file=ns32k/pc532-mach.h
2690 tm_file=ns32k/pc532-min.h
2691 xm_file="ns32k/xm-pc532-min.h ${xm-file}"
2696 tm_file=ns32k/netbsd.h
2697 xm_file="ns32k/xm-netbsd.h ${xm_file}"
2698 # On NetBSD, the headers are already okay, except for math.h.
2702 tm_file="${tm_file} pdp11/2bsd.h"
2711 xmake_file=pyr/x-pyr
2718 xmake_file=romp/x-mach
2725 tmake_file="${tmake_file} rs6000/t-rs6000 rs6000/t-openbsd"
2730 tm_file=rs6000/beos.h
2731 xm_file=rs6000/xm-beos.h
2732 tmake_file=rs6000/t-beos
2733 xmake_file=rs6000/x-beos
2735 powerpc-*-sysv* | powerpc-*-elf*)
2736 tm_file=rs6000/sysv4.h
2737 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2738 xm_defines="USG POSIX"
2739 extra_headers=ppc-asm.h
2740 if test x$gas = xyes
2742 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2744 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2746 xmake_file=rs6000/x-sysv4
2749 tm_file=rs6000/eabiaix.h
2750 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2751 extra_headers=ppc-asm.h
2754 tm_file=rs6000/eabisim.h
2755 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2756 extra_headers=ppc-asm.h
2759 tm_file=rs6000/eabi.h
2760 if test x$gas = xyes
2762 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2764 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2766 extra_headers=ppc-asm.h
2769 tm_file=rs6000/rtems.h
2770 if test x$gas = xyes
2772 tmake_file="rs6000/t-ppcgas t-rtems rs6000/t-ppccomm"
2774 tmake_file="rs6000/t-ppc t-rtems rs6000/t-ppccomm"
2776 extra_headers=ppc-asm.h
2778 powerpc-*-linux-gnulibc1)
2779 tm_file=rs6000/linux.h
2780 xm_file=rs6000/xm-sysv4.h
2781 out_file=rs6000/rs6000.c
2782 if test x$gas = xyes
2784 tmake_file="rs6000/t-ppcos t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
2786 tmake_file="rs6000/t-ppc t-linux t-linux-gnulibc1 rs6000/t-ppccomm"
2789 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2790 extra_headers=ppc-asm.h
2791 if test x$enable_threads = xyes; then
2795 powerpc-*-linux-gnu*)
2796 tm_file=rs6000/linux.h
2797 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2798 xm_defines="USG ${xm_defines}"
2799 out_file=rs6000/rs6000.c
2800 if test x$gas = xyes
2802 tmake_file="rs6000/t-ppcos t-linux rs6000/t-ppccomm"
2804 tmake_file="rs6000/t-ppc t-linux rs6000/t-ppccomm"
2807 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
2808 extra_headers=ppc-asm.h
2809 if test x$enable_threads = xyes; then
2813 powerpc-wrs-vxworks*)
2815 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2816 xm_defines="USG POSIX"
2817 tm_file=rs6000/vxppc.h
2818 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2819 extra_headers=ppc-asm.h
2820 thread_file='vxworks'
2822 powerpcle-*-sysv* | powerpcle-*-elf*)
2823 tm_file=rs6000/sysv4le.h
2824 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2825 xm_defines="USG POSIX"
2826 if test x$gas = xyes
2828 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2830 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2832 xmake_file=rs6000/x-sysv4
2833 extra_headers=ppc-asm.h
2835 powerpcle-*-eabisim*)
2836 tm_file=rs6000/eabilesim.h
2837 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2838 extra_headers=ppc-asm.h
2841 tm_file=rs6000/eabile.h
2842 if test x$gas = xyes
2844 tmake_file="rs6000/t-ppcgas rs6000/t-ppccomm"
2846 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2848 extra_headers=ppc-asm.h
2850 powerpcle-*-winnt* )
2851 tm_file=rs6000/win-nt.h
2852 tmake_file=rs6000/t-winnt
2854 if test x$enable_threads = xyes; then
2857 extra_headers=ppc-asm.h
2859 powerpcle-*-pe | powerpcle-*-cygwin*)
2860 tm_file=rs6000/cygwin.h
2861 xm_file="rs6000/xm-cygwin.h ${xm_file}"
2862 tmake_file=rs6000/t-winnt
2863 xmake_file=rs6000/x-cygwin
2865 if test x$enable_threads = xyes; then
2869 extra_headers=ppc-asm.h
2871 powerpcle-*-solaris2*)
2872 tm_file=rs6000/sol2.h
2873 xm_file="xm-siglist.h rs6000/xm-sysv4.h"
2874 xm_defines="USG POSIX"
2875 if test x$gas = xyes
2877 tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
2879 tmake_file="rs6000/t-ppc rs6000/t-ppccomm"
2881 xmake_file=rs6000/x-sysv4
2882 extra_headers=ppc-asm.h
2885 rs6000-ibm-aix3.[01]*)
2887 tm_file=rs6000/aix31.h
2888 xmake_file=rs6000/x-aix31
2893 rs6000-ibm-aix3.2.[456789]* | powerpc-ibm-aix3.2.[456789]*)
2895 tm_file=rs6000/aix3newas.h
2896 if test x$host != x$target
2898 tmake_file=rs6000/t-xnewas
2900 tmake_file=rs6000/t-newas
2906 rs6000-ibm-aix4.[12]* | powerpc-ibm-aix4.[12]*)
2908 if test "$gnu_ld" = yes
2910 tm_file=rs6000/aix41-gld.h
2912 tm_file=rs6000/aix41.h
2914 if test x$host != x$target
2916 tmake_file=rs6000/t-xnewas
2918 tmake_file=rs6000/t-newas
2920 xmake_file=rs6000/x-aix41
2925 rs6000-ibm-aix4.[3456789].* | powerpc-ibm-aix4.[3456789].*)
2927 tm_file=rs6000/aix43.h
2928 if test x$host != x$target
2930 tmake_file=rs6000/t-xaix43
2932 tmake_file=rs6000/t-aix43
2934 xmake_file=rs6000/x-aix43
2939 rs6000-ibm-aix[56789].* | powerpc-ibm-aix[56789].*)
2941 tm_file=rs6000/aix43.h
2942 if test x$host != x$target
2944 tmake_file=rs6000/t-xaix43
2946 tmake_file=rs6000/t-aix43
2948 xmake_file=rs6000/x-aix43
2961 tm_file=rs6000/mach.h
2962 xm_file="${xm_file} rs6000/xm-mach.h"
2963 xmake_file=rs6000/x-mach
2967 tm_file=rs6000/lynx.h
2968 xm_file=rs6000/xm-lynx.h
2969 tmake_file=rs6000/t-rs6000
2970 xmake_file=rs6000/x-lynx
2978 tmake_file="sh/t-sh t-rtems"
2979 tm_file=sh/rtemself.h
2983 tmake_file="sh/t-sh t-rtems"
2992 xm_file="xm-alloca.h ${xm_file}"
2995 sparc-wrs-vxworks* | sparclite-wrs-vxworks*)
2996 tm_file=sparc/vxsparc.h
2997 tmake_file=sparc/t-vxsparc
2999 thread_file='vxworks'
3002 tmake_file=sparc/t-sparcbare
3003 tm_file="sparc/aout.h libgloss.h"
3006 tm_file=sparc/netbsd.h
3010 # we need collect2 until our bug is fixed...
3018 tmake_file=sparc/t-elf
3019 extra_parts="crti.o crtn.o crtbegin.o crtend.o"
3023 sparc-*-linux-gnuaout*) # Sparc's running GNU/Linux, a.out
3024 xm_file="${xm_file} sparc/xm-linux.h"
3025 tm_file=sparc/linux-aout.h
3029 sparc-*-linux-gnulibc1*) # Sparc's running GNU/Linux, libc5
3030 xm_file="${xm_file} sparc/xm-linux.h"
3032 tm_file=sparc/linux.h
3033 tmake_file="t-linux t-linux-gnulibc1"
3034 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3037 sparc-*-linux-gnu*) # Sparc's running GNU/Linux, libc6
3038 xm_file="${xm_file} sparc/xm-linux.h"
3040 tm_file=sparc/linux.h
3041 tmake_file="t-linux"
3042 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3044 if test x$enable_threads = xyes; then
3049 if test x$gas = xyes
3051 tm_file=sparc/lynx.h
3053 tm_file=sparc/lynx-ng.h
3055 xm_file=sparc/xm-lynx.h
3056 tmake_file=sparc/t-sunos41
3060 tmake_file="sparc/t-sparcbare t-rtems"
3061 tm_file=sparc/rtems.h
3063 sparcv9-*-solaris2*)
3064 tm_file=sparc/sol2-sld-64.h
3065 xm_file="sparc/xm-sysv4-64.h sparc/xm-sol2.h"
3066 xm_defines="USG POSIX"
3067 tmake_file="sparc/t-sol2 sparc/t-sol2-64"
3068 xmake_file=sparc/x-sysv4
3069 extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
3071 if test x${enable_threads} = x ; then
3072 enable_threads=$have_pthread_h
3073 if test x${enable_threads} = x ; then
3074 enable_threads=$have_thread_h
3077 if test x${enable_threads} = xyes ; then
3078 if test x${have_pthread_h} = xyes ; then
3081 thread_file='solaris'
3085 sparc-hal-solaris2*)
3086 xm_file=sparc/xm-sol2.h
3087 tm_file="sparc/sol2.h sparc/hal.h"
3088 tmake_file="sparc/t-halos sparc/t-sol2"
3089 xmake_file=sparc/x-sysv4
3090 extra_parts="crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o"
3094 if test x$gnu_ld = xyes
3096 tm_file=sparc/sol2.h
3098 tm_file=sparc/sol2-sld.h
3100 xm_file="xm-siglist.h sparc/xm-sysv4.h sparc/xm-sol2.h"
3101 xm_defines="USG POSIX"
3102 tmake_file=sparc/t-sol2
3103 xmake_file=sparc/x-sysv4
3104 extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
3115 if test x${enable_threads} = x; then
3116 enable_threads=$have_pthread_h
3117 if test x${enable_threads} = x; then
3118 enable_threads=$have_thread_h
3121 if test x${enable_threads} = xyes; then
3122 if test x${have_pthread_h} = xyes; then
3125 thread_file='solaris'
3130 tm_file=sparc/sunos4.h
3131 tmake_file=sparc/t-sunos40
3135 tm_file=sparc/sunos4.h
3136 tmake_file=sparc/t-sunos41
3138 if test x$gas = xyes; then
3139 tm_file="${tm_file} sparc/sun4gas.h"
3143 tm_file=sparc/sun4o3.h
3147 tm_file=sparc/sysv4.h
3148 xm_file="xm-siglist.h sparc/xm-sysv4.h"
3149 xm_defines="USG POSIX"
3151 xmake_file=sparc/x-sysv4
3152 extra_parts="crtbegin.o crtend.o"
3155 xm_file="xm-siglist.h sparc/xm-sysv4.h sparc/xm-sol2.h"
3156 xm_defines="USG POSIX"
3157 tm_file=sparc/vxsim.h
3158 tmake_file=sparc/t-vxsparc
3159 xmake_file=sparc/x-sysv4
3162 tm_file="sparc/splet.h libgloss.h"
3163 tmake_file=sparc/t-splet
3166 tm_file="sparc/litecoff.h libgloss.h"
3167 tmake_file=sparc/t-sparclite
3170 tm_file="sparc/lite.h aoutos.h libgloss.h"
3171 tmake_file=sparc/t-sparclite
3174 tmake_file=sparc/t-sp64
3175 tm_file=sparc/sp64-aout.h
3178 tmake_file=sparc/t-sp64
3179 tm_file=sparc/sp64-elf.h
3180 extra_parts="crtbegin.o crtend.o"
3182 sparc64-*-linux*) # 64-bit Sparc's running GNU/Linux
3183 tmake_file="t-linux sparc/t-linux64"
3184 xm_file="sparc/xm-sp64.h sparc/xm-linux.h"
3185 tm_file=sparc/linux64.h
3187 extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
3190 # This hasn't been upgraded to GCC 2.
3191 # tahoe-harris-*) # Harris tahoe, using COFF.
3192 # tm_file=tahoe/harris.h
3194 # tahoe-*-bsd*) # tahoe running BSD
3196 thumb-*-coff* | thumbel-*-coff*)
3198 out_file=arm/thumb.c
3199 xm_file=arm/xm-thumb.h
3200 md_file=arm/thumb.md
3201 tmake_file=arm/t-thumb
3205 out_file=arm/thumb.c
3206 xm_file=arm/xm-thumb.h
3207 md_file=arm/thumb.md
3208 tmake_file=arm/t-thumb
3209 thread_file='vxworks'
3211 # This hasn't been upgraded to GCC 2.
3218 tm_file="v850/v850.h"
3219 xm_file="v850/xm-v850.h"
3220 tmake_file=v850/t-v850
3221 if test x$stabs = xyes
3223 tm_file="${tm_file} dbx.h"
3227 vax-*-bsd*) # vaxen running BSD
3231 vax-*-sysv*) # vaxen running system V
3232 tm_file="${tm_file} vax/vaxv.h"
3237 tm_file="${tm_file} netbsd.h vax/netbsd.h"
3242 tmake_file="${tm_file} vax/t-openbsd"
3244 vax-*-ultrix*) # vaxen running ultrix
3245 tm_file="${tm_file} vax/ultrix.h"
3249 vax-*-vms*) # vaxen running VMS
3250 xm_file=vax/xm-vms.h
3254 vax-*-*) # vax default entry
3258 xm_file="${xm_file} xm-svr3"
3262 echo "Configuration $machine not supported" 1>&2
3269 ;; # Existing GNU/Linux systems do not use the GNU setup.
3271 # On the GNU system, the setup is just about the same on
3272 # each different CPU. The specific machines that GNU
3273 # supports are matched above and just set $cpu_type.
3274 xm_file="xm-gnu.h ${xm_file}"
3275 tm_file=${cpu_type}/gnu.h
3276 extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
3277 # GNU always uses ELF.
3279 # GNU tools are the only tools.
3282 xmake_file=x-linux # These details are the same as Linux.
3283 tmake_file=t-gnu # These are not.
3286 xmake_try_sysv=x-sysv
3287 install_headers_dir=install-headers-cpio
3290 install_headers_dir=install-headers-cpio
3294 # Distinguish i[34567]86
3295 # Also, do not run mips-tfile on MIPS if using gas.
3296 # Process --with-cpu= for PowerPC/rs6000
3297 target_cpu_default2=
3300 target_cpu_default2=1
3303 case $target_alias in
3305 target_cpu_default2=4
3308 target_cpu_default2=2
3312 i686-*-* | i786-*-*)
3313 target_cpu_default2=3
3318 target_cpu_default2="MASK_CPU_EV6|MASK_BWX|MASK_CIX|MASK_MAX"
3321 target_cpu_default2="MASK_CPU_EV5|MASK_BWX|MASK_MAX"
3324 target_cpu_default2="MASK_CPU_EV5|MASK_BWX"
3327 target_cpu_default2="MASK_CPU_EV5"
3331 if test x$gas = xyes
3333 if test "$target_cpu_default2" = ""
3335 target_cpu_default2="MASK_GAS"
3337 target_cpu_default2="${target_cpu_default2}|MASK_GAS"
3342 case "x$with_cpu" in
3345 target_cpu_default2="TARGET_CPU_generic"
3348 # Distinguish cores, and major variants
3349 # arm7m doesn't exist, but D & I don't affect code
3350 xarm[23678] | xarm250 | xarm[67][01]0 \
3351 | xarm7m | xarm7dm | xarm7dmi | xarm7tdmi \
3352 | xarm7100 | xarm7500 | xarm7500fe | xarm810 \
3353 | xstrongarm | xstrongarm110 | xstrongarm1100)
3354 target_cpu_default2="TARGET_CPU_$with_cpu"
3358 echo "--with-cpu must be passed a value" 1>&2
3363 if test x$pass2done = xyes
3365 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3372 mips*-*-ecoff* | mips*-*-elf*)
3373 if test x$gas = xyes
3375 if test x$gnu_ld = xyes
3377 target_cpu_default2=20
3379 target_cpu_default2=16
3384 if test x$gas = xyes
3386 target_cpu_default2=16
3389 powerpc*-*-* | rs6000-*-*)
3390 case "x$with_cpu" in
3394 xcommon | xpower | xpower2 | xpowerpc | xrios \
3395 | xrios1 | xrios2 | xrsc | xrsc1 \
3396 | x601 | x602 | x603 | x603e | x604 | x604e | x620 \
3397 | xec603e | x740 | x750 | x401 \
3398 | x403 | x505 | x801 | x821 | x823 | x860)
3399 target_cpu_default2="\"$with_cpu\""
3403 echo "--with-cpu must be passed a value" 1>&2
3408 if test x$pass2done = xyes
3410 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3417 case ".$with_cpu" in
3419 target_cpu_default2=TARGET_CPU_"`echo $machine | sed 's/-.*$//'`"
3421 .supersparc | .hypersparc | .ultrasparc | .v7 | .v8 | .v9)
3422 target_cpu_default2="TARGET_CPU_$with_cpu"
3425 if test x$pass2done = xyes
3427 echo "Unknown cpu used with --with-cpu=$with_cpu" 1>&2
3435 if test "$target_cpu_default2" != ""
3437 if test "$target_cpu_default" != ""
3439 target_cpu_default="(${target_cpu_default}|${target_cpu_default2})"
3441 target_cpu_default=$target_cpu_default2
3445 # No need for collect2 if we have the GNU linker.
3446 # Actually, there is now; GNU ld doesn't handle the EH info or
3447 # collecting for shared libraries.
3454 # Save data on machine being used to compile GCC in build_xm_file.
3455 # Save data on host machine in vars host_xm_file and host_xmake_file.
3456 if test x$pass1done = x
3458 if test x"$xm_file" = x
3459 then build_xm_file=$cpu_type/xm-$cpu_type.h
3460 else build_xm_file=$xm_file
3462 build_xm_defines=$xm_defines
3463 build_install_headers_dir=$install_headers_dir
3464 build_exeext=$exeext
3467 if test x$pass2done = x
3469 if test x"$xm_file" = x
3470 then host_xm_file=$cpu_type/xm-$cpu_type.h
3471 else host_xm_file=$xm_file
3473 host_xm_defines=$xm_defines
3474 if test x"$xmake_file" = x
3475 then xmake_file=$cpu_type/x-$cpu_type
3477 host_xmake_file="$xmake_file"
3478 host_truncate_target=$truncate_target
3479 host_extra_gcc_objs=$extra_gcc_objs
3480 host_extra_objs=$extra_host_objs
3487 extra_objs="${host_extra_objs} ${extra_objs}"
3489 # Default the target-machine variables that were not explicitly set.
3490 if test x"$tm_file" = x
3491 then tm_file=$cpu_type/$cpu_type.h; fi
3493 if test x$extra_headers = x
3494 then extra_headers=; fi
3496 if test x"$xm_file" = x
3497 then xm_file=$cpu_type/xm-$cpu_type.h; fi
3499 if test x$md_file = x
3500 then md_file=$cpu_type/$cpu_type.md; fi
3502 if test x$out_file = x
3503 then out_file=$cpu_type/$cpu_type.c; fi
3505 if test x"$tmake_file" = x
3506 then tmake_file=$cpu_type/t-$cpu_type
3509 if test x"$dwarf2" = xyes
3510 then tm_file="tm-dwarf2.h $tm_file"
3513 if test x$float_format = x
3514 then float_format=i64
3517 if test $float_format = none
3518 then float_h_file=Makefile.in
3519 else float_h_file=float-$float_format.h
3522 if test x$enable_haifa = x
3525 alpha*-* | hppa*-* | powerpc*-* | rs6000-* | *sparc*-* | m32r*-*)
3530 # Handle cpp installation.
3531 if [[ x$enable_cpp != x ]]
3533 tmake_file="$tmake_file t-install-cpp"
3536 # Say what files are being used for the output code and MD file.
3537 echo "Using \`$srcdir/config/$out_file' to output insns."
3538 echo "Using \`$srcdir/config/$md_file' as machine description file."
3541 for f in $tm_file; do
3544 if test $count = ax; then
3545 echo "Using \`$srcdir/config/$tm_file' as target machine macro file."
3547 echo "Using the following target machine macro files:"
3548 for f in $tm_file; do
3549 echo " $srcdir/config/$f"
3554 for f in $host_xm_file; do
3557 if test $count = ax; then
3558 echo "Using \`$srcdir/config/$host_xm_file' as host machine macro file."
3560 echo "Using the following host machine macro files:"
3561 for f in $host_xm_file; do
3562 echo " $srcdir/config/$f"
3566 if test "$host_xm_file" != "$build_xm_file"; then
3568 for f in $build_xm_file; do
3571 if test $count = ax; then
3572 echo "Using \`$srcdir/config/$build_xm_file' as build machine macro file."
3574 echo "Using the following build machine macro files:"
3575 for f in $build_xm_file; do
3576 echo " $srcdir/config/$f"
3581 if test x$thread_file = x; then
3582 if test x$target_thread_file != x; then
3583 thread_file=$target_thread_file
3585 thread_file='single'
3589 # Set up the header files.
3590 # $links is the list of header files to create.
3591 # $vars is the list of shell variables with file names to include.
3592 # auto-host.h is the file containing items generated by autoconf and is
3593 # the first file included by config.h.
3595 host_xm_file="auto-host.h gansidecl.h ${host_xm_file} hwint.h"
3597 # If host=build, it is correct to have hconfig include auto-host.h
3598 # as well. If host!=build, we are in error and need to do more
3599 # work to find out the build config parameters.
3600 if test x$host = x$build
3602 build_xm_file="auto-host.h gansidecl.h ${build_xm_file} hwint.h"
3604 # We create a subdir, then run autoconf in the subdir.
3605 # To prevent recursion we set host and build for the new
3606 # invocation of configure to the build for this invocation
3613 /*) realsrcdir=${srcdir};;
3614 *) realsrcdir=../${srcdir};;
3616 CC=${CC_FOR_BUILD} ${realsrcdir}/configure \
3617 --target=$target --host=$build --build=$build
3619 # We just finished tests for the build machine, so rename
3620 # the file auto-build.h in the gcc directory.
3621 mv auto-host.h ../auto-build.h
3624 build_xm_file="auto-build.h gansidecl.h ${build_xm_file} hwint.h"
3627 xm_file="gansidecl.h ${xm_file}"
3628 tm_file="gansidecl.h ${tm_file}"
3630 vars="host_xm_file tm_file xm_file build_xm_file"
3631 links="config.h tm.h tconfig.h hconfig.h"
3632 defines="host_xm_defines null_defines xm_defines build_xm_defines"
3635 if test -f config.status; then mv -f config.status config.bak; fi
3638 while test -n "$vars"
3640 set $vars; var=$1; shift; vars=$*
3641 set $links; link=$1; shift; links=$*
3642 set $defines; define=$1; shift; defines=$*
3646 # Define TARGET_CPU_DEFAULT if the system wants one.
3647 # This substitutes for lots of *.h files.
3648 if test "$target_cpu_default" != "" -a $link = tm.h
3650 echo "#define TARGET_CPU_DEFAULT ($target_cpu_default)" >>$link
3653 for file in `eval echo '$'$var`; do
3658 echo '#ifdef IN_GCC' >>$link
3661 echo "#include \"$file\"" >>$link
3666 echo '#endif' >>$link
3671 for def in `eval echo '$'$define`; do
3672 echo "#ifndef $def" >>$link
3673 echo "#define $def" >>$link
3674 echo "#endif" >>$link
3678 # Truncate the target if necessary
3679 if test x$host_truncate_target != x; then
3680 target=`echo $target | sed -e 's/\(..............\).*/\1/'`
3683 # Get the version trigger filename from the toplevel
3684 if test "${with_gcc_version_trigger+set}" = set; then
3685 gcc_version_trigger=$with_gcc_version_trigger
3687 gcc_version_trigger=${srcdir}/version.c
3690 gcc_version=`sed -e 's/.*\"\([^ \"]*\)[ \"].*/\1/' < ${gcc_version_trigger}`
3693 # Internationalization
3695 VERSION="$gcc_version"
3696 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
3697 AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
3703 # NLS support is still experimental, so disable it by default for now.
3705 [ --enable-nls use Native Language Support (disabled by default)],
3709 XGETTEXT="AWK='$AWK' \$(SHELL) \$(top_srcdir)/exgettext $XGETTEXT"
3711 # Get an absolute path to the GCC top-level source directory
3717 # Conditionalize the makefile for this host machine.
3718 # Make-host contains the concatenation of all host makefile fragments
3719 # [there can be more than one]. This file is built by configure.frag.
3720 host_overrides=Make-host
3721 dep_host_xmake_file=
3722 for f in .. ${host_xmake_file}
3724 if test -f ${srcdir}/config/$f
3726 dep_host_xmake_file="${dep_host_xmake_file} ${srcdir}/config/$f"
3730 # Conditionalize the makefile for this target machine.
3731 # Make-target contains the concatenation of all host makefile fragments
3732 # [there can be more than one]. This file is built by configure.frag.
3733 target_overrides=Make-target
3735 for f in .. ${tmake_file}
3737 if test -f ${srcdir}/config/$f
3739 dep_tmake_file="${dep_tmake_file} ${srcdir}/config/$f"
3743 # If the host doesn't support symlinks, modify CC in
3744 # FLAGS_TO_PASS so CC="stage1/xgcc -Bstage1/" works.
3745 # Otherwise, we can use "CC=$(CC)".
3747 if $symbolic_link $srcdir/gcc.c symtest.tem 2>/dev/null
3749 cc_set_by_configure="\$(CC)"
3750 quoted_cc_set_by_configure="\$(CC)"
3751 stage_prefix_set_by_configure="\$(STAGE_PREFIX)"
3754 if cp -p $srcdir/gcc.c symtest.tem 2>/dev/null
3756 symbolic_link="cp -p"
3760 cc_set_by_configure="\`case '\$(CC)' in stage*) echo '\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\$(CC)';; esac\`"
3761 quoted_cc_set_by_configure="\\\`case '\\\$(CC)' in stage*) echo '\\\$(CC)' | sed -e 's|stage|../stage|g';; *) echo '\\\$(CC)';; esac\\\`"
3762 stage_prefix_set_by_configure="\`case '\$(STAGE_PREFIX)' in stage*) echo '\$(STAGE_PREFIX)' | sed -e 's|stage|../stage|g';; *) echo '\$(STAGE_PREFIX)';; esac\`"
3766 out_object_file=`basename $out_file .c`.o
3769 for f in $tm_file; do
3772 tm_file_list="${tm_file_list} $f" ;;
3773 *) tm_file_list="${tm_file_list} \$(srcdir)/config/$f" ;;
3778 for f in $host_xm_file; do
3780 auto-host.h | gansidecl.h | hwint.h )
3781 host_xm_file_list="${host_xm_file_list} $f" ;;
3782 *) host_xm_file_list="${host_xm_file_list} \$(srcdir)/config/$f" ;;
3787 for f in $build_xm_file; do
3789 auto-build.h | auto-host.h | gansidecl.h | hwint.h )
3790 build_xm_file_list="${build_xm_file_list} $f" ;;
3791 *) build_xm_file_list="${build_xm_file_list} \$(srcdir)/config/$f" ;;
3795 # Define macro CROSS_COMPILE in compilation
3796 # if this is a cross-compiler.
3797 # Also use all.cross instead of all.internal
3798 # and add cross-make to Makefile.
3799 cross_overrides="/dev/null"
3800 if test x$host != x$target
3802 cross_defines="CROSS=-DCROSS_COMPILE"
3803 cross_overrides="${topdir}/cross-make"
3806 # When building gcc with a cross-compiler, we need to fix a few things.
3807 # This must come after cross-make as we want all.build to override
3809 build_overrides="/dev/null"
3810 if test x$build != x$host
3812 build_overrides="${topdir}/build-make"
3815 # Expand extra_headers to include complete path.
3816 # This substitutes for lots of t-* files.
3818 if test "x$extra_headers" = x
3821 # Prepend ${srcdir}/ginclude/ to every entry in extra_headers.
3822 for file in $extra_headers;
3824 extra_headers_list="${extra_headers_list} \$(srcdir)/ginclude/${file}"
3828 if test x$use_collect2 = xno; then
3832 # Add a definition of USE_COLLECT2 if system wants one.
3833 # Also tell toplev.c what to do.
3834 # This substitutes for lots of t-* files.
3835 if test x$use_collect2 = x
3840 will_use_collect2="collect2"
3841 maybe_use_collect2="-DUSE_COLLECT2"
3845 # Set MD_DEPS if the real md file is in md.pre-cpp.
3846 # Set MD_CPP to the cpp to pass the md file through. Md files use ';'
3847 # for line oriented comments, so we must always use a GNU cpp. If
3848 # building gcc with a cross compiler, use the cross compiler just
3849 # built. Otherwise, we can use the cpp just built.
3851 if test "x$md_cppflags" = x
3853 md_file_sub=$srcdir/config/$md_file
3858 # If we have gas in the build tree, make a link to it.
3859 if test -f ../gas/Makefile; then
3860 rm -f as; $symbolic_link ../gas/as-new$host_exeext as$host_exeext 2>/dev/null
3863 # If we have nm in the build tree, make a link to it.
3864 if test -f ../binutils/Makefile; then
3865 rm -f nm; $symbolic_link ../binutils/nm-new$host_exeext nm$host_exeext 2>/dev/null
3868 # If we have ld in the build tree, make a link to it.
3869 if test -f ../ld/Makefile; then
3870 # if test x$use_collect2 = x; then
3871 # rm -f ld; $symbolic_link ../ld/ld-new$host_exeext ld$host_exeext 2>/dev/null
3873 rm -f collect-ld; $symbolic_link ../ld/ld-new$host_exeext collect-ld$host_exeext 2>/dev/null
3877 # Figure out what assembler alignment features are present.
3878 AC_MSG_CHECKING(assembler alignment features)
3880 gcc_cv_as_alignment_features=
3881 gcc_cv_as_gas_srcdir=`echo $srcdir | sed -e 's,/gcc$,,'`/gas
3882 if test -x "$DEFAULT_ASSEMBLER"; then
3883 gcc_cv_as="$DEFAULT_ASSEMBLER"
3884 elif test -x "$AS"; then
3886 elif test -x as$host_exeext; then
3887 # Build using assembler in the current directory.
3888 gcc_cv_as=./as$host_exeext
3889 elif test -f $gcc_cv_as_gas_srcdir/configure.in -a -f ../gas/Makefile; then
3890 # Single tree build which includes gas.
3891 for f in $gcc_cv_as_gas_srcdir/configure $gcc_cv_as_gas_srcdir/configure.in $gcc_cv_as_gas_srcdir/Makefile.in
3894 gcc_cv_gas_version=`grep '^VERSION=[0-9]*\.[0-9]*' $f`
3896 if test x$gcc_cv_gas_version != x; then
3901 gcc_cv_gas_major_version=`expr "$gcc_cv_gas_version" : "VERSION=\([0-9]*\)"`
3902 gcc_cv_gas_minor_version=`expr "$gcc_cv_gas_version" : "VERSION=[0-9]*\.\([0-9]*\)"`
3904 if test x$gcc_cv_gas_major_version != x -a x$gcc_cv_gas_minor_version != x; then
3905 # Gas version 2.6 and later support for .balign and .p2align.
3906 # bytes to skip when using .p2align.
3907 if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 6 -o "$gcc_cv_gas_major_version" -gt 2; then
3908 gcc_cv_as_alignment_features=".balign and .p2align"
3909 AC_DEFINE(HAVE_GAS_BALIGN_AND_P2ALIGN)
3911 # Gas version 2.8 and later support specifying the maximum
3912 # bytes to skip when using .p2align.
3913 if test "$gcc_cv_gas_major_version" -eq 2 -a "$gcc_cv_gas_minor_version" -ge 8 -o "$gcc_cv_gas_major_version" -gt 2; then
3914 gcc_cv_as_alignment_features=".p2align including maximum skip"
3915 AC_DEFINE(HAVE_GAS_MAX_SKIP_P2ALIGN)
3918 elif test x$host = x$target; then
3920 gcc_cv_as=as$host_exeext
3922 if test x$gcc_cv_as != x; then
3923 # Check if we have .balign and .p2align
3924 echo ".balign 4" > conftest.s
3925 echo ".p2align 2" >> conftest.s
3926 if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
3927 gcc_cv_as_alignment_features=".balign and .p2align"
3928 AC_DEFINE(HAVE_GAS_BALIGN_AND_P2ALIGN)
3930 rm -f conftest.s conftest.o
3931 # Check if specifying the maximum bytes to skip when
3932 # using .p2align is supported.
3933 echo ".p2align 4,,7" > conftest.s
3934 if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
3935 gcc_cv_as_alignment_features=".p2align including maximum skip"
3936 AC_DEFINE(HAVE_GAS_MAX_SKIP_P2ALIGN)
3938 rm -f conftest.s conftest.o
3940 AC_MSG_RESULT($gcc_cv_as_alignment_features)
3942 AC_MSG_CHECKING(assembler subsection support)
3943 gcc_cv_as_subsections=
3944 if test x$gcc_cv_as != x; then
3945 # Check if we have .subsection
3946 echo ".subsection 1" > conftest.s
3947 if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
3948 gcc_cv_as_subsections=".subsection"
3949 if test -x nm$host_exeext; then
3950 gcc_cv_nm=./nm$host_exeext
3951 elif test x$host = x$target; then
3953 gcc_cv_nm=nm$host_exeext
3955 if test x$gcc_cv_nm != x; then
3956 cat > conftest.s <<EOF
3957 conftest_label1: .word 0
3959 conftest_label2: .word 0
3962 if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
3963 $gcc_cv_nm conftest.o | grep conftest_label1 > conftest.nm1
3964 $gcc_cv_nm conftest.o | grep conftest_label2 | sed -e 's/label2/label1/' > conftest.nm2
3965 if cmp conftest.nm1 conftest.nm2 > /dev/null 2>&1; then
3968 gcc_cv_as_subsections="working .subsection -1"
3969 AC_DEFINE(HAVE_GAS_SUBSECTION_ORDERING)
3974 rm -f conftest.s conftest.o conftest.nm1 conftest.nm2
3976 AC_MSG_RESULT($gcc_cv_as_subsections)
3978 AC_MSG_CHECKING(assembler instructions)
3979 gcc_cv_as_instructions=
3980 if test x$gcc_cv_as != x; then
3981 set "filds fists" "filds mem; fists mem"
3984 echo "$2" > conftest.s
3985 if $gcc_cv_as -o conftest.o conftest.s > /dev/null 2>&1; then
3986 gcc_cv_as_instructions=${gcc_cv_as_instructions}$1" "
3987 AC_DEFINE_UNQUOTED(HAVE_GAS_`echo "$1" | tr '[a-z ]' '[A-Z_]'`)
3991 rm -f conftest.s conftest.o
3993 AC_MSG_RESULT($gcc_cv_as_instructions)
3995 # Figure out what language subdirectories are present.
3996 # Look if the user specified --enable-languages="..."; if not, use
3997 # the environment variable $LANGUAGES if defined. $LANGUAGES might
3999 if test x"${enable_languages+set}" != xset; then
4000 if test x"${LANGUAGES+set}" = xset; then
4001 enable_languages="`echo ${LANGUAGES} | tr ' ' ','`"
4003 enable_languages=all
4007 for lang in ${srcdir}/*/config-lang.in ..
4011 # The odd quoting in the next line works around
4012 # an apparent bug in bash 1.12 on linux.
4014 ${srcdir}/[*]/config-lang.in) ;;
4016 lang_alias=`sed -n -e 's,^language=['"'"'"'"]\(.*\)["'"'"'"'].*$,\1,p' -e 's,^language=\([^ ]*\).*$,\1,p' $lang`
4017 if test "x$lang_alias" = x
4019 echo "$lang doesn't set \$language." 1>&2
4022 if test x"${enable_languages}" = xall; then
4025 case "${enable_languages}" in
4026 ${lang_alias} | "${lang_alias},"* | *",${lang_alias},"* | *",${lang_alias}" )
4034 if test x"${add_this_lang}" = xyes; then
4036 ${srcdir}/ada/config-lang.in)
4037 if test x$gnat = xyes ; then
4038 subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
4042 subdirs="$subdirs `echo $lang | sed -e 's,^.*/\([^/]*\)/config-lang.in$,\1,'`"
4051 # Make gthr-default.h if we have a thread file.
4053 if test $thread_file != single; then
4054 rm -f gthr-default.h
4055 echo "#include \"gthr-${thread_file}.h\"" > gthr-default.h
4056 gthread_flags=-DHAVE_GTHR_DEFAULT
4058 AC_SUBST(gthread_flags)
4060 # Make empty files to contain the specs and options for each language.
4061 # Then add #include lines to for a compiler that has specs and/or options.
4066 rm -f specs.h options.h gencheck.h
4067 touch specs.h options.h gencheck.h
4068 for subdir in . $subdirs
4070 if test -f $srcdir/$subdir/lang-specs.h; then
4071 echo "#include \"$subdir/lang-specs.h\"" >>specs.h
4072 lang_specs_files="$lang_specs_files $srcdir/$subdir/lang-specs.h"
4074 if test -f $srcdir/$subdir/lang-options.h; then
4075 echo "#include \"$subdir/lang-options.h\"" >>options.h
4076 lang_options_files="$lang_options_files $srcdir/$subdir/lang-options.h"
4078 if test -f $srcdir/$subdir/$subdir-tree.def; then
4079 echo "#include \"$subdir/$subdir-tree.def\"" >>gencheck.h
4080 lang_tree_files="$lang_tree_files $srcdir/$subdir/$subdir-tree.def"
4084 # These (without "all_") are set in each config-lang.in.
4085 # `language' must be a single word so is spelled singularly.
4091 all_outputs='Makefile intl/Makefile po/Makefile.in fixinc/Makefile'
4092 # List of language makefile fragments.
4097 # Add the language fragments.
4098 # Languages are added via two mechanisms. Some information must be
4099 # recorded in makefile variables, these are defined in config-lang.in.
4100 # We accumulate them and plug them into the main Makefile.
4101 # The other mechanism is a set of hooks for each of the main targets
4102 # like `clean', `install', etc.
4104 language_fragments="Make-lang"
4105 language_hooks="Make-hooks"
4108 for s in .. $subdirs
4120 . ${srcdir}/$s/config-lang.in
4121 if test "x$language" = x
4123 echo "${srcdir}/$s/config-lang.in doesn't set \$language." 1>&2
4126 all_lang_makefiles="$all_lang_makefiles ${srcdir}/$s/Make-lang.in ${srcdir}/$s/Makefile.in"
4127 all_languages="$all_languages $language"
4128 if test "x$boot_language" = xyes
4130 all_boot_languages="$all_boot_languages $language"
4132 all_compilers="$all_compilers $compilers"
4133 all_stagestuff="$all_stagestuff $stagestuff"
4134 all_diff_excludes="$all_diff_excludes $diff_excludes"
4135 all_headers="$all_headers $headers"
4136 all_outputs="$all_outputs $outputs"
4137 if test x$outputs = x
4139 oldstyle_subdirs="$oldstyle_subdirs $s"
4141 all_lib2funcs="$all_lib2funcs $lib2funcs"
4145 # Since we can't use `::' targets, we link each language in
4146 # with a set of hooks, reached indirectly via lang.${target}.
4150 target_list="all.build all.cross start.encap rest.encap \
4152 install-normal install-common install-info install-man \
4154 mostlyclean clean distclean extraclean maintainer-clean \
4155 stage1 stage2 stage3 stage4"
4156 for t in $target_list
4159 for lang in .. $all_languages
4161 if test $lang != ".."; then
4165 echo "lang.$t: $x" >> Make-hooks
4168 # If we're not building in srcdir, create .gdbinit.
4170 if test ! -f Makefile.in; then
4171 echo "dir ." > .gdbinit
4172 echo "dir ${srcdir}" >> .gdbinit
4173 if test x$gdb_needs_out_file_path = xyes
4175 echo "dir ${srcdir}/config/"`dirname ${out_file}` >> .gdbinit
4177 if test "x$subdirs" != x; then
4180 echo "dir ${srcdir}/$s" >> .gdbinit
4183 echo "source ${srcdir}/.gdbinit" >> .gdbinit
4186 # Define variables host_canonical and build_canonical
4187 # because some Cygnus local changes in the Makefile depend on them.
4188 build_canonical=${build}
4189 host_canonical=${host}
4191 if test "${host}" != "${target}" ; then
4192 target_subdir=${target}/
4194 AC_SUBST(build_canonical)
4195 AC_SUBST(host_canonical)
4196 AC_SUBST(target_subdir)
4198 # If this is using newlib, then define inhibit_libc in
4199 # LIBGCC2_CFLAGS. This will cause __eprintf to be left out of
4200 # libgcc.a, but that's OK because newib should have its own version of
4203 if test x$with_newlib = xyes; then
4204 inhibit_libc=-Dinhibit_libc
4206 AC_SUBST(inhibit_libc)
4208 # Override SCHED_OBJ and SCHED_CFLAGS to enable the Haifa scheduler.
4211 if test x$enable_haifa = xyes; then
4212 echo "Using the Haifa scheduler."
4214 sched_cflags=-DHAIFA
4216 AC_SUBST(sched_prefix)
4217 AC_SUBST(sched_cflags)
4218 if test x$enable_haifa != x; then
4219 # Explicitly remove files that need to be recompiled for the Haifa scheduler.
4220 for x in genattrtab.o toplev.o *sched.o; do
4228 # If $(exec_prefix) exists and is not the same as $(prefix), then compute an
4229 # absolute path for gcc_tooldir based on inserting the number of up-directory
4230 # movements required to get from $(exec_prefix) to $(prefix) into the basic
4231 # $(libsubdir)/@(unlibsubdir) based path.
4232 # Don't set gcc_tooldir to tooldir since that's only passed in by the toplevel
4233 # make and thus we'd get different behavior depending on where we built the
4235 if test x$exec_prefix = xNONE -o x$exec_prefix = x$prefix; then
4236 gcc_tooldir='$(libsubdir)/$(unlibsubdir)/../$(target_alias)'
4238 changequote(<<, >>)dnl
4239 # An explanation of the sed strings:
4240 # -e 's|^\$(prefix)||' matches and eliminates 'prefix' from 'exec_prefix'
4241 # -e 's|/$||' match a trailing forward slash and eliminates it
4242 # -e 's|^[^/]|/|' forces the string to start with a forward slash (*)
4243 # -e 's|/[^/]*|../|g' replaces each occurance of /<directory> with ../
4245 # (*) Note this pattern overwrites the first character of the string
4246 # with a forward slash if one is not already present. This is not a
4247 # problem because the exact names of the sub-directories concerned is
4248 # unimportant, just the number of them matters.
4250 # The practical upshot of these patterns is like this:
4252 # prefix exec_prefix result
4253 # ------ ----------- ------
4255 # /foo/ /foo/bar ../
4256 # /foo /foo/bar/ ../
4257 # /foo/ /foo/bar/ ../
4258 # /foo /foo/bar/ugg ../../
4261 gcc_tooldir="\$(libsubdir)/\$(unlibsubdir)/\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/\$(dollar)||' -e 's|^[^/]|/|' -e 's|/[^/]*|../|g'\`\$(target_alias)"
4262 changequote([, ])dnl
4264 AC_SUBST(gcc_tooldir)
4267 # Nothing to do for FLOAT_H, float_format already handled.
4271 # Process the language and host/target makefile fragments.
4272 ${CONFIG_SHELL-/bin/sh} $srcdir/configure.frag $srcdir "$subdirs" "$dep_host_xmake_file" "$dep_tmake_file"
4274 # Substitute configuration variables
4276 AC_SUBST(all_boot_languages)
4277 AC_SUBST(all_compilers)
4278 AC_SUBST(all_diff_excludes)
4279 AC_SUBST(all_headers)
4280 AC_SUBST(all_lang_makefiles)
4281 AC_SUBST(all_languages)
4282 AC_SUBST(all_lib2funcs)
4283 AC_SUBST(all_stagestuff)
4284 AC_SUBST(build_exeext)
4285 AC_SUBST(build_install_headers_dir)
4286 AC_SUBST(build_xm_file_list)
4287 AC_SUBST(cc_set_by_configure)
4288 AC_SUBST(quoted_cc_set_by_configure)
4289 AC_SUBST(cpp_install_dir)
4291 AC_SUBST(dep_host_xmake_file)
4292 AC_SUBST(dep_tmake_file)
4293 AC_SUBST(extra_c_flags)
4294 AC_SUBST(extra_c_objs)
4295 AC_SUBST(extra_cpp_objs)
4296 AC_SUBST(extra_cxx_objs)
4297 AC_SUBST(extra_headers_list)
4298 AC_SUBST(extra_objs)
4299 AC_SUBST(extra_parts)
4300 AC_SUBST(extra_passes)
4301 AC_SUBST(extra_programs)
4302 AC_SUBST(fixinc_defs)
4303 AC_SUBST(float_h_file)
4304 AC_SUBST(gcc_gxx_include_dir)
4305 AC_SUBST(gcc_version)
4306 AC_SUBST(gcc_version_trigger)
4307 AC_SUBST(host_exeext)
4308 AC_SUBST(host_extra_gcc_objs)
4309 AC_SUBST(host_xm_file_list)
4312 AC_SUBST(lang_options_files)
4313 AC_SUBST(lang_specs_files)
4314 AC_SUBST(lang_tree_files)
4315 AC_SUBST(local_prefix)
4316 AC_SUBST(maybe_use_collect2)
4318 AC_SUBST(objc_boehm_gc)
4320 AC_SUBST(out_object_file)
4321 AC_SUBST(stage_prefix_set_by_configure)
4322 AC_SUBST(symbolic_link)
4323 AC_SUBST(thread_file)
4324 AC_SUBST(tm_file_list)
4325 AC_SUBST(will_use_collect2)
4328 AC_SUBST_FILE(target_overrides)
4329 AC_SUBST_FILE(host_overrides)
4330 AC_SUBST(cross_defines)
4331 AC_SUBST_FILE(cross_overrides)
4332 AC_SUBST_FILE(build_overrides)
4333 AC_SUBST_FILE(language_fragments)
4334 AC_SUBST_FILE(language_hooks)
4336 # Echo that links are built
4337 if test x$host = x$target
4345 if test x$host != x$build
4347 str3=" on a $build system"
4350 if test "x$str2" != x || test "x$str3" != x
4355 echo "Links are now set up to build a ${str1}compiler for ${target}$str4" 1>&2
4357 if test "x$str2" != x || test "x$str3" != x
4359 echo " ${str2}${str3}." 1>&2
4362 # Truncate the target if necessary
4363 if test x$host_truncate_target != x; then
4364 target=`echo $target | sed -e 's/\(..............\).*/\1/'`
4367 # Configure the subdirectories
4368 # AC_CONFIG_SUBDIRS($subdirs)
4370 # Create the Makefile
4371 # and configure language subdirectories
4372 AC_OUTPUT($all_outputs,
4374 . $srcdir/configure.lang
4375 case x$CONFIG_HEADERS in
4376 xauto-host.h:config.in)
4379 # If the host supports symlinks, point stage[1234] at ../stage[1234] so
4380 # bootstrapping and the installation procedure can still use
4381 # CC="stage1/xgcc -Bstage1/". If the host doesn't support symlinks,
4382 # FLAGS_TO_PASS has been modified to solve the problem there.
4383 # This is virtually a duplicate of what happens in configure.lang; we do
4384 # an extra check to make sure this only happens if ln -s can be used.
4385 if test "$symbolic_link" = "ln -s"; then
4386 for d in .. ${subdirs} ; do
4387 if test $d != ..; then
4390 for t in stage1 stage2 stage3 stage4 include
4393 $symbolic_link ../$t $t 2>/dev/null
4399 # Avoid having to add intl to our include paths.
4400 if test -f intl/libintl.h; then
4401 echo creating libintl.h
4402 echo '#include "intl/libintl.h"' >libintl.h
4409 target_alias='${target_alias}'
4411 subdirs='${subdirs}'
4412 oldstyle_subdirs='${oldstyle_subdirs}'
4413 symbolic_link='${symbolic_link}'
4414 program_transform_set='${program_transform_set}'
4415 program_transform_name='${program_transform_name}'
4416 dep_host_xmake_file='${dep_host_xmake_file}'
4417 host_xmake_file='${host_xmake_file}'
4418 dep_tmake_file='${dep_tmake_file}'
4419 tmake_file='${tmake_file}'
4420 thread_file='${thread_file}'
4421 gcc_version='${gcc_version}'
4422 gcc_version_trigger='${gcc_version_trigger}'
4423 local_prefix='${local_prefix}'
4424 build_install_headers_dir='${build_install_headers_dir}'
4425 build_exeext='${build_exeext}'
4426 host_exeext='${host_exeext}'
4427 out_file='${out_file}'
4428 gdb_needs_out_file_path='${gdb_needs_out_file_path}'
4429 SET_MAKE='${SET_MAKE}'
4430 target_list='${target_list}'
4431 target_overrides='${target_overrides}'
4432 host_overrides='${host_overrides}'
4433 cross_defines='${cross_defines}'
4434 cross_overrides='${cross_overrides}'
4435 build_overrides='${build_overrides}'
4436 cpp_install_dir='${cpp_install_dir}'