diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c987bbe04e42..83fcca16de14 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,44 @@ +2001-04-07 Zack Weinberg + + * 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 * c4x.h (HARD_REGNO_NREGS): HCmode mode uses 2 regs not 4. @@ -11,16 +52,16 @@ * 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 - + * cppdefault.c (GPLUSPLUS_BACKWARD_INCLUDE_DIR): Add. * Makefile.in (-DGPLUSPLUS_BACKWARD_INCLUDE_DIR): Add. @@ -86,7 +127,7 @@ Thu Apr 5 18:25:56 CEST 2001 Jan Hubicka Thu Apr 5 13:44:17 2001 J"orn Rennecke - * 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 diff --git a/gcc/config.gcc b/gcc/config.gcc index 76ca5b44f221..6fb9e99a528a 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -243,9 +243,13 @@ 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 @@ -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 AIX ;; 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 - ix86 running system V.4 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 Sequent ;; 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 SCO 3.2v4 system # 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 running OSF/1 1.3+ ;; 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 VSTa kernel 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 running A/UX ;; 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 V.4. ;; 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 OSF/1 as shipped by DIGITAL 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) # Decstation. 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 diff --git a/gcc/config/a29k/x-unix b/gcc/config/a29k/x-unix index ed85ea32a9eb..f671a0028f72 100644 --- a/gcc/config/a29k/x-unix +++ b/gcc/config/a29k/x-unix @@ -1,2 +1,2 @@ -# Needed for missing functions in Sym1. -CLIB=-liberty -lld +# Needed for collect2? +CLIB=-lld diff --git a/gcc/config/arm/x-riscix b/gcc/config/arm/x-riscix index 4584f95244a5..7f0b16eb1688 100644 --- a/gcc/config/arm/x-riscix +++ b/gcc/config/arm/x-riscix @@ -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 diff --git a/gcc/config/convex/x-convex b/gcc/config/convex/x-convex deleted file mode 100644 index 8029ac5b91f4..000000000000 --- a/gcc/config/convex/x-convex +++ /dev/null @@ -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 diff --git a/gcc/config/elxsi/x-elxsi b/gcc/config/elxsi/x-elxsi deleted file mode 100644 index 30a458d87b46..000000000000 --- a/gcc/config/elxsi/x-elxsi +++ /dev/null @@ -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 diff --git a/gcc/config/i370/x-oe b/gcc/config/i370/x-oe index c947cc9d805f..8007ba8987ad 100644 --- a/gcc/config/i370/x-oe +++ b/gcc/config/i370/x-oe @@ -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 - diff --git a/gcc/config/i386/x-aix b/gcc/config/i386/x-aix index 8e867fc50076..7d730837ab29 100644 --- a/gcc/config/i386/x-aix +++ b/gcc/config/i386/x-aix @@ -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 diff --git a/gcc/config/i386/x-dgux b/gcc/config/i386/x-dgux index 322bfe3ae911..5d07910d4352 100644 --- a/gcc/config/i386/x-dgux +++ b/gcc/config/i386/x-dgux @@ -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 = - diff --git a/gcc/config/i386/x-djgpp b/gcc/config/i386/x-djgpp index a49a51cda0fd..94af7c48f7e7 100644 --- a/gcc/config/i386/x-djgpp +++ b/gcc/config/i386/x-djgpp @@ -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 - diff --git a/gcc/config/i386/x-isc b/gcc/config/i386/x-isc deleted file mode 100644 index ea65ec888a32..000000000000 --- a/gcc/config/i386/x-isc +++ /dev/null @@ -1,3 +0,0 @@ -CLIB = -lPW -lcposix -X_CFLAGS = -D_POSIX_SOURCE -ENQUIRE_LDFLAGS = -posix $(LDFLAGS) diff --git a/gcc/config/i386/x-isc3 b/gcc/config/i386/x-isc3 deleted file mode 100644 index 527cca8132b6..000000000000 --- a/gcc/config/i386/x-isc3 +++ /dev/null @@ -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) diff --git a/gcc/config/i386/x-ncr3000 b/gcc/config/i386/x-ncr3000 deleted file mode 100644 index a18786ab36f9..000000000000 --- a/gcc/config/i386/x-ncr3000 +++ /dev/null @@ -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./ diff --git a/gcc/config/i386/x-next b/gcc/config/i386/x-next deleted file mode 100644 index a16b918e2d37..000000000000 --- a/gcc/config/i386/x-next +++ /dev/null @@ -1,3 +0,0 @@ -# Make assignments for compiling on NeXT with their compiler version. -CC=cc -traditional-cpp -OLDCC=cc -traditional-cpp diff --git a/gcc/config/i386/x-osf1elf b/gcc/config/i386/x-osf1elf index 146738107f6e..f9ee98c801b7 100644 --- a/gcc/config/i386/x-osf1elf +++ b/gcc/config/i386/x-osf1elf @@ -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 diff --git a/gcc/config/i386/x-osfrose b/gcc/config/i386/x-osfrose index 2c5e3ba13c76..f9ee98c801b7 100644 --- a/gcc/config/i386/x-osfrose +++ b/gcc/config/i386/x-osfrose @@ -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 diff --git a/gcc/config/i386/x-sco b/gcc/config/i386/x-sco deleted file mode 100644 index f7f14e9f7c09..000000000000 --- a/gcc/config/i386/x-sco +++ /dev/null @@ -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 diff --git a/gcc/config/i386/x-sco4 b/gcc/config/i386/x-sco4 index be6080f8893d..ce50fe976df4 100644 --- a/gcc/config/i386/x-sco4 +++ b/gcc/config/i386/x-sco4 @@ -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 diff --git a/gcc/config/i386/x-sco5 b/gcc/config/i386/x-sco5 index c9b78c2dfa7b..bc3d98b51218 100644 --- a/gcc/config/i386/x-sco5 +++ b/gcc/config/i386/x-sco5 @@ -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 diff --git a/gcc/config/i386/x-sysv3 b/gcc/config/i386/x-sysv3 deleted file mode 100644 index a1391df851c9..000000000000 --- a/gcc/config/i386/x-sysv3 +++ /dev/null @@ -1 +0,0 @@ -CLIB=-lPW diff --git a/gcc/config/i386/x-vsta b/gcc/config/i386/x-vsta deleted file mode 100644 index e2279a4b59a7..000000000000 --- a/gcc/config/i386/x-vsta +++ /dev/null @@ -1 +0,0 @@ -CLIB=-lm diff --git a/gcc/config/i860/fx2800.h b/gcc/config/i860/fx2800.h index 464f37675479..cb11204c2755 100644 --- a/gcc/config/i860/fx2800.h +++ b/gcc/config/i860/fx2800.h @@ -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 diff --git a/gcc/config/i860/x-sysv4 b/gcc/config/i860/x-sysv4 deleted file mode 100644 index 37b79ddaa26f..000000000000 --- a/gcc/config/i860/x-sysv4 +++ /dev/null @@ -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 diff --git a/gcc/config/m68k/x-amix b/gcc/config/m68k/x-amix deleted file mode 100644 index 6ec4f6388896..000000000000 --- a/gcc/config/m68k/x-amix +++ /dev/null @@ -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 = diff --git a/gcc/config/m68k/x-apollo68 b/gcc/config/m68k/x-apollo68 deleted file mode 100644 index b1bfa252c990..000000000000 --- a/gcc/config/m68k/x-apollo68 +++ /dev/null @@ -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. diff --git a/gcc/config/m68k/x-ccur b/gcc/config/m68k/x-ccur deleted file mode 100644 index 3b0cad54b1d5..000000000000 --- a/gcc/config/m68k/x-ccur +++ /dev/null @@ -1,3 +0,0 @@ -# Specify the jobs library when building in the ATT universe. -CLIB = -ljobs -X_CFLAGS = -O0 -Dregister= diff --git a/gcc/config/m68k/x-crds b/gcc/config/m68k/x-crds deleted file mode 100644 index a6f57c2880da..000000000000 --- a/gcc/config/m68k/x-crds +++ /dev/null @@ -1 +0,0 @@ -CC = cc -Wx,-X23 diff --git a/gcc/config/m68k/x-dpx2 b/gcc/config/m68k/x-dpx2 index 36c5d96b368b..ec45bd876535 100644 --- a/gcc/config/m68k/x-dpx2 +++ b/gcc/config/m68k/x-dpx2 @@ -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 diff --git a/gcc/config/m68k/x-hp2bsd b/gcc/config/m68k/x-hp2bsd deleted file mode 100644 index 7dd651c96b69..000000000000 --- a/gcc/config/m68k/x-hp2bsd +++ /dev/null @@ -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 diff --git a/gcc/config/m68k/x-hp320 b/gcc/config/m68k/x-hp320 index e24fdc4845d4..d3bbb66f229b 100644 --- a/gcc/config/m68k/x-hp320 +++ b/gcc/config/m68k/x-hp320 @@ -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 diff --git a/gcc/config/m68k/x-hp320g b/gcc/config/m68k/x-hp320g index 9b31a3c88df3..d3bbb66f229b 100644 --- a/gcc/config/m68k/x-hp320g +++ b/gcc/config/m68k/x-hp320g @@ -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 diff --git a/gcc/config/m68k/x-mot3300 b/gcc/config/m68k/x-mot3300 deleted file mode 100644 index d13818f96b0a..000000000000 --- a/gcc/config/m68k/x-mot3300 +++ /dev/null @@ -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` diff --git a/gcc/config/m68k/x-mot3300-gas b/gcc/config/m68k/x-mot3300-gas deleted file mode 100644 index 90852be5e44b..000000000000 --- a/gcc/config/m68k/x-mot3300-gas +++ /dev/null @@ -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` diff --git a/gcc/config/m68k/x-next b/gcc/config/m68k/x-next index f1a9836636d8..7055d74af62e 100644 --- a/gcc/config/m68k/x-next +++ b/gcc/config/m68k/x-next @@ -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 diff --git a/gcc/config/m68k/x-tower b/gcc/config/m68k/x-tower deleted file mode 100644 index 995e72b9badb..000000000000 --- a/gcc/config/m68k/x-tower +++ /dev/null @@ -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 diff --git a/gcc/config/m88k/x-dgux b/gcc/config/m88k/x-dgux index f2c55a7d79eb..5d07910d4352 100644 --- a/gcc/config/m88k/x-dgux +++ b/gcc/config/m88k/x-dgux @@ -1,6 +1 @@ -CC = gcc -BISONFLAGS = -l -USER_H = $(EXTRA_HEADERS) $(LANG_EXTRA_HEADERS) - STMP_FIXPROTO = -X_CFLAGS = -O -mstandard -mlegend diff --git a/gcc/config/m88k/x-dolph b/gcc/config/m88k/x-dolph index c63d17eb41f0..9788d971a468 100644 --- a/gcc/config/m88k/x-dolph +++ b/gcc/config/m88k/x-dolph @@ -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__ diff --git a/gcc/config/m88k/x-sysv4 b/gcc/config/m88k/x-sysv4 deleted file mode 100644 index e2b79d0e6336..000000000000 --- a/gcc/config/m88k/x-sysv4 +++ /dev/null @@ -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 includes . - -X_CFLAGS = -DNO_BUGS -D__STDC__=0 diff --git a/gcc/config/m88k/x-tekXD88 b/gcc/config/m88k/x-tekXD88 index cf19e821dbbd..8e262eafe1cd 100644 --- a/gcc/config/m88k/x-tekXD88 +++ b/gcc/config/m88k/x-tekXD88 @@ -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 diff --git a/gcc/config/mips/x-dec-osf1 b/gcc/config/mips/x-dec-osf1 deleted file mode 100644 index 6e46f0eafd50..000000000000 --- a/gcc/config/mips/x-dec-osf1 +++ /dev/null @@ -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 diff --git a/gcc/config/mips/x-iris b/gcc/config/mips/x-iris index 99c7fc94b920..fbe8afc00520 100644 --- a/gcc/config/mips/x-iris +++ b/gcc/config/mips/x-iris @@ -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 diff --git a/gcc/config/mips/x-iris3 b/gcc/config/mips/x-iris3 index f8948e8c81fe..63e57771a0bc 100644 --- a/gcc/config/mips/x-iris3 +++ b/gcc/config/mips/x-iris3 @@ -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 diff --git a/gcc/config/mips/x-mips b/gcc/config/mips/x-mips index 7b407431a810..7f0ec53494e8 100644 --- a/gcc/config/mips/x-mips +++ b/gcc/config/mips/x-mips @@ -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 diff --git a/gcc/config/mips/x-osfrose b/gcc/config/mips/x-osfrose index 825276c25c71..f9ee98c801b7 100644 --- a/gcc/config/mips/x-osfrose +++ b/gcc/config/mips/x-osfrose @@ -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) diff --git a/gcc/config/mips/x-sni-svr4 b/gcc/config/mips/x-sni-svr4 deleted file mode 100644 index e7fe4ee43b73..000000000000 --- a/gcc/config/mips/x-sni-svr4 +++ /dev/null @@ -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) diff --git a/gcc/config/mips/x-sony b/gcc/config/mips/x-sony index c64593d7d7d3..7f0ec53494e8 100644 --- a/gcc/config/mips/x-sony +++ b/gcc/config/mips/x-sony @@ -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 diff --git a/gcc/config/mips/x-sysv b/gcc/config/mips/x-sysv index 09d467a256ef..9b2e2346fe92 100644 --- a/gcc/config/mips/x-sysv +++ b/gcc/config/mips/x-sysv @@ -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 diff --git a/gcc/config/mips/x-ultrix b/gcc/config/mips/x-ultrix deleted file mode 100644 index 6e46f0eafd50..000000000000 --- a/gcc/config/mips/x-ultrix +++ /dev/null @@ -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 diff --git a/gcc/config/pa/x-pa b/gcc/config/pa/x-pa index 4c250477358e..ac0236043ffa 100644 --- a/gcc/config/pa/x-pa +++ b/gcc/config/pa/x-pa @@ -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= diff --git a/gcc/config/pa/x-pa-mpeix b/gcc/config/pa/x-pa-mpeix index 390e28cddcd7..f3903e6b81fe 100644 --- a/gcc/config/pa/x-pa-mpeix +++ b/gcc/config/pa/x-pa-mpeix @@ -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 diff --git a/gcc/config/romp/x-mach b/gcc/config/romp/x-mach deleted file mode 100644 index a181e1bbbce8..000000000000 --- a/gcc/config/romp/x-mach +++ /dev/null @@ -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 diff --git a/gcc/config/romp/x-romp b/gcc/config/romp/x-romp deleted file mode 100644 index 82f9e6439424..000000000000 --- a/gcc/config/romp/x-romp +++ /dev/null @@ -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 , 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 diff --git a/gcc/config/rs6000/x-aix31 b/gcc/config/rs6000/x-aix31 index 311f76724aba..de19792916ec 100644 --- a/gcc/config/rs6000/x-aix31 +++ b/gcc/config/rs6000/x-aix31 @@ -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 diff --git a/gcc/config/rs6000/x-beos b/gcc/config/rs6000/x-beos deleted file mode 100644 index 16fc937e3e81..000000000000 --- a/gcc/config/rs6000/x-beos +++ /dev/null @@ -1,2 +0,0 @@ -# configuration for BeOS -INSTALL=install -c diff --git a/gcc/config/rs6000/x-lynx b/gcc/config/rs6000/x-lynx deleted file mode 100644 index 341e9085ef5d..000000000000 --- a/gcc/config/rs6000/x-lynx +++ /dev/null @@ -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 diff --git a/gcc/config/rs6000/x-mach b/gcc/config/rs6000/x-mach deleted file mode 100644 index dcff838bfa04..000000000000 --- a/gcc/config/rs6000/x-mach +++ /dev/null @@ -1,4 +0,0 @@ -# configuration for IBM rs6000 running MACH - -# For some reason, we need -lm for cc1. -CLIB=-lm diff --git a/gcc/config/rs6000/x-sysv4 b/gcc/config/rs6000/x-sysv4 deleted file mode 100644 index 71eaec650961..000000000000 --- a/gcc/config/rs6000/x-sysv4 +++ /dev/null @@ -1 +0,0 @@ -X_CFLAGS=-DSVR4 diff --git a/gcc/config/sparc/x-sysv4 b/gcc/config/sparc/x-sysv4 deleted file mode 100644 index 71eaec650961..000000000000 --- a/gcc/config/sparc/x-sysv4 +++ /dev/null @@ -1 +0,0 @@ -X_CFLAGS=-DSVR4 diff --git a/gcc/config/x-lynx b/gcc/config/x-lynx deleted file mode 100644 index 0be03e453e12..000000000000 --- a/gcc/config/x-lynx +++ /dev/null @@ -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