|
|
1.1 root 1: /* Definitions for Intel 386 running SCO Unix System V. */
2:
3:
4: /* Mostly it's like AT&T Unix System V. */
5:
6: #include "tm-i386v.h"
7:
8: /* Use crt1.o as a startup file and crtn.o as a closing file. */
9:
10: #undef STARTFILE_SPEC
11: #define STARTFILE_SPEC "%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}"
12:
13: #define ENDFILE_SPEC "crtn.o%s"
14:
15: /* Library spec, including SCO international language support. */
16:
17: #undef LIB_SPEC
18: #define LIB_SPEC \
1.1.1.2 root 19: "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} libintl.a%s -lc"
1.1 root 20:
21: /* Specify predefined symbols in preprocessor. */
22:
23: #undef CPP_PREDEFINES
24: #define CPP_PREDEFINES \
1.1.1.2 root 25: "-Dunix -Di386 -DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP"
26:
27: #undef CPP_SPEC
28: #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} -DM_INTERNAT"
1.1 root 29:
30: /* SCO's assember doesn't grok '$' in labels (for g++) */
31:
32: #define NO_DOLLAR_IN_LABEL
1.1.1.3 ! root 33:
! 34: /* SCO's libraries are compiled with Microsoft C, which requires the
! 35: caller to pop the extra argument passed to functions that return
! 36: structures. */
! 37:
! 38: #define STRUCT_RETURN_CALLER_POP
! 39:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.