1169689Skan/* Common VxWorks AE target definitions for GNU compiler. 2169689Skan Copyright (C) 2004, 2005 Free Software Foundation, Inc. 3169689Skan Contributed by CodeSourcery, LLC. 4169689Skan 5169689SkanThis file is part of GCC. 6169689Skan 7169689SkanGCC is free software; you can redistribute it and/or modify it under 8169689Skanthe terms of the GNU General Public License as published by the Free 9169689SkanSoftware Foundation; either version 2, or (at your option) any later 10169689Skanversion. 11169689Skan 12169689SkanGCC is distributed in the hope that it will be useful, but WITHOUT ANY 13169689SkanWARRANTY; without even the implied warranty of MERCHANTABILITY or 14169689SkanFITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15169689Skanfor more details. 16169689Skan 17169689SkanYou should have received a copy of the GNU General Public License 18169689Skanalong with GCC; see the file COPYING. If not, write to the Free 19169689SkanSoftware Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 20169689Skan02110-1301, USA. */ 21169689Skan 22169689Skan/* This header should be included after including vx-common.h. */ 23169689Skan 24169689Skan/* Most of the definitions below this point are versions of the 25169689Skan vxworks.h definitions, without the -mrtp bits. */ 26169689Skan 27169689Skan/* The directory containing the VxWorks AE target headers. */ 28169689Skan#define VXWORKSAE_TARGET_DIR \ 29169689Skan "/home/tornado/vxworks-ae/latest/target" 30169689Skan 31169689Skan/* Include target/vThreads/h or target/h (depending on the compilation 32169689Skan mode), and then target/val/h (in either mode). The macros defined 33169689Skan are in the user's namespace, but the VxWorks headers require 34169689Skan them. */ 35169689Skan#undef VXWORKS_ADDITIONAL_CPP_SPEC 36169689Skan#define VXWORKS_ADDITIONAL_CPP_SPEC " \ 37169689Skan %{!nostdinc:%{isystem*}} \ 38169689Skan %{mvthreads:-DVTHREADS=1 \ 39169689Skan %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/vThreads/h}} \ 40169689Skan %{!mvthreads:-DAE653_BUILD=1 \ 41169689Skan %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/h}} \ 42169689Skan %{!nostdinc:-isystem " VXWORKSAE_TARGET_DIR "/val/h}" 43169689Skan 44169689Skan#undef VXWORKS_LIB_SPEC 45169689Skan#define VXWORKS_LIB_SPEC "" 46169689Skan 47169689Skan#undef VXWORKS_LINK_SPEC 48169689Skan#define VXWORKS_LINK_SPEC \ 49169689Skan "-r %{v:-V}" 50169689Skan 51169689Skan#undef VXWORKS_LIBGCC_SPEC 52169689Skan#define VXWORKS_LIBGCC_SPEC \ 53169689Skan "-lgcc" 54169689Skan 55169689Skan#undef VXWORKS_STARTFILE_SPEC 56169689Skan#define VXWORKS_STARTFILE_SPEC "" 57169689Skan 58169689Skan#define VXWORKS_KIND VXWORKS_KIND_AE 59