1 /* Definitions of target machine for GNU compiler. System/370 version. 2 Copyright (C) 1989, 1993, 1995, 1996, 1997 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 6 This file is part of GNU CC. 7 8 GNU CC is free software; you can redistribute it and/or modify 9 it under the terms of the GNU General Public License as published by 10 the Free Software Foundation; either version 2, or (at your option) 11 any later version. 12 13 GNU CC is distributed in the hope that it will be useful, 14 but WITHOUT ANY WARRANTY; without even the implied warranty of 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 GNU General Public License for more details. 17 18 You should have received a copy of the GNU General Public License 19 along with GNU CC; see the file COPYING. If not, write to 20 the Free Software Foundation, 59 Temple Place - Suite 330, 21 Boston, MA 02111-1307, USA. */ 22 23 #define TARGET_VERSION printf (" (370/OpenEdition)"); 24 25 /* Specify that we're generating code for the Language Environment */ 26 27 #define LE370 1 28 #define LONGEXTERNAL 1 29 #define TARGET_EBCDIC 1 30 #define TARGET_HLASM 1 31 32 /* Options for the preprocessor for this target machine. */ 33 34 #define CPP_SPEC "-trigraphs" 35 36 /* Options for this target machine. */ 37 38 #define LIB_SPEC "" 39 #define LIBGCC_SPEC "" 40 #define STARTFILE_SPEC "/usr/local/lib/gccmain.o" 41 42 /* Target OS preprocessor built-ins. */ 43 #define TARGET_OS_CPP_BUILTINS() \ 44 do { \ 45 builtin_define_std ("unix"); \ 46 builtin_define_std ("UNIX"); \ 47 builtin_define_std ("openedition"); \ 48 builtin_define ("__i370__"); \ 49 builtin_assert ("system=openedition"); \ 50 builtin_assert ("system=unix"); \ 51 } while (0) 52 53 /* Include system common definitions */ 54 55 #include "config/i370/i370.h" 56 57