OSDN Git Service

* config.gcc: Set default for xmake_file at top, not bottom.
[pf3gnuchains/gcc-fork.git] / gcc / config / a29k / vx29k.h
1 /* Definitions of target machine for GNU compiler.  Vxworks 29k version.
2    Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
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.
10
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.
15
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.  */
20
21 /* This file just exists to give specs for the 29k running on VxWorks.  */
22
23 /* Names to predefine in the preprocessor for this target machine.  */
24
25 #undef  CPP_PREDEFINES
26 #define CPP_PREDEFINES "-D_AM29K -D_AM29000 -Acpu=a29k -Amachine=a29k -D__vxworks -D__vxworks_5"
27
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.  */
31
32 #undef CPP_SPEC
33 #define CPP_SPEC "-DCPU=AM29200"
34
35 /* VxWorks does all the library stuff itself.  */
36
37 #undef LIB_SPEC
38 #define LIB_SPEC ""
39
40 /* VxWorks provides the functionality of crt0.o and friends itself.  */
41
42 #undef STARTFILE_SPEC
43 #define STARTFILE_SPEC "crtbegin.o%s"
44
45 #undef ENDFILE_SPEC
46 #define ENDFILE_SPEC "crtend.o%s"