OSDN Git Service

* xm-interix.h, xm-lynx.h, alpha/xm-vms.h, convex/xm-convex.h,
[pf3gnuchains/gcc-fork.git] / gcc / config / i370 / xm-linux.h
1 /* Configuration for GNU C-compiler for System/370.
2    Copyright (C) 1989, 1993, 1997, 2001 Free Software Foundation, Inc.
3    Contributed by Jan Stein (jan@cd.chalmers.se).
4    Modified for OS/390 OpenEdition by Dave Pitts (dpitts@cozx.com)
5    Modified for 390/Linux by Linas Vepstas (linas@linas.org)
6
7 This file is part of GNU CC.
8
9 GNU CC is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2, or (at your option)
12 any later version.
13
14 GNU CC is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with GNU CC; see the file COPYING.  If not, write to
21 the Free Software Foundation, 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA.  */
23
24 /* #defines that need visibility everywhere.  */
25
26 #define FALSE 0
27 #define TRUE 1
28
29 /* This describes the machine the compiler is hosted on.  */
30
31 #define HOST_BITS_PER_CHAR      8
32 #define HOST_BITS_PER_SHORT     16
33 #define HOST_BITS_PER_INT       32
34 #define HOST_BITS_PER_LONG      32
35 #define HOST_BITS_PER_LONGLONG  64
36 #define HOST_FLOAT_FORMAT       IEEE_FLOAT_FORMAT
37
38 #define HOST_WORDS_BIG_ENDIAN    
39
40 /* If not compiled with GNU C, use the C alloca and use only int bitfields.  */
41 #ifndef __GNUC__
42 #define USE_C_ALLOCA
43 #if __STDC__
44 extern void *alloca ();
45 #else
46 extern char *alloca ();
47 #endif
48 #define ONLY_INT_FIELDS
49 #endif
50
51 /* Target machine dependencies.  tm.h is a symbolic link to the actual
52    target specific file.  */
53
54 #include "tm.h"
55
56 /* Arguments to use with `exit'.  */
57
58 #define SUCCESS_EXIT_CODE       0
59 #define FATAL_EXIT_CODE         12