* config/i386/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define.
[official-gcc.git] / gcc / config / i386 / vxi386.h
bloba4b5944e957c5ab824a05e7d55be3217d967e258
1 /* Definitions of target machine for GNU compiler. VxWorks i386 version.
2 Copyright (C) 1998, 2002 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 TARGET_VERSION
22 #define TARGET_VERSION fprintf (stderr, " (80386, VxWorks BSD syntax)");
24 #undef CPP_CPU_SPEC
25 #define CPP_CPU_SPEC "\
26 -Asystem=unix -Acpu=i386 -Amachine=i386 \
27 %{!ansi:-Di386} -D__i386 -D__i386__ \
28 %{march=i386:-DCPU=I80386} \
29 %{march=i486:-DCPU=I80486 %(cpp_486)} \
30 %{march=pentium:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUM %(cpp_586)} \
31 %{march=pentiumpro:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUMPRO %(cpp_686)} \
32 %{!march=*: \
33 %{mcpu=i386:-DCPU=I80386} \
34 %{mcpu=i486:-DCPU=I80486 %(cpp_486)} %{m486:-DCPU=I80486 %(cpp_486)} \
35 %{mpentium:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUM %(cpp_586)} \
36 %{mcpu=pentium:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUM %(cpp_586)} \
37 %{mpentiumpro:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUMPRO %(cpp_686)} \
38 %{mcpu=pentiumpro:-DCPU=PENTIUM -DCPU_VARIANT=PENTIUMPRO %(cpp_686)} \
39 %{!mcpu*:%{!m486:%{!mpentium*:-DCPU=I80386 %(cpp_cpu_default)}}}}"
41 #define HANDLE_SYSV_PRAGMA
43 #undef CPP_PREDEFINES
44 #define CPP_PREDEFINES "-D__vxworks"
46 /* VxWorks does all the library stuff itself. */
48 #undef LIB_SPEC
49 #define LIB_SPEC ""
51 /* VxWorks uses object files, not loadable images. make linker just
52 combine objects. */
54 #undef LINK_SPEC
55 #define LINK_SPEC "-r"
57 /* VxWorks provides the functionality of crt0.o and friends itself. */
59 #undef STARTFILE_SPEC
60 #define STARTFILE_SPEC ""
62 #undef ENDFILE_SPEC
63 #define ENDFILE_SPEC ""