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