4e70264f82
2001-05-01 Zack Weinberg <zackw@stanford.edu> * config.gcc: Don't default xmake_file to ${cpu_type}/x-${cpu_type}. Remove references to deleted files. (*-*-openbsd): No need to override xmake_file. (*-*-sysv4): Treat like *-*-sysv. * configure.in: Probe for ldopen in various places, and set up collect2 to be linked with them if found. Don't dink with Windows registry stuff unless $host_os is a Win32 os name. Check to see if we need -ladvapi32. * configure: Regenerate. * Makefile: Get rid of CLIB and HOST_CLIB. Substitute in COLLECT2_LIBS and link collect2 against its contents. * build-make: Get rid of HOST_CLIB. * config/a29k/x-unix, config/alpha/x-osf, config/i386/x-aix, 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, config/rs6000/x-aix41, config/rs6000/x-rs6000: Delete. * config/i386/x-cygwin, config/m68k/t-aux, config/mips/x-iris: Don't set CLIB. 24 x-host fragments remain, 0 x-cpu, 3 top level. 2001-05-01 Zack Weinberg <zackw@stanford.edu> * aclocal.m4 (gcc_AC_C_CHAR_BIT): Correct test program. * configure: Regenerate. From-SVN: r41732
42 lines
1.5 KiB
Plaintext
42 lines
1.5 KiB
Plaintext
# Makefile additions for A/UX
|
|
|
|
LIB2FUNCS_EXTRA=aux-mcount.c aux-exit.c
|
|
|
|
FIXPROTO_DEFINES=-D_POSIX_SOURCE
|
|
|
|
# Needed to support builds for multiple versions of A/UX
|
|
# LDFLAGS=-static
|
|
|
|
# Make sure we get the right assembler by letting gcc choose
|
|
AS = $(GCC_FOR_TARGET) -xassembler-with-cpp -D__ASSEMBLY__ $(INCLUDES) -c
|
|
|
|
aux-mcount.c: $(srcdir)/config/m68k/aux-mcount.c
|
|
cp $(srcdir)/config/m68k/aux-mcount.c aux-mcount.c
|
|
|
|
aux-exit.c: $(srcdir)/config/m68k/aux-exit.c
|
|
cp $(srcdir)/config/m68k/aux-exit.c aux-exit.c
|
|
|
|
crt1.o: $(srcdir)/config/m68k/aux-crt1.c $(GCC_PASSES)
|
|
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) $(INCLUDES) -o crt1.o -c \
|
|
-fno-omit-frame-pointer $(srcdir)/config/m68k/aux-crt1.c
|
|
|
|
mcrt1.o: $(srcdir)/config/m68k/aux-crt1.c $(GCC_PASSES)
|
|
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) $(INCLUDES) -o mcrt1.o -c \
|
|
-fno-omit-frame-pointer -DMCRT1 $(srcdir)/config/m68k/aux-crt1.c
|
|
|
|
maccrt1.o: $(srcdir)/config/m68k/aux-crt1.c $(GCC_PASSES)
|
|
$(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) $(INCLUDES) -o maccrt1.o -c \
|
|
-fno-omit-frame-pointer -DMACCRT1 $(srcdir)/config/m68k/aux-crt1.c
|
|
|
|
crt2.o: $(srcdir)/config/m68k/aux-crt2.asm $(GCC_PASSES)
|
|
$(AS) -o crt2.o $(srcdir)/config/m68k/aux-crt2.asm
|
|
|
|
crtn.o: $(srcdir)/config/m68k/aux-crtn.asm $(GCC_PASSES)
|
|
$(AS) -o crtn.o $(srcdir)/config/m68k/aux-crtn.asm
|
|
|
|
low.gld: $(srcdir)/config/m68k/aux-low.gld
|
|
sed -e 's|@libdir@|$(libdir)|' -e 's|@tooldir@|$(tooldir)|' \
|
|
-e 's|@local_prefix@|$(local_prefix)|' \
|
|
$(srcdir)/config/m68k/aux-low.gld > tmp-low.gld
|
|
mv tmp-low.gld low.gld
|