Initial revision
[official-gcc.git] / gcc / config / a29k / vx29k.h
blob8739b1ba7e22656cf119c438a0116c6e4eb13149
1 /* Definitions of target machine for GNU compiler. Vxworks 29k version.
2 Copyright (C) 1994, 1995, 1996 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 /* This file just exists to give specs for the 29k running on VxWorks. */
23 /* Names to predefine in the preprocessor for this target machine. */
25 #undef CPP_PREDEFINES
26 #define CPP_PREDEFINES "-D_AM29K -D_AM29000 -Acpu(a29k) -Amachine(a29k) -D__vxworks -D__vxworks_5"
28 /* Vxworks header files require that the macro CPU be set.
29 We could define it in CPP_PREDEFINES, but the value is (or will be)
30 dependent upon GCC options. */
32 #undef CPP_SPEC
33 #define CPP_SPEC "-DCPU=AM29200"
35 /* VxWorks does all the library stuff itself. */
37 #undef LIB_SPEC
38 #define LIB_SPEC ""
40 /* VxWorks provides the functionality of crt0.o and friends itself. */
42 #undef STARTFILE_SPEC
43 #define STARTFILE_SPEC "crtbegin.o%s"
45 #undef ENDFILE_SPEC
46 #define ENDFILE_SPEC "crtend.o%s"