8sa1-gcc/gcc/config/m88k/x-dolph
Richard Kenner 26d52b3e2c (EXTRA_PARTS): Redefined to also contain gcc.ld.
(gcc.ld): Copied from dolphin.ld.
(X_CFLAGS): Define __m88k__.

From-SVN: r6135
1993-11-21 15:38:01 -05:00

20 lines
620 B
Plaintext

# Use link editor directives to make NULL pointers point to
# illegal addresses.
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
# Green Hills C on Dolphin UNIX System V/88 Release 3.2 Version 3.6/5.86 does
# not provide alloca. It does not harm to have it defined on version 3.8.alfa
# even though it's not needed there.
ALLOCA=alloca.o
# 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__