This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
xmake files purge
- To: gcc-patches at gcc dot gnu dot org
- Subject: xmake files purge
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Thu, 5 Apr 2001 22:26:26 -0700
This is a brutal purge of the x-<host> Makefile fragments. Most of
them exist to do one of three things:
1. override the autoconf-determined compiler and CFLAGS, or other tools
2. add libraries to the compiler link line
3. adjust the behavior of fixproto
I have eliminated all of (1) and most of (2), on the theory that this
information is long obsolete. The common case was "turn off
optimization because the system compiler is buggy," and we don't turn
it _on_ in stage 1 anymore, so... Purging all the extra libraries is
risky. I don't know what is in libPW, libmalloc, libexc, or libw32;
they may have been necessary. In some places libm was requested,
which I am guessing was a hangover from when we didn't have a
floating-point emulator.
The remaining instances of (2) are where collect2 and/or prefix.c
require special libraries (libmld, libld, advapi32.dll). These will
become autoconf probes shortly.
(3) belongs in target configuration, but I left it strictly alone for
the moment. There's also a policy issue: just as we now run
fixincludes on all targets, maybe we should run fixproto on all
targets too. (On any modern target it won't do anything.)
I may well have destroyed something that was in fact useful. Most of
these are obscure older systems, I can't test any of this.
The fx2800.h patch is in here as well because that was the last
reference to the SVR4 #define in the entire source tree.
A lot of the remaining files are substantially identical. It would be
quite easy to factor them out to the top level, but I'll leave that to
the next patch; also, much of the duplicated logic belongs in autoconf
or target config anyway.
zw
* 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.
===================================================================
Index: config.gcc
--- config.gcc 2001/04/05 04:34:23 1.47
+++ config.gcc 2001/04/06 05:18:51
@@ -243,10 +243,14 @@ sparc*-*-*)
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
*-*-*aout*)
@@ -289,7 +293,7 @@ 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"
@@ -373,7 +377,6 @@ alpha*-*-linux*ecoff*)
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*)
@@ -381,7 +384,6 @@ 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'
@@ -392,7 +394,6 @@ alpha*-*-linux*)
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'
@@ -404,7 +405,6 @@ alpha*-*-freebsd*)
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
@@ -420,7 +420,6 @@ alpha*-*-netbsd*)
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
;;
@@ -646,7 +645,7 @@ hppa*-*-linux*)
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'
@@ -973,7 +972,6 @@ i[34567]86-ibm-aix*) # IBM PS/2 running
;;
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
@@ -986,7 +984,6 @@ i[34567]86-ncr-sysv4*) # NCR 3000 - ix8
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
@@ -1008,7 +1005,6 @@ i[34567]86-sequent-bsd*) # 80386 from
;;
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"
@@ -1016,7 +1012,6 @@ i[34567]86-sequent-ptx1*)
;;
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"
@@ -1098,14 +1093,6 @@ i[34567]86-*-coff*)
;;
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
@@ -1195,7 +1182,6 @@ i[34567]86-*-lynxos*)
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
@@ -1276,7 +1262,6 @@ i[34567]86-*-sco3.2v4*) # 80386 running
# 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
@@ -1364,7 +1349,6 @@ i[34567]86-*-osf1*) # Intel 80386's run
;;
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
@@ -1388,7 +1372,6 @@ i386-*-vsta) # Intel 80386's running V
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
@@ -1497,7 +1480,6 @@ i860-*-sysv3*)
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"
;;
@@ -1605,7 +1587,6 @@ m68000-convergent-sysv*)
;;
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
;;
@@ -1668,7 +1649,6 @@ m68k-apple-aux*) # Apple Macintosh runn
;;
m68k-apollo-*)
tm_file=m68k/apollo68.h
- xmake_file=m68k/x-apollo68
use_collect2=yes
extra_headers=math-68881.h
float_format=m68k
@@ -1714,7 +1694,6 @@ m68k-motorola-sysv*)
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
@@ -1723,7 +1702,6 @@ m68k-motorola-sysv*)
use_collect2=yes
fi
else
- xmake_file=m68k/x-mot3300
if test x$gnu_ld = xyes
then
tmake_file=m68k/t-mot3300-gld
@@ -1740,7 +1718,6 @@ m68k-motorola-sysv*)
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
;;
@@ -1757,7 +1734,6 @@ m68k-tti-*)
;;
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
@@ -1765,7 +1741,6 @@ m68k-crds-unos*)
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
@@ -1773,7 +1748,6 @@ m68k-cbm-sysv4*) # Commodore variant of
;;
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
@@ -1934,7 +1908,6 @@ m68k-*-lynxos*)
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
@@ -2097,7 +2070,6 @@ m88k-*-sysv4*)
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)
@@ -2155,7 +2127,6 @@ mips-sni-sysv4)
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
@@ -2256,7 +2227,6 @@ mips-dec-osf*) # Decstation running OS
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
@@ -2370,7 +2340,6 @@ mips-*-ultrix* | mips-dec-mach3) # Decst
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
@@ -2662,7 +2631,6 @@ romp-*-aos*)
use_collect2=yes
;;
romp-*-mach*)
- xmake_file=romp/x-mach
use_collect2=yes
;;
romp-*-openbsd*)
@@ -2677,7 +2645,6 @@ powerpc-*-beos*)
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
@@ -2688,7 +2655,6 @@ powerpc-*-sysv*)
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
@@ -2776,7 +2742,6 @@ powerpcle-*-sysv*)
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*)
@@ -2801,7 +2766,6 @@ powerpcle-*-solaris2*)
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]*)
@@ -2859,13 +2823,11 @@ rs6000-bull-bosx)
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*)
@@ -2983,7 +2945,6 @@ sparc-*-lynxos*)
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"
@@ -3016,7 +2977,6 @@ sparcv9-*-solaris2*)
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
@@ -3042,7 +3002,6 @@ sparc-hal-solaris2*)
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])
@@ -3068,7 +3027,6 @@ sparc-*-solaris2*)
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
@@ -3126,14 +3084,12 @@ sparc-*-sysv4*)
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"
@@ -3478,9 +3434,6 @@ else
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
===================================================================
Index: config/x-lynx
--- config/x-lynx Thu Apr 5 22:18:51 2001
+++ config/x-lynx Tue May 5 13:32:27 1998
@@ -1,6 +0,0 @@
-# /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
===================================================================
Index: config/a29k/x-unix
--- config/a29k/x-unix 1998/12/16 21:00:45 1.2
+++ config/a29k/x-unix 2001/04/06 05:18:51
@@ -1,2 +1,2 @@
-# Needed for missing functions in Sym1.
-CLIB=-liberty -lld
+# Needed for collect2?
+CLIB=-lld
===================================================================
Index: config/arm/x-riscix
--- config/arm/x-riscix 1998/12/16 21:02:04 1.2
+++ config/arm/x-riscix 2001/04/06 05:18:51
@@ -1,8 +1 @@
-# 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
===================================================================
Index: config/convex/x-convex
--- config/convex/x-convex Thu Apr 5 22:18:52 2001
+++ config/convex/x-convex Tue May 5 13:32:27 1998
@@ -1,5 +0,0 @@
-# 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
===================================================================
Index: config/elxsi/x-elxsi
--- config/elxsi/x-elxsi Thu Apr 5 22:18:52 2001
+++ config/elxsi/x-elxsi Tue May 5 13:32:27 1998
@@ -1,9 +0,0 @@
-# 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
===================================================================
Index: config/i370/x-oe
--- config/i370/x-oe 2001/03/06 09:52:33 1.4
+++ config/i370/x-oe 2001/04/06 05:18:51
@@ -3,22 +3,4 @@
#
# 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
-
===================================================================
Index: config/i386/x-aix
--- config/i386/x-aix 2001/03/06 09:52:33 1.3
+++ config/i386/x-aix 2001/04/06 05:18:51
@@ -1,9 +1 @@
-# 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
===================================================================
Index: config/i386/x-dgux
--- config/i386/x-dgux 1998/12/16 21:04:53 1.3
+++ config/i386/x-dgux 2001/04/06 05:18:51
@@ -1,11 +1 @@
-#
-# 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 =
-
===================================================================
Index: config/i386/x-djgpp
--- config/i386/x-djgpp 2000/08/04 16:19:19 1.3
+++ config/i386/x-djgpp 2001/04/06 05:18:51
@@ -1,7 +1,2 @@
# 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
-
===================================================================
Index: config/i386/x-isc
--- config/i386/x-isc Thu Apr 5 22:18:52 2001
+++ config/i386/x-isc Tue May 5 13:32:27 1998
@@ -1,3 +0,0 @@
-CLIB = -lPW -lcposix
-X_CFLAGS = -D_POSIX_SOURCE
-ENQUIRE_LDFLAGS = -posix $(LDFLAGS)
===================================================================
Index: config/i386/x-isc3
--- config/i386/x-isc3 Thu Apr 5 22:18:52 2001
+++ config/i386/x-isc3 Tue May 5 13:32:27 1998
@@ -1,4 +0,0 @@
-CLIB = -lPW
-# One person said it needs -DPOSIX_JC, but daa@CERF.NET says no.
-X_CFLAGS = -D_SYSV3 -Xp
-ENQUIRE_LDFLAGS = $(LDFLAGS)
===================================================================
Index: config/i386/x-ncr3000
--- config/i386/x-ncr3000 Thu Apr 5 22:18:52 2001
+++ config/i386/x-ncr3000 Tue May 5 13:32:27 1998
@@ -1,27 +0,0 @@
-# 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./
===================================================================
Index: config/i386/x-next
--- config/i386/x-next Thu Apr 5 22:18:52 2001
+++ config/i386/x-next Tue May 5 13:32:27 1998
@@ -1,3 +0,0 @@
-# Make assignments for compiling on NeXT with their compiler version.
-CC=cc -traditional-cpp
-OLDCC=cc -traditional-cpp
===================================================================
Index: config/i386/x-osf1elf
--- config/i386/x-osf1elf 1998/12/16 21:04:58 1.2
+++ config/i386/x-osf1elf 2001/04/06 05:18:51
@@ -1,8 +1 @@
-# 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
===================================================================
Index: config/i386/x-osfrose
--- config/i386/x-osfrose 1998/12/16 21:04:59 1.2
+++ config/i386/x-osfrose 2001/04/06 05:18:51
@@ -1,27 +1 @@
-# 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
===================================================================
Index: config/i386/x-sco
--- config/i386/x-sco Thu Apr 5 22:18:52 2001
+++ config/i386/x-sco Tue May 5 13:32:27 1998
@@ -1,7 +0,0 @@
-RANLIB = :
-RANLIB_TEST = false
-CC = rcc $(RCCFLAGS)
-OLDCC = rcc $(RCCFLAGS)
-RCCFLAGS = -Dunix -Di386 -DM_UNIX -DM_I386 -DNULL=0
-CCLIBFLAGS =
-CLIB = -lmalloc -lPW
===================================================================
Index: config/i386/x-sco4
--- config/i386/x-sco4 1998/12/16 21:05:01 1.2
+++ config/i386/x-sco4 2001/04/06 05:18:51
@@ -1,10 +1,2 @@
-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
===================================================================
Index: config/i386/x-sco5
--- config/i386/x-sco5 2001/03/06 09:52:34 1.5
+++ config/i386/x-sco5 2001/04/06 05:18:51
@@ -1,8 +1,2 @@
-RANLIB = :
-RANLIB_TEST = false
-CC = cc
-OLDCC = cc
-CCLIBFLAGS =
-
# See all the declarations.
FIXPROTO_DEFINES = -D_XOPEN_SOURCE -D_POSIX_C_SOURCE=2
===================================================================
Index: config/i386/x-sysv3
--- config/i386/x-sysv3 Thu Apr 5 22:18:52 2001
+++ config/i386/x-sysv3 Tue May 5 13:32:27 1998
@@ -1 +0,0 @@
-CLIB=-lPW
===================================================================
Index: config/i386/x-vsta
--- config/i386/x-vsta Thu Apr 5 22:18:52 2001
+++ config/i386/x-vsta Tue May 5 13:32:27 1998
@@ -1 +0,0 @@
-CLIB=-lm
===================================================================
Index: config/i860/fx2800.h
--- config/i860/fx2800.h 2000/11/02 23:29:10 1.6
+++ config/i860/fx2800.h 2001/04/06 05:18:51
@@ -289,8 +289,6 @@ Boston, MA 02111-1307, USA. */
/* Overrides for svr4.h begin here */
-#undef SVR4
-
#undef SWITCH_TAKES_ARG
#undef WORD_SWITCH_TAKES_ARG
===================================================================
Index: config/i860/x-sysv4
--- config/i860/x-sysv4 Thu Apr 5 22:18:52 2001
+++ config/i860/x-sysv4 Tue May 5 13:32:27 1998
@@ -1,11 +0,0 @@
-# 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
===================================================================
Index: config/m68k/x-amix
--- config/m68k/x-amix Thu Apr 5 22:18:52 2001
+++ config/m68k/x-amix Tue May 5 13:32:27 1998
@@ -1,27 +0,0 @@
-# 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 =
===================================================================
Index: config/m68k/x-apollo68
--- config/m68k/x-apollo68 Thu Apr 5 22:18:52 2001
+++ config/m68k/x-apollo68 Tue May 5 13:32:27 1998
@@ -1,12 +0,0 @@
-# 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.
===================================================================
Index: config/m68k/x-ccur
--- config/m68k/x-ccur Thu Apr 5 22:18:52 2001
+++ config/m68k/x-ccur Tue May 5 13:32:27 1998
@@ -1,3 +0,0 @@
-# Specify the jobs library when building in the ATT universe.
-CLIB = -ljobs
-X_CFLAGS = -O0 -Dregister=
===================================================================
Index: config/m68k/x-crds
--- config/m68k/x-crds Thu Apr 5 22:18:52 2001
+++ config/m68k/x-crds Tue May 5 13:32:27 1998
@@ -1 +0,0 @@
-CC = cc -Wx,-X23
===================================================================
Index: config/m68k/x-dpx2
--- config/m68k/x-dpx2 2001/03/06 09:52:34 1.3
+++ config/m68k/x-dpx2 2001/04/06 05:18:51
@@ -1,11 +1 @@
-# 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
===================================================================
Index: config/m68k/x-hp2bsd
--- config/m68k/x-hp2bsd Thu Apr 5 22:18:52 2001
+++ config/m68k/x-hp2bsd Tue May 5 13:32:27 1998
@@ -1,4 +0,0 @@
-# Make assignments for compilation for hp200 running 4.3bsd
-CC=gcc
-OLDCC=oldcc
-# You must have a previous version of gcc for bootstrapping
===================================================================
Index: config/m68k/x-hp320
--- config/m68k/x-hp320 2001/03/06 09:52:34 1.4
+++ config/m68k/x-hp320 2001/04/06 05:18:51
@@ -1,12 +1,2 @@
-# 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
===================================================================
Index: config/m68k/x-hp320g
--- config/m68k/x-hp320g 2001/03/06 09:52:34 1.4
+++ config/m68k/x-hp320g 2001/04/06 05:18:51
@@ -1,14 +1,2 @@
-# 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
===================================================================
Index: config/m68k/x-mot3300
--- config/m68k/x-mot3300 Thu Apr 5 22:18:52 2001
+++ config/m68k/x-mot3300 Tue May 5 13:32:27 1998
@@ -1,15 +0,0 @@
-# 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`
===================================================================
Index: config/m68k/x-mot3300-gas
--- config/m68k/x-mot3300-gas Thu Apr 5 22:18:52 2001
+++ config/m68k/x-mot3300-gas Tue May 5 13:32:27 1998
@@ -1,10 +0,0 @@
-# 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`
===================================================================
Index: config/m68k/x-next
--- config/m68k/x-next 1998/12/16 21:07:53 1.5
+++ config/m68k/x-next 2001/04/06 05:18:51
@@ -1,7 +1,3 @@
-# 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
===================================================================
Index: config/m68k/x-tower
--- config/m68k/x-tower Thu Apr 5 22:18:52 2001
+++ config/m68k/x-tower Tue May 5 13:32:27 1998
@@ -1,9 +0,0 @@
-# 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
===================================================================
Index: config/m88k/x-dgux
--- config/m88k/x-dgux 1998/12/16 21:08:39 1.3
+++ config/m88k/x-dgux 2001/04/06 05:18:51
@@ -1,6 +1 @@
-CC = gcc
-BISONFLAGS = -l
-USER_H = $(EXTRA_HEADERS) $(LANG_EXTRA_HEADERS)
-
STMP_FIXPROTO =
-X_CFLAGS = -O -mstandard -mlegend
===================================================================
Index: config/m88k/x-dolph
--- config/m88k/x-dolph 2001/03/06 09:52:34 1.3
+++ config/m88k/x-dolph 2001/04/06 05:18:51
@@ -5,9 +5,3 @@ EXTRA_PARTS=crtbegin.o crtend.o gcc.ld
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__
===================================================================
Index: config/m88k/x-sysv4
--- config/m88k/x-sysv4 Thu Apr 5 22:18:52 2001
+++ config/m88k/x-sysv4 Tue May 5 13:32:27 1998
@@ -1,6 +0,0 @@
-# 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
===================================================================
Index: config/m88k/x-tekXD88
--- config/m88k/x-tekXD88 2001/03/06 09:52:34 1.3
+++ config/m88k/x-tekXD88 2001/04/06 05:18:51
@@ -3,7 +3,3 @@ EXTRA_PARTS=crtbegin.o crtend.o gcc.ld
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
===================================================================
Index: config/mips/x-dec-osf1
--- config/mips/x-dec-osf1 Thu Apr 5 22:18:52 2001
+++ config/mips/x-dec-osf1 Tue May 5 13:32:27 1998
@@ -1,17 +0,0 @@
-# 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
===================================================================
Index: config/mips/x-iris
--- config/mips/x-iris 2001/03/06 09:52:34 1.5
+++ config/mips/x-iris 2001/04/06 05:18:51
@@ -1,27 +1,5 @@
-# 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
===================================================================
Index: config/mips/x-iris3
--- config/mips/x-iris3 2001/03/06 09:52:34 1.4
+++ config/mips/x-iris3 2001/04/06 05:18:51
@@ -1,27 +1,3 @@
-# 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
===================================================================
Index: config/mips/x-mips
--- config/mips/x-mips 1998/12/16 21:09:54 1.2
+++ config/mips/x-mips 2001/04/06 05:18:51
@@ -1,20 +1,2 @@
-# 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
===================================================================
Index: config/mips/x-osfrose
--- config/mips/x-osfrose 1998/12/16 21:09:57 1.2
+++ config/mips/x-osfrose 2001/04/06 05:18:51
@@ -1,32 +1 @@
-# 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)
===================================================================
Index: config/mips/x-sni-svr4
--- config/mips/x-sni-svr4 Thu Apr 5 22:18:52 2001
+++ config/mips/x-sni-svr4 Tue May 5 13:32:27 1998
@@ -1,11 +0,0 @@
-# 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)
===================================================================
Index: config/mips/x-sony
--- config/mips/x-sony 1998/12/16 21:09:59 1.2
+++ config/mips/x-sony 2001/04/06 05:18:51
@@ -1,18 +1,2 @@
-# 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
===================================================================
Index: config/mips/x-sysv
--- config/mips/x-sysv 2001/03/06 09:52:34 1.3
+++ config/mips/x-sysv 2001/04/06 05:18:51
@@ -1,21 +1,3 @@
-# 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
===================================================================
Index: config/mips/x-ultrix
--- config/mips/x-ultrix Thu Apr 5 22:18:52 2001
+++ config/mips/x-ultrix Tue May 5 13:32:27 1998
@@ -1,17 +0,0 @@
-# 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
===================================================================
Index: config/pa/x-pa
--- config/pa/x-pa 1998/12/16 21:11:18 1.4
+++ config/pa/x-pa 2001/04/06 05:18:51
@@ -1,3 +1,2 @@
# BSD on the PA already has ANSI include files which are c++ compatible.
-USER_H = $(EXTRA_HEADERS) $(LANG_EXTRA_HEADERS)
STMP_FIXPROTO=
===================================================================
Index: config/pa/x-pa-mpeix
--- config/pa/x-pa-mpeix 2001/03/06 09:52:34 1.2
+++ config/pa/x-pa-mpeix 2001/04/06 05:18:51
@@ -1,10 +1,3 @@
-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
===================================================================
Index: config/romp/x-mach
--- config/romp/x-mach Thu Apr 5 22:18:52 2001
+++ config/romp/x-mach Tue May 5 13:32:27 1998
@@ -1,5 +0,0 @@
-# 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
===================================================================
Index: config/romp/x-romp
--- config/romp/x-romp Thu Apr 5 22:18:52 2001
+++ config/romp/x-romp Tue May 5 13:32:27 1998
@@ -1,11 +0,0 @@
-# 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
===================================================================
Index: config/rs6000/x-aix31
--- config/rs6000/x-aix31 2001/03/06 09:52:35 1.5
+++ config/rs6000/x-aix31 2001/04/06 05:18:51
@@ -1,5 +1,4 @@
-# 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
===================================================================
Index: config/rs6000/x-beos
--- config/rs6000/x-beos Thu Apr 5 22:18:52 2001
+++ config/rs6000/x-beos Tue May 5 13:32:27 1998
@@ -1,2 +0,0 @@
-# configuration for BeOS
-INSTALL=install -c
===================================================================
Index: config/rs6000/x-lynx
--- config/rs6000/x-lynx Thu Apr 5 22:18:52 2001
+++ config/rs6000/x-lynx Tue May 5 13:32:27 1998
@@ -1,11 +0,0 @@
-# /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
===================================================================
Index: config/rs6000/x-mach
--- config/rs6000/x-mach Thu Apr 5 22:18:52 2001
+++ config/rs6000/x-mach Tue May 5 13:32:27 1998
@@ -1,4 +0,0 @@
-# configuration for IBM rs6000 running MACH
-
-# For some reason, we need -lm for cc1.
-CLIB=-lm
===================================================================
Index: config/rs6000/x-sysv4
--- config/rs6000/x-sysv4 Thu Apr 5 22:18:52 2001
+++ config/rs6000/x-sysv4 Tue May 5 13:32:27 1998
@@ -1 +0,0 @@
-X_CFLAGS=-DSVR4
===================================================================
Index: config/sparc/x-sysv4
--- config/sparc/x-sysv4 Thu Apr 5 22:18:52 2001
+++ config/sparc/x-sysv4 Tue May 5 13:32:27 1998
@@ -1 +0,0 @@
-X_CFLAGS=-DSVR4