* config.gcc: Set default for xmake_file at top, not bottom.
Change places that set xmake_file to "none" to set to the
empty string instead, or remove them entirely if there is no
default xmake_file for this cpu_type. Remove references to
deleted files.
* config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi,
config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000,
config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3,
config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix,
config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds,
config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas,
config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1,
config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach,
config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx,
config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4:
Delete.
* config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf,
config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
config/mips/x-sysv, config/rs6000/x-aix31:
Just set CLIB to -lld or -lmld, as appropriate.
* config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux,
config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320,
config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux,
config/mips/x-iris, config/pa/x-pa:
Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO,
OTHER_FIXINCLUDES_DIRS.
* config/i386/x-djgpp: Don't set LN or LN_S.
* config/m88k/x-dolph: Don't define __m88k__.
* config/m88k/x-tekXD88: Don't set AR_FLAGS.
* config/pa/x-pa-mpeix: Just set up quadlib.asm.
* config/i860/fx2800.h: No need to #undef SVR4.
38 x-host fragments remain, 2 x-cpu.
From-SVN: r41181
+2001-04-07 Zack Weinberg <zackw@stanford.edu>
+
+ * config.gcc: Set default for xmake_file at top, not bottom.
+ Change places that set xmake_file to "none" to set to the
+ empty string instead, or remove them entirely if there is no
+ default xmake_file for this cpu_type. Remove references to
+ deleted files.
+
+ * config/x-lynx, config/convex/x-convex, config/elxsi/x-elxsi,
+ config/i386/x-isc, config/i386/x-isc3, config/i386/x-ncr3000,
+ config/i386/x-next, config/i386/x-sco, config/i386/x-sysv3,
+ config/i386/x-vsta, config/i860/x-sysv4, config/m68k/x-amix,
+ config/m68k/x-apollo68, config/m68k/x-ccur, config/m68k/x-crds,
+ config/m68k/x-hp2bsd, config/m68k/x-mot3300, config/m68k/x-mot3300-gas,
+ config/m68k/x-tower, config/m88k/x-sysv4, config/mips/x-dec-osf1,
+ config/mips/x-sni-svr4, config/mips/x-ultrix, config/romp/x-mach,
+ config/romp/x-romp, config/rs6000/x-beos, config/rs6000/x-lynx,
+ config/rs6000/x-mach, config/rs6000/x-sysv4, config/sparc/x-sysv4:
+ Delete.
+
+ * config/a29k/x-unix, config/i386/x-aix, config/i386/x-osf1elf,
+ config/i386/x-osfrose, config/m68k/x-dpx2, config/mips/x-iris3,
+ config/mips/x-mips, config/mips/x-osfrose, config/mips/x-sony,
+ config/mips/x-sysv, config/rs6000/x-aix31:
+ Just set CLIB to -lld or -lmld, as appropriate.
+
+ * config/arm/x-riscix, config/i370/x-oe, config/i386/x-dgux,
+ config/i386/x-sco4, config/i386/x-sco5, config/m68k/x-hp320,
+ config/m68k/x-hp320g, config/m68k/x-next, config/m88k/x-dgux,
+ config/mips/x-iris, config/pa/x-pa:
+ Just set (some of) FIXPROTO_DEFINES, STMP_FIXPROTO,
+ OTHER_FIXINCLUDES_DIRS.
+
+ * config/i386/x-djgpp: Don't set LN or LN_S.
+ * config/m88k/x-dolph: Don't define __m88k__.
+ * config/m88k/x-tekXD88: Don't set AR_FLAGS.
+ * config/pa/x-pa-mpeix: Just set up quadlib.asm.
+ * config/i860/fx2800.h: No need to #undef SVR4.
+
+ 38 x-host fragments remain, 2 x-cpu.
+
2001-04-07 Herman A.J. ten Brugge <Haj.Ten.Brugge@net.HCC.nl>
* c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4.
* configure.in: Add check for lstat.
* configure, config.in: Regenerate.
* cppinit.c (append_include_chain): Make empty path ".".
- * cpplib.c (do_line): Don't simplify #line paths.
- * cppfiles.c (remove_component_p): New function.
+ * cpplib.c (do_line): Don't simplify #line paths.
+ * cppfiles.c (remove_component_p): New function.
(find_or_create_entry): Acknowledge stat () errors during
path simplification.
(handle_missing_header): Don't simplify paths.
- (_cpp_simplify_pathname): Don't simplify VMS paths. Return
- the empty path untouched. Don't leave a trailing '/'.
+ (_cpp_simplify_pathname): Don't simplify VMS paths. Return
+ the empty path untouched. Don't leave a trailing '/'.
2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
-
+
* cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
* Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add.
Thu Apr 5 13:44:17 2001 J"orn Rennecke <amylaar@redhat.com>
- * i386.md (*andsi_1+3): If used after reload, make sure the operand
+ * i386.md (*andsi_1+3): If used after reload, make sure the operand
satisfies ANY_QI_REG_P.
2001-04-05 Bernd Schmidt <bernds@redhat.com>
esac
tm_file=${cpu_type}/${cpu_type}.h
-if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-protos.h;
+if test -f ${srcdir}/config/${cpu_type}/${cpu_type}-protos.h
then
- tm_p_file=${cpu_type}/${cpu_type}-protos.h;
+ tm_p_file=${cpu_type}/${cpu_type}-protos.h
+fi
+if test -f ${srcdir}/config/${cpu_type}/x-${cpu_type}
+then
+ xmake_file=${cpu_type}/x-${cpu_type}
fi
# On a.out targets, we need to use collect2.
case $machine in
tmake_file="t-libc-ok t-openbsd"
xm_defines=POSIX
# don't depend on processor x-fragments as well
- xmake_file=none
+ xmake_file=
if test x$enable_threads = xyes; then
thread_file='posix'
tmake_file="${tmake_file} t-openbsd-thread"
target_cpu_default="MASK_GAS"
tmake_file="alpha/t-alpha alpha/t-ieee"
gas=no
- xmake_file=none
gas=yes gnu_ld=yes
;;
alpha*-*-linux*libc1*)
target_cpu_default="MASK_GAS"
tmake_file="t-linux t-linux-gnulibc1 alpha/t-alpha alpha/t-crtbe alpha/t-ieee"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
- xmake_file=none
gas=yes gnu_ld=yes
if test x$enable_threads = xyes; then
thread_file='posix'
target_cpu_default="MASK_GAS"
tmake_file="t-linux alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
- xmake_file=none
gas=yes gnu_ld=yes
if test x$enable_threads = xyes; then
thread_file='posix'
target_cpu_default="MASK_GAS"
tmake_file="t-freebsd alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
- xmake_file=none
gas=yes gnu_ld=yes
stabs=yes
case x${enable_threads} in
target_cpu_default="MASK_GAS"
tmake_file="alpha/t-crtbe alpha/t-alpha alpha/t-ieee"
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"
- xmake_file=none
gas=yes gnu_ld=yes
;;
tm_file="${tm_file} pa/elf.h linux.h pa/pa-linux.h"
tmake_file="t-linux pa/t-linux"
extra_parts="crtbegin.o crtend.o"
- xmake_file=none
+ xmake_file=
gas=yes gnu_ld=yes
if test x$enable_threads = xyes; then
thread_file='posix'
;;
i[34567]86-ncr-sysv4*) # NCR 3000 - ix86 running system V.4
xm_defines="USG POSIX SMALL_ARG_MAX"
- xmake_file=i386/x-ncr3000
if test x$stabs = xyes -a x$gas = xyes
then
tm_file=i386/sysv4gdb.h
i[34567]86-next-*)
tm_file=i386/next.h
tmake_file=i386/t-next
- xmake_file=i386/x-next
extra_objs=nextstep.o
extra_parts="crtbegin.o crtend.o"
if test x$enable_threads = xyes; then
;;
i[34567]86-sequent-ptx1*)
xm_defines=USG
- xmake_file=i386/x-sysv3
tm_file=i386/seq-sysv3.h
tmake_file=i386/t-crtstuff
extra_parts="crtbegin.o crtend.o"
;;
i[34567]86-sequent-ptx2* | i[34567]86-sequent-sysv3*)
xm_defines=USG
- xmake_file=i386/x-sysv3
tm_file=i386/seq2-sysv3.h
tmake_file=i386/t-crtstuff
extra_parts="crtbegin.o crtend.o"
;;
i[34567]86-*-isc*) # 80386 running ISC system
xm_defines=USG
- case $machine in
- i[34567]86-*-isc[34]*)
- xmake_file=i386/x-isc3
- ;;
- *)
- xmake_file=i386/x-isc
- ;;
- esac
if test x$gas = xyes -a x$stabs = xyes
then
tm_file=i386/iscdbx.h
tm_file=i386/lynx-ng.h
fi
tmake_file=i386/t-i386bare
- xmake_file=x-lynx
;;
i[34567]86-*-mach*)
tm_file=i386/mach.h
# truncate_target=yes
;;
i[34567]86-*-sco*) # 80386 running SCO system
- xmake_file=i386/x-sco
install_headers_dir=install-headers-cpio
if test x$stabs = xyes
then
;;
i[34567]86-*-sysv*) # Intel 80386's running system V
xm_defines=USG
- xmake_file=i386/x-sysv3
if test x$gas = xyes
then
if test x$stabs = xyes
xm_file=i386/xm-vsta.h
tm_file=i386/vsta.h
tmake_file=i386/t-vsta
- xmake_file=i386/x-vsta
;;
i[34567]86-*-win32)
xm_defines=POSIX
i860-*-sysv4*)
tm_file="${tm_file} svr4.h i860/sysv4.h"
xm_defines=USG
- xmake_file=i860/x-sysv4
tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o"
;;
;;
m68000-hp-bsd*) # HP 9000/200 running BSD
tm_file=m68k/hp2bsd.h
- xmake_file=m68k/x-hp2bsd
use_collect2=yes
extra_headers=math-68881.h
;;
;;
m68k-apollo-*)
tm_file=m68k/apollo68.h
- xmake_file=m68k/x-apollo68
use_collect2=yes
extra_headers=math-68881.h
float_format=m68k
xm_defines=USG
if test x$gas = xyes
then
- xmake_file=m68k/x-mot3300-gas
if test x$gnu_ld = xyes
then
tmake_file=m68k/t-mot3300-gald
use_collect2=yes
fi
else
- xmake_file=m68k/x-mot3300
if test x$gnu_ld = xyes
then
tmake_file=m68k/t-mot3300-gld
m68k-ncr-sysv*) # NCR Tower 32 SVR3
tm_file=m68k/tower-as.h
xm_defines=USG
- xmake_file=m68k/x-tower
extra_parts="crtbegin.o crtend.o"
extra_headers=math-68881.h
;;
;;
m68k-crds-unos*)
xm_defines="USG unos"
- xmake_file=m68k/x-crds
tm_file=m68k/crds.h
use_collect2=yes
extra_headers=math-68881.h
m68k-cbm-sysv4*) # Commodore variant of V.4.
tm_file=m68k/amix.h
xm_defines=USG
- xmake_file=m68k/x-amix
tmake_file=t-svr4
extra_parts="crtbegin.o crtend.o"
extra_headers=math-68881.h
;;
m68k-ccur-rtu)
tm_file=m68k/ccur-GAS.h
- xmake_file=m68k/x-ccur
extra_headers=math-68881.h
use_collect2=yes
float_format=m68k
else
tm_file=m68k/lynx-ng.h
fi
- xmake_file=x-lynx
tmake_file=m68k/t-lynx
extra_headers=math-68881.h
float_format=m68k
xm_defines=USG
tm_file=m88k/sysv4.h
extra_parts="crtbegin.o crtend.o"
- xmake_file=m88k/x-sysv4
tmake_file=m88k/t-sysv4
;;
mcore-*-elf)
tm_file=mips/sni-svr4.h
fi
xm_defines=USG
- xmake_file=mips/x-sni-svr4
tmake_file=mips/t-mips-gas
if test x$gnu_ld != xyes
then
if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h"
fi
- xmake_file=mips/x-dec-osf1
if test x$gas = xyes
then
tmake_file=mips/t-mips-gas
if test x$stabs = xyes; then
tm_file="${tm_file} dbx.h"
fi
- xmake_file=mips/x-ultrix
if test x$gas = xyes
then
tmake_file=mips/t-mips-gas
use_collect2=yes
;;
romp-*-mach*)
- xmake_file=romp/x-mach
use_collect2=yes
;;
romp-*-openbsd*)
xm_defines=USG
xm_file=rs6000/xm-beos.h
tmake_file=rs6000/t-beos
- xmake_file=rs6000/x-beos
;;
powerpc-*-darwin*)
xm_file=rs6000/xm-darwin.h
xm_defines="USG POSIX"
extra_headers=ppc-asm.h
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
- xmake_file=rs6000/x-sysv4
;;
powerpc-*-chorusos*)
xm_defines=USG
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h"
xm_defines="USG POSIX"
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
- xmake_file=rs6000/x-sysv4
extra_headers=ppc-asm.h
;;
powerpcle-*-elf*)
tm_file="${tm_file} svr4.h rs6000/sysv4.h rs6000/sysv4le.h rs6000/sol2.h"
xm_defines="USG POSIX"
tmake_file="rs6000/t-ppcos rs6000/t-ppccomm"
- xmake_file=rs6000/x-sysv4
extra_headers=ppc-asm.h
;;
rs6000-ibm-aix3.[01]*)
rs6000-*-mach*)
tm_file=rs6000/mach.h
xm_defines=USG
- xmake_file=rs6000/x-mach
use_collect2=yes
;;
rs6000-*-lynxos*)
tm_file=rs6000/lynx.h
tmake_file=rs6000/t-rs6000
- xmake_file=rs6000/x-lynx
use_collect2=yes
;;
sh-*-elf*)
tm_file=sparc/lynx-ng.h
fi
tmake_file=sparc/t-sunos41
- xmake_file=x-lynx
;;
sparc-*-rtemsaout*)
tmake_file="sparc/t-sparcbare t-rtems"
else
tmake_file="$tmake_file sparc/t-slibgcc-sld"
fi
- xmake_file=sparc/x-sysv4
extra_parts="crt1.o crti.o crtn.o gcrt1.o crtbegin.o crtend.o"
float_format=none
if test x${enable_threads} = x ; then
else
tmake_file="$tmake_file sparc/t-slibgcc-sld"
fi
- xmake_file=sparc/x-sysv4
extra_parts="crt1.o crti.o crtn.o gmon.o crtbegin.o crtend.o"
case $machine in
*-*-solaris2.[0-4])
else
tmake_file="$tmake_file sparc/t-slibgcc-sld"
fi
- xmake_file=sparc/x-sysv4
extra_parts="crt1.o crti.o crtn.o gcrt1.o gmon.o crtbegin.o crtend.o"
# At the moment, 32-to-64 cross compilation doesn't work.
# case $machine in
tm_file=sparc/sysv4.h
xm_defines="USG POSIX"
tmake_file=t-svr4
- xmake_file=sparc/x-sysv4
extra_parts="crtbegin.o crtend.o"
;;
sparc-*-vxsim*)
xm_defines="USG POSIX"
tm_file=sparc/vxsim.h
tmake_file=sparc/t-vxsparc
- xmake_file=sparc/x-sysv4
;;
sparclet-*-aout*)
tm_file="sparc/splet.h libgloss.h"
then host_xm_file=$xm_file
fi
host_xm_defines=$xm_defines
- if test x"$xmake_file" = x
- then xmake_file=$cpu_type/x-$cpu_type
- fi
host_xmake_file="$xmake_file"
host_truncate_target=$truncate_target
host_extra_gcc_objs=$extra_gcc_objs
-# Needed for missing functions in Sym1.
-CLIB=-liberty -lld
+# Needed for collect2?
+CLIB=-lld
-# Define new names for the getopt library, so that we don't have to statically
-# link [un]protoize. We have dirent.h not sys/dir.h, so define POSIX.
-X_CFLAGS= -DPOSIX -Dopterr=gcc_opterr -Doptind=gcc_optind \
- -Dgetopt=gcc_getopt -Doptarg=gcc_optarg
-# Compile in BSD mode.
-OLDCC=/usr/ucb/cc
-CC=$(OLDCC)
FIXPROTO_DEFINES= -D_POSIX_SOURCE -D_XOPEN_C -D_BSD_C -D_XOPEN_SOURCE
+++ /dev/null
-# ld can make exe's c2-only if this lib is searched even though not loaded
-CCLIBFLAGS = -tm c1
-
-# Use -pcc to avoid surprises.
-CC = cc -pcc
+++ /dev/null
-# Our make needs a little help...
-MAKE=make
-
-# We don't support -g yet, so don't try and use it.
-CFLAGS =
-LIBGCC2_CFLAGS = -O2 $(GCC_CFLAGS)
-
-# Hide xmalloc so that it does not conflict with the one in libc.a, Ick!
-X_CFLAGS = -Dxmalloc=my_xmalloc
#
# Don't bother fixing up header files, they're wierd
-
STMP_FIXPROTO =
-
-# Set up to make using c89
-
-X_CFLAGS=-D_ALL_SOURCE
-CC=c89
-
-# Explicitly use libiberty
-
-CLIB=-liberty
-LDFLAGS=-L../libiberty
-
-# TAR Options
-# Please note that OpenEdition confuses tar and pax, and
-# thus uses the non-standard options 'xpf'
-
-TAROUTOPTS=xpf
-
-# If you are running out of memory while compiling gcc, with the standard
-# /bin/cc uncomment MALLOCLIB line. That version of malloc is slower but
-# has less overhead than the one in libc.
-#MALLOCLIB = -lmalloc
-
-# Uncomment out the next line if you want to link with the shareable libc_s.
-#CLIB_S = -lc_s
-
-CLIB = -lld $(MALLOCLIB) $(CLIB_S)
+CLIB = -lld
-#
-# host is ix86 running dgux
-#
-CC = /bin/gcc
-X_CFLAGS = -O -mstandard -mlegend
-BOOT_CFLAGS = -O2 -g -mstandard -mlegend $(CFLAGS)
-CLIB = -lw32
-RANLIB = true
-USER_H = $(EXTRA_HEADERS) $(LANG_EXTRA_HEADERS)
STMP_FIXPROTO =
-
# Location of DJGPP's header directory.
SYSTEM_HEADER_DIR=$(DJDIR)/include
-
-# on DJGPP the 'ln -s' does not work correctly
-LN = cp -p
-LN_S = cp -p
-
+++ /dev/null
-CLIB = -lPW -lcposix
-X_CFLAGS = -D_POSIX_SOURCE
-ENQUIRE_LDFLAGS = -posix $(LDFLAGS)
+++ /dev/null
-CLIB = -lPW
-# One person said it needs -DPOSIX_JC, but daa@CERF.NET says no.
-X_CFLAGS = -D_SYSV3 -Xp
-ENQUIRE_LDFLAGS = $(LDFLAGS)
+++ /dev/null
-# Makefile additions for the NCR3000 as host system.
-
-# Using -O with the AT&T compiler fails, with a message about a missing
-# /usr/ccs/lib/optim pass. So override the default in Makefile.in
-
-CCLIBFLAGS=
-
-## Supposedly not needed now that xm-sysv4.h includes alloc.h for Metaware.
-### NCR3000 ships with a MetaWare compiler installed as CC, which chokes and
-### dies all over the place on GCC source. However, the AT&T compiler,
-### crusty as it is, can be used to bootstrap GCC. It can be found in
-### /usr/ccs/ATT/cc. It is also used to compile the things that should
-### not be compiled with GCC.
-##
-##CC = /usr/ccs/ATT/cc
-##OLDCC = /usr/ccs/ATT/cc
-
-# The rest is just x-i386v4.
-
-# We used to build all stages *without* shared libraries because that may make
-# debugging the compiler easier (until there is a GDB which supports
-# both Dwarf *and* svr4 shared libraries).
-
-# But james@bigtex.cactus.org says that redefining GCC_CFLAGS causes trouble,
-# and that it is easy enough to debug using shared libraries.
-# CCLIBFLAGS=-Bstatic -dn -g
-# GCC_CFLAGS=-static -g -O2 -B./
+++ /dev/null
-# Make assignments for compiling on NeXT with their compiler version.
-CC=cc -traditional-cpp
-OLDCC=cc -traditional-cpp
-# Defaults for OSF/1 1.3+
-CC = $(OLDCC)
CLIB = -lld
-INSTALL = installbsd -c
-OLDCC = /usr/ccs/gcc/gcc
-X_CFLAGS = -static
-
-# FIXPROTO_DEFINES = -D_XOPEN_SOURCE
-# Define CC and OLDCC as the same, so that the tests:
-# if [ x"$(OLDCC)" = x"$(CC)" ] ...
-#
-# will succeed (if OLDCC != CC, it is assumed that GCC is
-# being used in secondary stage builds).
-
-BUILD =
-CC = $(OLDCC)
CLIB = -lld
-X_CFLAGS = $(DEB_OPT) $(MSTATS) $(X_DEFINES)
-X_CFLAGS_NODEBUG = $(NO_DEBUG) $(MSTATS) $(OPT) $(PROFILE) $(X_DEFINES) $(XCFLAGS)
-XCFLAGS = $(SHLIB)
-CPP_ABORT = # -Dabort=fancy_abort
-CPPFLAGS = $(CPP_ABORT) $(SYSTEM_INCLUDES)
-DEB_OPT = $(OPT) $(DEBUG) $(PROFILE)
-DEBUG =
-DEBUG_COLLECT = # -DDEBUG
-CCLIBFLAGS = -O -DNO_HALF_PIC
-GCC_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) -B./ -DPOSIX -DNO_HALF_PIC
-LDFLAGS =
-MSTATS = # -mstats
-OLDCC = /usr/ccs/gcc/gcc
-OPT = -O
-PROFILE =
-SHLIB = -pic-none
-SYSTEM_INCLUDES = # -I${BUILD}/usr/include
-X_DEFINES = -Dvfork=fork
+++ /dev/null
-RANLIB = :
-RANLIB_TEST = false
-CC = rcc $(RCCFLAGS)
-OLDCC = rcc $(RCCFLAGS)
-RCCFLAGS = -Dunix -Di386 -DM_UNIX -DM_I386 -DNULL=0
-CCLIBFLAGS =
-CLIB = -lmalloc -lPW
-RANLIB = :
-RANLIB_TEST = false
-CC = rcc $(RCCFLAGS)
-OLDCC = rcc $(RCCFLAGS)
-RCCFLAGS = -Dunix -Di386 -DM_UNIX -DM_I386 -DNULL=0
-CCLIBFLAGS =
-CLIB = -lmalloc -lPW
-
# See all the declarations.
FIXPROTO_DEFINES = -D_XOPEN_SOURCE
-RANLIB = :
-RANLIB_TEST = false
-CC = cc
-OLDCC = cc
-CCLIBFLAGS =
-
# See all the declarations.
FIXPROTO_DEFINES = -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
/* Overrides for svr4.h begin here */
-#undef SVR4
-
#undef SWITCH_TAKES_ARG
#undef WORD_SWITCH_TAKES_ARG
+++ /dev/null
-# We build all stages *without* shared libraries because that may make
-# debugging the compiler easier (until there is a GDB which supports
-# both Dwarf *and* svr4 shared libraries).
-
-# Note that the native C compiler for the svr4 reference port on the
-# i860 recognizes a special -gg option. Using that option causes *full*
-# Dwarf debugging information to be generated, whereas using only -g
-# causes only limited Dwarf debugging information to be generated.
-# (This is an undocumented feature of the native svr4 C compiler.)
-
-CCLIBFLAGS=-Bstatic -dn -gg
+++ /dev/null
-# Makefile configuration for Commodore Amiga running SVR4.
-# (configure amiga-amix)
-
-# The Amiga ships with gcc installed, so use it as the default CC.
-
-CC = /usr/public/bin/gcc
-
-# The AT&T compiler is still available in /usr/ccs/bin/cc and should
-# be used to compile the things that should not be compiled with gcc.
-
-OLDCC = /usr/ccs/bin/cc
-
-# Link the executables with -ansi to get ANSI floating point ranges.
-# Otherwise the values returned on overflow or underflow will be wrong.
-# NOTE: some early releases of Amiga Unix contained a bug in ptod.o
-# that prevents the correct values being returned from strtod/atof, even
-# when linked with -ansi. Sometimes -static will fix this since at least
-# one version had a fixed copy in the static libc.a.
-
-LDFLAGS = -ansi
-
-# The manual pages go in /usr/man/1l (section 1, local) without any filename
-# extension. The man command will automatically create the /usr/catman/1l
-# entry.
-
-mandir = /usr/man/1l
-manext =
+++ /dev/null
-# x-apollo68 -- 680x0 based Apollos as host system
-
-# vasta@apollo.com says this is how to compile on an Apollo (SR10.x).
-# Use a Berkeley environment.
-CC=cc -g -A nansi -A cpu,3000 -A runtype,bsd4.3 -A systype,any
-OLDCC=cc -g -A nansi -A cpu,3000 -A runtype,bsd4.3 -A systype,any
-
-# This used to redefine CFLAGS and LIBGCC2_CFLAGS to eliminate the unsupported
-# -g flag from both macros. This gives an undebuggable stage1 compiler which
-# is bad, and it also does the wrong thing if we are cross compiling to a
-# target which does support debugging. There is currently no way to avoid
-# the -g option that doesn't break something else.
+++ /dev/null
-# Specify the jobs library when building in the ATT universe.
-CLIB = -ljobs
-X_CFLAGS = -O0 -Dregister=
+++ /dev/null
-CC = cc -Wx,-X23
-# be sure not to confuse ./as with /bin/as
-AS=`if [ x$(OLDCC) = x$(CC) ] ; then echo /bin/as; else echo $(GAS); fi`
-GAS = gas
-#
-# as of gcc-2.2.1 gcc -g produces too many .stabd's for /bin/ld
-# to link cc1plus, so use -g with /bin/cc, but -O with gcc
-CFLAGS=`if [ x$(OLDCC) = x$(CC) ] ; then echo -g; else echo -O; fi`
-#
-CLIB=-lmalloc -lld -lm
-# tell CC whether we are a 200 or 300
-X_CFLAGS=-D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BULL_SOURCE -D__DPX2__ `if [ -d /makesys/kernel/cf/ncl_mr ]; then echo -Dncl_mr=1; else echo -Dncl_el; fi`
+CLIB=-lld
+++ /dev/null
-# Make assignments for compilation for hp200 running 4.3bsd
-CC=gcc
-OLDCC=oldcc
-# You must have a previous version of gcc for bootstrapping
-# Make assignments for compilation on HPUX with their C compiler.
-CC=cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300
-OLDCC=cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300
-
-# For CCLIBFLAGS you might want to specify the switch that
-# forces only 68000 instructions to be used.
-
-# Version 5 of HPUX had a compiler bug that made it crash with -g.
-# You must set CFLAGS to empty on version 5.
-
# So putenv and other functions get seen by fixproto.
FIXPROTO_DEFINES = -D_HPUX_SOURCE
-# Make assignments for compilation on HPUX with their C compiler.
-CC=cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300
-OLDCC=cc -Wc,-Nw2000 -Wc,-Ns2000 -Wc,-Ne700 -Wc,-Np300
-
-# For CCLIBFLAGS you might want to specify the switch that
-# forces only 68000 instructions to be used.
-
-X_CFLAGS= -I../hp-include
-
-# Version 5 of HPUX had a compiler bug that made it crash with -g.
-# You must set CFLAGS to empty on version 5.
-
# So putenv and other functions get seen by fixproto.
FIXPROTO_DEFINES = -D_HPUX_SOURCE
+++ /dev/null
-# This disables the long/short jump optimization.
-# I use sysV68 R3V7.1 RM04 (phdm@info.ucl.ac.be)
-# Since ss-950318, with jump optimization enabled, "as" issues a warning
-# when assembling combine.s :
-# aline nnnnn : Warning: Table overflow: some optimizations lost (SDIs)
-# but later "/bin/ld" complains with
-# ld: relocation entry found for non-relocatable symbol in combine.o
-# and the produced "cc1" fails with SIGSEGV
-# and "/usr/local/bin/ld" merely fails with
-# collect2: ld terminated with signal 11, core dumped
-# Another possible fix would be to split combine.c.
-# Since ss-961013, the same happens for expr.c compiled by gcc, but not by cc;
-# and for cp/decl.c; aren't those files too big ?
-# With egcs-1.1.2, this also happens for f/expr.o and f/stb.o
-XCFLAGS=`case $@ in combine.o|expr.o|decl.o|stb.o|cse.o) echo -Wa,-j;;esac`
+++ /dev/null
-# This disables the long/short jump optimization.
-# I use sysV68 R3V7.1 RM04 (phdm@info.ucl.ac.be)
-# Since ss-950318, with jump optimization enabled, "as" issues a warning
-# when assembling combine.s :
-# aline nnnnn : Warning: Table overflow: some optimizations lost (SDIs)
-# but later "ld" complains with
-# ld: relocation entry found for non-relocatable symbol in combine.o
-# and the produced "cc1" fails with SIGSEGV
-# Another possible fix would be to split combine.c.
-XCFLAGS=`if [ x$@ = xcombine.o -a "${CC}" = "${OLDCC}" ]; then echo -Wa,-j; fi`
-# Make assignments for compiling on NeXT with their compiler version.
-CC=cc -traditional-cpp
-OLDCC=CC -traditional-cpp
-
# Specify other dirs of system header files to be fixed.
OTHER_FIXINCLUDES_DIRS= /LocalDeveloper/Headers
+++ /dev/null
-# On the NCR Tower 32 running SVR3, says ra@intsys.no :
-# Do *not* enable optimization in CFLAGS when using the native cc, because:
-# a) The optimizer seems to loop when invoked with -O2.
-# b) The -O1 level does stack/frame pointer optimizations that make the
-# assembler alloca in libPW.a fail, and the C alloca eats *lots* of memory.
-# c) gcc will eventually be recompiled with itself, so all this doesn't matter.
-X_CFLAGS = -O0
-CCLIBFLAGS = -O2
-CLIB = -lmalloc -lPW
-CC = gcc
-BISONFLAGS = -l
-USER_H = $(EXTRA_HEADERS) $(LANG_EXTRA_HEADERS)
-
STMP_FIXPROTO =
-X_CFLAGS = -O -mstandard -mlegend
gcc.ld: $(srcdir)/config/m88k/dolphin.ld
rm -f gcc.ld; cp $(srcdir)/config/m88k/dolphin.ld gcc.ld
-
-# Under DolphinOS 3.8.alfa, /bin/cc defines __GNUC__, but not __m88k__,
-# causing gdstarg.h to fail. Defining __m88k__ does probably not hurt on
-# DolphinOS 3.6.
-
-X_CFLAGS =-D__m88k__
+++ /dev/null
-# Problems in early version of the assembler have been fixed (-DNO_BUGS).
-# There are peculiar problems with the include files that require __STDC__
-# to be defined as 0. This results in sigset_t being defined which otherwise
-# results in a problem when <wait.h> includes <siginfo.h>.
-
-X_CFLAGS = -DNO_BUGS -D__STDC__=0
gcc.ld: $(srcdir)/config/m88k/tekXD88.ld
rm -f gcc.ld; cp $(srcdir)/config/m88k/tekXD88.ld ./gcc.ld
-
-# rc is cleaner, but the ar program sometimes crashes.
-# This is a workaround.
-AR_FLAGS=qc
+++ /dev/null
-# Define CC and OLDCC as the same, so that the tests:
-# if [ x"$(OLDCC)" = x"$(CC)" ] ...
-#
-# will succeed (if OLDCC != CC, it is assumed that GCC is
-# being used in secondary stage builds). We need to pass
-# the -Wf,-XNg1500 option so the compiler can compile the
-# G++ file cp-parse.c. Otherwise it complains about
-# too many case statements. -Olimit is so the user
-# can use -O2. Down with fixed size tables!
-
-CC = $(OLDCC)
-OPT = -O1
-OLDCC = cc -Wf,-XNg1500 -Olimit 3000 $(OPT)
-
-# The bison output files are machine-indep,
-# so different flags for a particular machine are not useful.
-#BISONFLAGS = -l
-# Define CC and OLDCC as the same, so that the tests:
-# if [ x"$(OLDCC)" = x"$(CC)" ] ...
-#
-# will succeed (if OLDCC != CC, it is assumed that GCC is
-# being used in secondary stage builds). We need to pass
-# the -Wf,-XNg1500 option so the compiler can compile the
-# G++ file cp-parse.c. Otherwise it complains about
-# too many case statements. -Olimit is so the user
-# can use -O2. Down with fixed size tables!
-# The -cckr is to turn off strict ANSI checking.
-
-# These definitions are commented out because they cause trouble with
-# autoconf. It is believed that they aren't needed anymore.
-#CC = $(OLDCC)
-#OPT = -O1
-#OLDCC = cc -Wf,-XNh2000,-XNg1500 -Olimit 3000 -cckr $(OPT)
-
-# The bison output files are machine-indep,
-# so different flags for a particular machine are not useful.
-#BISONFLAGS = -l
-
# -lmld is so we can link collect2 running native.
-# -lmalloc is supposed to be faster than the normal malloc
-CLIB = -lmld -lmalloc
+CLIB = -lmld
# Find all of the declarations from the header files
FIXPROTO_DEFINES= -D__EXTENSIONS__ -D_SGI_SOURCE -D_LANGUAGE_C_PLUS_PLUS
-# Define CC and OLDCC as the same, so that the tests:
-# if [ x"$(OLDCC)" = x"$(CC)" ] ...
-#
-# will succeed (if OLDCC != CC, it is assumed that GCC is
-# being used in secondary stage builds). We need to pass
-# the -Wf,-XNg1500 option so the compiler can compile the
-# G++ file cp-parse.c. Otherwise it complains about
-# too many case statements. -Olimit is so the user
-# can use -O2. Down with fixed size tables!
-
-# In at least one version of Irix, v3.3.2, the compiler does not accept
-# the -cckr option, so, lets try without it for all versions of Irix 3.x.
-# The -cckr is to turn off strict ANSI checking.
-
-# These definitions are commented out because they cause trouble with
-# autoconf. It is believed that they aren't needed anymore.
-#CC = $(OLDCC)
-#OPT = -O1
-#OLDCC = cc -Wf,-XNh2000,-XNg1500 -Olimit 3000 $(OPT)
-
-# The bison output files are machine-indep,
-# so different flags for a particular machine are not useful.
-#BISONFLAGS = -l
-
# -lmld is so we can link collect2 running native.
# -lmalloc is supposed to be faster than the normal malloc
-CLIB = -lmld -lmalloc
+CLIB = -lmld
-# Define CC and OLDCC as the same, so that the tests:
-# if [ x"$(OLDCC)" = x"$(CC)" ] ...
-#
-# will succeed (if OLDCC != CC, it is assumed that GCC is
-# being used in secondary stage builds). We need to pass
-# the -Wf,-XNg1500 option so the compiler can compile the
-# G++ file cp-parse.c. Otherwise it complains about
-# too many case statements. The -Olimit is so the user
-# can use -O2. Down with fixed size tables!
-
-CC = $(OLDCC)
-OPT = -O1
-OLDCC = cc -Wf,-XNg1500,-XNh2000 -Olimit 3000 $(OPT)
-
-# The bison output files are machine-indep,
-# so different flags for a particular machine are not useful.
-#BISONFLAGS = -l
-
# This is so we can link collect2 running native.
CLIB = -lmld
-# Define CC and OLDCC as the same, so that the tests:
-# if [ x"$(OLDCC)" = x"$(CC)" ] ...
-#
-# will succeed (if OLDCC != CC, it is assumed that GCC is
-# being used in secondary stage builds).
-
-BUILD =
-CC = $(OLDCC)
CLIB = -lld
-X_CFLAGS = $(DEB_OPT) $(MSTATS) $(SHLIB) $(X_DEFINES)
-X_CFLAGS_NODEBUG = $(NO_DEBUG) $(MSTATS) $(OPT) $(PROFILE) $(SHLIB) $(X_DEFINES) $(XCFLAGS)
-CCLIBFLAGS = -O -pic-extern
-CPP_ABORT = # -Dabort=fancy_abort
-CPPFLAGS = $(CPP_ABORT) $(SYSTEM_INCLUDES)
-DEB_OPT = $(OPT) $(DEBUG) $(PROFILE)
-DEBUG =
-DEBUG_COLLECT = # -DDEBUG
-CCLIBFLAGS = -O -DNO_HALF_PIC
-GCC_CFLAGS = $(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(CFLAGS) -B./ -DPOSIX -DNO_HALF_PIC
-LIBGCC2_CFLAGS = -O2 $(GCC_CFLAGS) -g1 -pic-extern
-LDFLAGS =
-MSTATS = # -mstats
-OLDCC = /usr/ccs/gcc/gcc
-OPT = -O2
-PROFILE =
-SHLIB = -pic-none
-SYSTEM_INCLUDES = # -I${BUILD}/usr/include
-X_DEFINES = -Dvfork=fork
-
-libdir = /usr/ccs
-mandir = /usr/ccs/gcc/$(target)/$(version)
-bindir = /usr/ccs/gcc/$(target)/$(version)
+++ /dev/null
-# Define CC and OLDCC as the same, so that the tests:
-# if [ x"$(OLDCC)" = x"$(CC)" ] ...
-#
-# will succeed (if OLDCC != CC, it is assumed that GCC is
-# being used in secondary stage builds).
-# -Olimit is so the user can use -O2. Down with fixed
-# size tables!
-
-CC = $(OLDCC)
-OPT =
-OLDCC = cc -Olimit 3000 $(OPT)
-# Make internal tables bigger.
-OLDCC=cc -Wf,-XNg1500,-XNh2000 -Olimit 3000 $(OPT)
-
-# Define CC and OLDCC as the same, so that the tests:
-# if [ x"$(OLDCC)" = x"$(CC)" ] ...
-#
-# will succeed (if OLDCC != CC, it is assumed that GCC is
-# being used in secondary stage builds). We need to pass
-# the -Wf,-XNg1500 option so the compiler can compile the
-# G++ file cp-parse.c. Otherwise it complains about
-# too many case statements. The -Olimit is so the user
-# can use -O2. Down with fixed size tables!
-
-CC = $(OLDCC)
-OPT = -O1
-
# This is so we can link collect2 running native.
CLIB = -lmld
-# Define CC and OLDCC as the same, so that the tests:
-# if [ x"$(OLDCC)" = x"$(CC)" ] ...
-#
-# will succeed (if OLDCC != CC, it is assumed that GCC is
-# being used in secondary stage builds). We need to pass
-# the -Wf,-XNg1500 option so the compiler can compile the
-# G++ file cp-parse.c. Otherwise it complains about
-# too many case statements. -Olimit is so the user
-# can use -O2. Down with fixed size tables!
-
-CC = $(OLDCC)
-OPT = -O1
-OLDCC = cc -Wf,-XNg1500,-XNh2000 -Olimit 3000 $(OPT)
-
-# The bison output files are machine-indep,
-# so different flags for a particular machine are not useful.
-#BISONFLAGS = -l
-
# This enables collect2 to link.
# Some systems use version 2.11 of the compilers. Some use version 3.11.
CLIB= -L/usr/lib/cmplrs/cc2.11 -L/usr/lib/cmplrs/cc3.11 -lmld
+++ /dev/null
-# Define CC and OLDCC as the same, so that the tests:
-# if [ x"$(OLDCC)" = x"$(CC)" ] ...
-#
-# will succeed (if OLDCC != CC, it is assumed that GCC is
-# being used in secondary stage builds). We need to pass
-# the -Wf,-XNg1500 option so the compiler can compile the
-# G++ file cp-parse.c. Otherwise it complains about
-# too many case statements. -Olimit is so the user
-# can use -O2. Down with fixed size tables!
-
-CC = $(OLDCC)
-OPT = -O1
-OLDCC = cc -Wf,-XNg1500 -Olimit 3000 $(OPT)
-
-# The bison output files are machine-indep,
-# so different flags for a particular machine are not useful.
-#BISONFLAGS = -l
# BSD on the PA already has ANSI include files which are c++ compatible.
-USER_H = $(EXTRA_HEADERS) $(LANG_EXTRA_HEADERS)
STMP_FIXPROTO=
-X_CFLAGS=-I/usr/contrib/include -DSYSV -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_MPEIX_SOURCE -DPOSIX -D_MPEXL_SOURCE
-CC=gcc
-AR=/bin/ar
-OLDAR_FLAGS=rc
-OLDAR=/bin/ar
-OLDCC=c89
-TARGET_LIBGCC2_CFLAGS=
LIB2FUNCS_EXTRA= quadlib.asm
quadlib.asm: $(srcdir)/config/pa/quadlib.asm
+++ /dev/null
-# Ensure that CPATH is used and suppress lots of warnings.
-CC=hc2 -Hcpp -w
-
-# The default `make' on the RT doesn't define MAKE, so do it here.
-MAKE=make
+++ /dev/null
-# obstack.h assumes that if __STDC__ is defined an ANSI C preprocessor is
-# being used. -Hnocpp makes hc use its builtin preprocessor instead of
-# /lib/cpp. gcc doesn't use <sys/ioctl.h>, so it doesn't matter whether
-# fixincludes has been run.
-#
-# hc's warnings do nothing but obscure the output, hence the -w.
-#
-CC=hc -Hnocpp -w -U__STDC__
-
-# The default `make' on the RT doesn't define MAKE, so do it here.
-MAKE=make
-# For some reason, we need -lm for cc1.
# We need -lld for collect2 (actually this only matters
# for a native compiler, but this is as good a place as any
# to define the symbol).
-CLIB=-lm -lld
+CLIB= -lld
+++ /dev/null
-# configuration for BeOS
-INSTALL=install -c
+++ /dev/null
-# /bin/cc is hopelessly broken, so we must use /bin/gcc instead.
-CC = $(OLDCC)
-OLDCC = /bin/gcc
-
-# /bin/sh is too buggy, so use /bin/bash instead.
-SHELL = /bin/bash
-
-# configuration for IBM rs6000 running lynx
-
-# For some reason, we need -lm for cc1.
-CLIB=-lm
+++ /dev/null
-# configuration for IBM rs6000 running MACH
-
-# For some reason, we need -lm for cc1.
-CLIB=-lm
+++ /dev/null
-X_CFLAGS=-DSVR4
+++ /dev/null
-X_CFLAGS=-DSVR4
+++ /dev/null
-# /bin/cc is hopelessly broken, so we must use /bin/gcc instead.
-CC = $(OLDCC)
-OLDCC = /bin/gcc
-
-# /bin/sh is too buggy, so use /bin/bash instead.
-SHELL = /bin/bash