OSDN Git Service

41d275ee10a77c7dc0b754d04a304da23d0441e8
[pf3gnuchains/gcc-fork.git] / gcc / config / pj / linux.h
1 /* Definitions for a picoJava Linux-based GNU system.
2    Copyright (C) 2000 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 /* contributed by Steve Chamberlain, of Transmeta. sac@pobox.com. */
22
23 #define TARGET_LITTLE_ENDIAN_DEFAULT 1
24
25 #undef CPP_PREDEFINES
26 #undef STARTFILE_SPEC
27 #undef ENDFILE_SPEC
28
29 #define CPP_PREDEFINES "-D__ELF__ -Dunix -D__pj__ -Dlinux -Asystem(posix)"
30 #define STARTFILE_SPEC "crt1.o%s crti.o%s crtbegin.o%s"
31 #define ENDFILE_SPEC   "crtend.o%s crtn.o%s"
32
33 #undef WCHAR_TYPE_SIZE
34 #undef WCHAR_TYPE
35 #define WCHAR_TYPE "long int"
36 #define WCHAR_TYPE_SIZE BITS_PER_WORD