2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / config / i370 / mvs.h
blobdfb4cba188ae9a5fa1a550bf003237ca698079e5
1 /* Definitions of target machine for GNU compiler. System/370 version.
2 Copyright (C) 1989, 1993, 1995, 1996, 1997, 2003
3 Free Software Foundation, Inc.
4 Contributed by Jan Stein (jan@cd.chalmers.se).
5 Modified for OS/390 LanguageEnvironment C by Dave Pitts (dpitts@cozx.com)
7 This file is part of GCC.
9 GCC 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.
14 GCC 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.
19 You should have received a copy of the GNU General Public License
20 along with GCC; see the file COPYING. If not, write to
21 the Free Software Foundation, 59 Temple Place - Suite 330,
22 Boston, MA 02111-1307, USA. */
24 #define TARGET_VERSION printf (" (370/MVS)");
26 /* Specify that we're generating code for the Language Environment */
28 #define LE370 1
29 #define TARGET_EBCDIC 1
30 #define TARGET_HLASM 1
32 /* Options for the preprocessor for this target machine. */
34 #define CPP_SPEC "-trigraphs"
36 /* Target OS preprocessor built-ins. */
37 #define TARGET_OS_CPP_BUILTINS() \
38 do { \
39 builtin_define_std ("MVS"); \
40 builtin_define_std ("mvs"); \
41 MAYBE_LE370_MACROS(); \
42 builtin_assert ("system=mvs"); \
43 } while (0)
45 #if defined(LE370)
46 # define MAYBE_LE370_MACROS() do {builtin_define_std ("LE370");} while (0)
47 #else
48 # define MAYBE_LE370_MACROS()
49 #endif