aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Earnshaw <erich@gnu.org>1994-10-14 14:35:17 +0000
committerRichard Earnshaw <erich@gnu.org>1994-10-14 14:35:17 +0000
commitca628c540b32c3d792a1ba344e6cd27060bcdace (patch)
treebcf5364dcefaca19e624dec4df2112554618fce5 /gcc
parent6cda9f97bcb061144c3bbac2c27831d15df0ab88 (diff)
downloadgcc-ca628c540b32c3d792a1ba344e6cd27060bcdace.zip
gcc-ca628c540b32c3d792a1ba344e6cd27060bcdace.tar.gz
gcc-ca628c540b32c3d792a1ba344e6cd27060bcdace.tar.bz2
Initial revision
From-SVN: r8270
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/arm/t-riscix3
-rw-r--r--gcc/config/arm/x-riscix9
2 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/arm/t-riscix b/gcc/config/arm/t-riscix
new file mode 100644
index 0000000..e5a2213
--- /dev/null
+++ b/gcc/config/arm/t-riscix
@@ -0,0 +1,3 @@
+# Just for these, we omit the frame pointer since it makes such a big
+# difference. It is then pointless adding debugging.
+LIBGCC2_CFLAGS=-O2 -fomit-frame-pointer $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -g0
diff --git a/gcc/config/arm/x-riscix b/gcc/config/arm/x-riscix
new file mode 100644
index 0000000..06c62cf
--- /dev/null
+++ b/gcc/config/arm/x-riscix
@@ -0,0 +1,9 @@
+# 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
+INSTALL=$(srcdir)/install.sh