From 60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 15 Aug 2021 00:34:05 -0400 Subject: Added gcc --- gcc-1.40/config/tm-i386esix.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 gcc-1.40/config/tm-i386esix.h (limited to 'gcc-1.40/config/tm-i386esix.h') diff --git a/gcc-1.40/config/tm-i386esix.h b/gcc-1.40/config/tm-i386esix.h new file mode 100644 index 0000000..33b349f --- /dev/null +++ b/gcc-1.40/config/tm-i386esix.h @@ -0,0 +1,36 @@ +/* Definitions for Intel 386 running ESIX Unix System V. */ +/* Just like SCO support except don't use their special library and + predefined symbol. */ + +/* Mostly it's like AT&T Unix System V. */ + +#include "tm-i386v.h" + +/* Use crt1.o as a startup file and crtn.o as a closing file. */ + +#undef STARTFILE_SPEC +#define STARTFILE_SPEC "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}" + +#define ENDFILE_SPEC "crtn.o%s" + +/* Library spec. */ + +#undef LIB_SPEC +#define LIB_SPEC \ + "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} -lc" + +/* Specify predefined symbols in preprocessor. */ + +#undef CPP_PREDEFINES +#define CPP_PREDEFINES \ +"-Dunix -Di386 -DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP" + +#undef CPP_SPEC +#define CPP_SPEC "%{posix:-D_POSIX_SOURCE}" + +/* SCO's assember doesn't grok '$' in labels (for g++) */ + +#define NO_DOLLAR_IN_LABEL + +/* Unlike SCO, ESIX expects the called function to pop the structure + value address. So don't define STRUCT_RETURN_CALLER_POP. */ -- cgit v1.2.3