From cdc6e2c50f96119bdc4c1205ff5901ca82ec8357 Mon Sep 17 00:00:00 2001 From: camthesaxman Date: Wed, 29 Jan 2020 18:17:43 -0600 Subject: add old compiler with ARM support --- gcc_arm/config/arm/x-riscix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 gcc_arm/config/arm/x-riscix (limited to 'gcc_arm/config/arm/x-riscix') diff --git a/gcc_arm/config/arm/x-riscix b/gcc_arm/config/arm/x-riscix new file mode 100755 index 0000000..4584f95 --- /dev/null +++ b/gcc_arm/config/arm/x-riscix @@ -0,0 +1,8 @@ +# 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 -- cgit v1.2.3