OSDN Git Service

* doc/extend.texi (MIPS DSP Built-in Functions): Document the DSP
[pf3gnuchains/gcc-fork.git] / gcc / config / vxworksae.h
1 /* Common VxWorks AE target definitions for GNU compiler.
2    Copyright (C) 2004, 2005 Free Software Foundation, Inc.
3    Contributed by CodeSourcery, LLC.
4
5 This file is part of GCC.
6
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2, or (at your option) any later
10 version.
11
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING.  If not, write to the Free
19 Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
20 02110-1301, USA.  */
21
22 /* This header should be included after including vx-common.h.  */
23
24 /* Most of the definitions below this point are versions of the
25    vxworks.h definitions, without the -mrtp bits.  */
26
27 /* The directory containing the VxWorks AE target headers.  */
28 #define VXWORKSAE_TARGET_DIR \
29   "/home/tornado/vxworks-ae/latest/target"
30
31 /* Include target/vThreads/h or target/h (depending on the compilation
32    mode), and then target/val/h (in either mode).  The macros defined
33    are in the user's namespace, but the VxWorks headers require
34    them.  */
35 #undef VXWORKS_ADDITIONAL_CPP_SPEC
36 #define VXWORKS_ADDITIONAL_CPP_SPEC "                                   \
37  %{!nostdinc:%{isystem*}}                                               \
38  %{mvthreads:-DVTHREADS=1                                               \
39          %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/vThreads/h}}     \
40  %{!mvthreads:-DAE653_BUILD=1                                           \
41          %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/h}}              \
42  %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/val/h}"
43
44 #undef VXWORKS_LIB_SPEC
45 #define VXWORKS_LIB_SPEC ""
46
47 #undef VXWORKS_LINK_SPEC
48 #define VXWORKS_LINK_SPEC       \
49   "-r %{v:-V}"
50  
51 #undef VXWORKS_LIBGCC_SPEC
52 #define VXWORKS_LIBGCC_SPEC     \
53   "-lgcc"
54
55 #undef VXWORKS_STARTFILE_SPEC
56 #define VXWORKS_STARTFILE_SPEC ""
57
58 #define VXWORKS_KIND VXWORKS_KIND_AE