diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2021-08-15 00:34:05 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2021-08-15 00:34:05 -0400 |
| commit | 60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f (patch) | |
| tree | fdc0be85a1ca35e34c3ae2c805fe9b718e3c1091 /gcc-1.40/config/tm-i386sco.h | |
| parent | dd8dfab51b832a654365ed00c06bf802ff628bfa (diff) | |
| download | linux-0.01-distro-60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f.tar.gz linux-0.01-distro-60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f.tar.bz2 linux-0.01-distro-60cc83bf91bfc9bb02f6304b5d6c8234ba6d210f.zip | |
Diffstat (limited to 'gcc-1.40/config/tm-i386sco.h')
| -rw-r--r-- | gcc-1.40/config/tm-i386sco.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gcc-1.40/config/tm-i386sco.h b/gcc-1.40/config/tm-i386sco.h new file mode 100644 index 0000000..f9ca635 --- /dev/null +++ b/gcc-1.40/config/tm-i386sco.h @@ -0,0 +1,39 @@ +/* Definitions for Intel 386 running SCO Unix System V. */ + + +/* 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, including SCO international language support. */ + +#undef LIB_SPEC +#define LIB_SPEC \ + "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} libintl.a%s -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} -DM_INTERNAT" + +/* SCO's assember doesn't grok '$' in labels (for g++) */ + +#define NO_DOLLAR_IN_LABEL + +/* SCO's libraries are compiled with Microsoft C, which requires the + caller to pop the extra argument passed to functions that return + structures. */ + +#define STRUCT_RETURN_CALLER_POP + |
