OSDN Git Service

* config/alpha/xm-vms.h (_POSIX_EXIT): Define.
[pf3gnuchains/gcc-fork.git] / gcc / config / alpha / xm-vms.h
1 /* Configuration for GNU C-compiler for openVMS/Alpha.
2    Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
3    Contributed by Klaus Kaempf (kkaempf@progis.de).
4
5 This file is part of GNU CC.
6
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING.  If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA.  */
21
22 /* If compiling with DECC, need to fix problem with <stdio.h>
23    which defines a macro called FILE_TYPE that breaks "tree.h".
24    Fortunately it uses #ifndef to suppress multiple inclusions.
25    Three possible cases:
26         1) <stdio.h> has already been included -- ours will be no-op;
27         2) <stdio.h> will be included after us -- "theirs" will be no-op;
28         3) <stdio.h> isn't needed -- including it here shouldn't hurt.
29    In all three cases, the problem macro will be removed here.  */
30
31 #include <stdio.h>
32 #include <stdlib.h>
33 #include <string.h>
34 #ifdef __DECC
35 #undef FILE_TYPE
36 #endif
37
38 #define HOST_WIDE_INT long long
39 #define HOST_BITS_PER_WIDE_INT 64
40
41 /* A couple of conditionals for execution machine are controlled here.  */
42 #ifndef VMS
43 #define VMS
44 #endif
45
46 #define GCC_INCLUDE_DIR ""
47 /* Specify the list of include file directories.  */
48 #define INCLUDE_DEFAULTS                \
49 {                                       \
50   { "GNU_GXX_INCLUDE:", "G++", 1, 1 },  \
51   { "GNU_CC_INCLUDE:", "GCC", 0, 0 },   \
52   { ".", 0, 0, 1 },                     \
53   { 0, 0, 0, 0 }                        \
54 }
55
56 /* Define a local equivalent (sort of) for unlink */
57 #define unlink remove
58
59 /* Causes exit() to be redefined to __posix_exit() and
60    Posix compatible failure and success codes to be used */
61 #define _POSIX_EXIT 1
62
63 #define STDC_HEADERS 1
64
65 #define HOST_EXECUTABLE_SUFFIX ".exe"
66 #define HOST_OBJECT_SUFFIX ".obj"
67
68 #define DUMPFILE_FORMAT "_%02d_"