aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-07-08 00:32:52 +0000
committerRichard Stallman <rms@gnu.org>1992-07-08 00:32:52 +0000
commit8169f835031895d1e30d2457df02360131eb8572 (patch)
tree41672e0892fb85c6b9f257c001da02b6a857dd81
parent258d13563c91c8060842d88224ca1fca9fe58ef1 (diff)
downloadgcc-8169f835031895d1e30d2457df02360131eb8572.zip
gcc-8169f835031895d1e30d2457df02360131eb8572.tar.gz
gcc-8169f835031895d1e30d2457df02360131eb8572.tar.bz2
Initial revision
From-SVN: r1507
-rw-r--r--gcc/config/m68k/x-dpx215
1 files changed, 15 insertions, 0 deletions
diff --git a/gcc/config/m68k/x-dpx2 b/gcc/config/m68k/x-dpx2
new file mode 100644
index 0000000..f109257
--- /dev/null
+++ b/gcc/config/m68k/x-dpx2
@@ -0,0 +1,15 @@
+# need this when using cc
+ALLOCA = alloca.o
+# avoid lossage assembling alloca.
+ALLOCA_FLAGS=-S
+ALLOCA_FINISH = $(AS) -o alloca.o alloca.s
+# be sure not to confuse ./as with /bin/as
+AS=`if [ x$(OLDCC) = x$(CC) ] ; then echo /bin/as; else echo gas; fi`
+#
+# 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=-lc_s -lld -lm
+# tell CC whether we are a 200 or 300
+X_CFLAGS=-D_SYSV -D__DPX2__ `if [ -d /makesys/kernel/cf/ncl_mr ]; then echo -Dncl_mr=1; else echo -Dncl_el; fi`