|
|
1.1 root 1: /* Definitions for Intel 386 running SCO Unix System V 3.2 Version 4.s,
2: using dbx-in-coff encapsulation.
3: Copyright (C) 1992 Free Software Foundation, Inc.
4:
5: This file is part of GNU CC.
6:
7: GNU CC is free software; you can redistribute it and/or modify
8: it under the terms of the GNU General Public License as published by
9: the Free Software Foundation; either version 2, or (at your option)
10: any later version.
11:
12: GNU CC is distributed in the hope that it will be useful,
13: but WITHOUT ANY WARRANTY; without even the implied warranty of
14: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: GNU General Public License for more details.
16:
17: You should have received a copy of the GNU General Public License
18: along with GNU CC; see the file COPYING. If not, write to
19: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
20:
21:
22: /* Mostly it's like earlier SCO UNIX. */
23:
24: #include "i386/scodbx.h"
25:
26: /* Use crt1.o as a startup file and crtn.o as a closing file. */
27:
28: #undef STARTFILE_SPEC
29: #define STARTFILE_SPEC \
30: "%{!r:%{!z:gcc.ifile%s}%{z:gccz.ifile%s}}\
31: %{scoxpg3:%{p:mcrt1X.o%s}%{!p:crt1X.o%s}} \
32: %{!scoxpg3:\
33: %{posix:%{p:mcrt1P.o%s}%{!p:crt1P.o%s}} \
34: %{!posix:\
35: %{ansi:%{p:mcrt1A.o%s}%{!p:crt1A.o%s}} \
36: %{!ansi:%{pg:gcrt1.o%s}%{!pg:%{p:mcrt1.o%s}%{!p:crt1.o%s}}}}}"
37:
38: #undef ENDFILE_SPEC
39: #define ENDFILE_SPEC \
40: "%{scoxpg3:crtnX.o%s} \
41: %{!scoxpg3:\
42: %{posix:crtnP.o%s} \
43: %{!posix:\
44: %{ansi:crtnA.o%s} \
45: %{!ansi:crtn.o%s}}}"
46:
47: /* Library spec. */
48:
49: #undef LIB_SPEC
50: #define LIB_SPEC \
51: "%{p:-L/usr/lib/libp}%{pg:-L/usr/lib/libp} \
52: %{scoxpg3:-lcX -lcP -lcA} \
53: %{!scoxpg3:\
54: %{posix:-lcP -lcA} \
55: %{!posix:\
56: %{ansi:-lcA} \
57: %{!ansi:%{scointl:-lintl} -lc}}}"
58:
59: /* Macros, macros everywhere:
60: Specify predefined symbols in preprocessor. */
61:
62: #undef CPP_PREDEFINES
63: #define CPP_PREDEFINES "-Di386 -Dunix -Asystem(unix) -Asystem(svr3) -Acpu(i386) -Amachine(i386)"
64:
65: #undef CPP_SPEC
66: #define CPP_SPEC \
67: "-D_M_I386 -D_M_I86 -D_M_I86SM -D_M_SDATA -D_M_STEXT \
68: -D_M_UNIX -D_M_XENIX \
69: -D_M_SYS5 -D_M_SYSV -D_M_SYS3 -D_M_SYSIII \
70: -D_M_COFF -D_M_BITFIELDS -D_M_WORDSWAP \
71: %{scoxpg3:-D_XOPEN_SOURCE -D_STRICT_NAMES} \
72: %{!scoxpg3:%{posix:-D_POSIX_SOURCE -D_STRICT_NAMES}} \
73: %{!scoxpg3:%{!posix:\
74: %{ansi:-D_STRICT_NAMES}%{!ansi:\
75: -DM_I386 -DM_I86 -DM_I86SM -DM_SDATA -DM_STEXT \
76: -DM_UNIX -DM_XENIX \
77: -DM_SYS5 -DM_SYSV -DM_SYS3 -DM_SYSIII \
78: -DM_COFF -DM_BITFIELDS -DM_WORDSWAP \
79: %{scointl:-D_M_INTERNAT -DM_INTERNAT} \
80: %{traditional:-D_KR -D_SVID -D_NO_PROTOTYPE}}}}"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.