* Makefile.in (rtlanal.o): Depend on $(TM_P_H).
[official-gcc.git] / gcc / config / arm / arm-wince-pe.h
blobe43ea99631953d37604d3f17298159d39a4f4da2
1 /* Definitions of target machine for GNU compiler,
2 for ARM with PE obj format running under the WinCE operating system.
3 Copyright (C) 1999, 2000 Free Software Foundation, Inc.
5 This file is part of GNU CC.
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 #define ARM_WINCE 1
24 #include "pe.h"
26 #undef USER_LABEL_PREFIX
27 #define USER_LABEL_PREFIX ""
29 #undef TARGET_VERSION
30 #define TARGET_VERSION fputs (" (ARM/WinCE/PE)", stderr);
32 /* The next three definitions are defined in pe.h,
33 undefined in arm/arm-pe.h and then redefined back here! */
34 #undef LIB_SPEC
35 #define LIB_SPEC "-lcoredll -lcorelibc"
37 #define MATH_LIBRARY ""
39 #define LIBSTDCXX "-lc"
41 #undef STARTFILE_SPEC
42 #define STARTFILE_SPEC ""
43 #define ENDFILE_SPEC ""
45 #undef CPP_APCS_PC_DEFAULT_SPEC
46 #define CPP_APCS_PC_DEFAULT_SPEC "-D__APCS_32__"
48 #undef CC1_SPEC
49 #define CC1_SPEC "%{!mapcs-32:%{!mapcs-26:-mapcs-32}}"
51 #undef ASM_SPEC
52 #define ASM_SPEC " \
53 %{mbig-endian:-EB} \
54 %{mcpu=*:-m%*} \
55 %{march=*:-m%*} \
56 %{mapcs-*:-mapcs-%*} \
57 %{mthumb-interwork:-mthumb-interwork} \
58 %{!mapcs-32:%{!mapcs-26:-mapcs-32}} \
61 /* WinCE headers require -DARM */
62 #undef PE_SUBTARGET_CPP_SPEC
63 #define PE_SUBTARGET_CPP_SPEC "-D__pe__ -DARM -D__unaligned=__attribute__((aligned(1))) "
65 #undef SIZE_TYPE
66 #define SIZE_TYPE "long unsigned int"