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