xref: /openbsd/gnu/usr.bin/gcc/gcc/config/alpha/xm-vms.h (revision c87b03e5)
1*c87b03e5Sespie /* Configuration for GNU C-compiler for openVMS/Alpha.
2*c87b03e5Sespie    Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
3*c87b03e5Sespie    Contributed by Klaus Kaempf (kkaempf@progis.de).
4*c87b03e5Sespie 
5*c87b03e5Sespie This file is part of GNU CC.
6*c87b03e5Sespie 
7*c87b03e5Sespie GNU CC is free software; you can redistribute it and/or modify
8*c87b03e5Sespie it under the terms of the GNU General Public License as published by
9*c87b03e5Sespie the Free Software Foundation; either version 2, or (at your option)
10*c87b03e5Sespie any later version.
11*c87b03e5Sespie 
12*c87b03e5Sespie GNU CC is distributed in the hope that it will be useful,
13*c87b03e5Sespie but WITHOUT ANY WARRANTY; without even the implied warranty of
14*c87b03e5Sespie MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15*c87b03e5Sespie GNU General Public License for more details.
16*c87b03e5Sespie 
17*c87b03e5Sespie You should have received a copy of the GNU General Public License
18*c87b03e5Sespie along with GNU CC; see the file COPYING.  If not, write to
19*c87b03e5Sespie the Free Software Foundation, 59 Temple Place - Suite 330,
20*c87b03e5Sespie Boston, MA 02111-1307, USA.  */
21*c87b03e5Sespie 
22*c87b03e5Sespie #define HOST_WIDE_INT long long
23*c87b03e5Sespie #define HOST_BITS_PER_WIDE_INT 64
24*c87b03e5Sespie 
25*c87b03e5Sespie /* A couple of conditionals for execution machine are controlled here.  */
26*c87b03e5Sespie #ifndef VMS
27*c87b03e5Sespie #define VMS
28*c87b03e5Sespie #endif
29*c87b03e5Sespie 
30*c87b03e5Sespie /* Define a local equivalent (sort of) for unlink */
31*c87b03e5Sespie #define unlink remove
32*c87b03e5Sespie 
33*c87b03e5Sespie /* Causes exit() to be redefined to __posix_exit() and
34*c87b03e5Sespie    Posix compatible failure and success codes to be used */
35*c87b03e5Sespie #define _POSIX_EXIT 1
36*c87b03e5Sespie 
37*c87b03e5Sespie /* Open files in stream mode if not otherwise explicitly specified */
38*c87b03e5Sespie #define __UNIX_FOPEN 1
39*c87b03e5Sespie 
40*c87b03e5Sespie /* Write to stdout using fputc to avoid record terminators in pipes */
41*c87b03e5Sespie #define __UNIX_FWRITE 1
42*c87b03e5Sespie 
43*c87b03e5Sespie #define STDC_HEADERS 1
44*c87b03e5Sespie 
45*c87b03e5Sespie #define HOST_EXECUTABLE_SUFFIX ".exe"
46*c87b03e5Sespie #define HOST_OBJECT_SUFFIX ".obj"
47*c87b03e5Sespie 
48*c87b03e5Sespie #define DUMPFILE_FORMAT "_%02d_"
49