* tm.texi: Fix markup.
[official-gcc.git] / gcc / config / i386 / vxi386.h
blob310766cb9be10a7d7ef7407eafd09f530816f3e8
1 /* Definitions of target machine for GNU compiler. VxWorks i386 version.
2 Copyright (C) 1998 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 #undef CPP_CPU_SPEC
22 #define CPP_CPU_SPEC "\
23 -Asystem=unix -Acpu=i386 -Amachine=i386 \
24 %{!ansi:-Di386} -D__i386 -D__i386__ \
25 %{march=i386:-DCPU=I80386} \
26 %{march=i486:-DCPU=I80486 %(cpp_486)} \
27 %{march=pentium:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUM %(cpp_586)} \
28 %{march=pentiumpro:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUMPRO %(cpp_686)} \
29 %{!march=*: \
30 %{mcpu=i386:-DCPU=I80386} \
31 %{mcpu=i486:-DCPU=I80486 %(cpp_486)} %{m486:-DCPU=I80486 %(cpp_486)} \
32 %{mpentium:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUM %(cpp_586)} \
33 %{mcpu=pentium:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUM %(cpp_586)} \
34 %{mpentiumpro:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUMPRO %(cpp_686)} \
35 %{mcpu=pentiumpro:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUMPRO %(cpp_686)} \
36 %{!mcpu*:%{!m486:%{!mpentium*:-DCPU=I80386 %(cpp_cpu_default)}}}}"
38 #include "i386/i386-aout.h"
40 #define HANDLE_SYSV_PRAGMA
42 #undef CPP_PREDEFINES
43 #define CPP_PREDEFINES "-D__vxworks"
45 /* VxWorks does all the library stuff itself. */
47 #undef LIB_SPEC
48 #define LIB_SPEC ""
50 /* VxWorks uses object files, not loadable images. make linker just
51 combine objects. */
53 #undef LINK_SPEC
54 #define LINK_SPEC "-r"
56 /* VxWorks provides the functionality of crt0.o and friends itself. */
58 #undef STARTFILE_SPEC
59 #define STARTFILE_SPEC ""
61 #undef ENDFILE_SPEC
62 #define ENDFILE_SPEC ""