OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [config/] [alpha/] [xm-vms.h] - Blame information for rev 822

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Configuration for GNU C-compiler for openVMS/Alpha.
2
   Copyright (C) 1996, 1997, 2001, 2004, 2007 Free Software Foundation, Inc.
3
   Contributed by Klaus Kaempf (kkaempf@progis.de).
4
 
5
This file is part of GCC.
6
 
7
GCC 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 3, or (at your option)
10
any later version.
11
 
12
GCC 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 GCC; see the file COPYING3.  If not see
19
<http://www.gnu.org/licenses/>.  */
20
 
21
/* A couple of conditionals for execution machine are controlled here.  */
22
#ifndef VMS
23
#define VMS
24
#endif
25
 
26
/* Define a local equivalent (sort of) for unlink */
27
#define unlink remove
28
 
29
/* Causes exit() to be redefined to __posix_exit() and
30
   Posix compatible failure and success codes to be used */
31
#define _POSIX_EXIT 1
32
 
33
/* Open files in stream mode if not otherwise explicitly specified */
34
#define __UNIX_FOPEN 1
35
 
36
/* Write to stdout using fputc to avoid record terminators in pipes */
37
#define __UNIX_FWRITE 1
38
 
39
#define STDC_HEADERS 1
40
 
41
#define HOST_EXECUTABLE_SUFFIX ".exe"
42
#define HOST_OBJECT_SUFFIX ".obj"
43
 
44
#define DUMPFILE_FORMAT "_%02d_"
45
 
46
#define DELETE_IF_ORDINARY(NAME,ST,VERBOSE_FLAG)           \
47
do                                                         \
48
  {                                                        \
49
    while (stat (NAME, &ST) >= 0 && S_ISREG (ST.st_mode))  \
50
      if (unlink (NAME) < 0)                               \
51
        {                                                  \
52
          if (VERBOSE_FLAG)                                \
53
            perror_with_name (NAME);                       \
54
          break;                                           \
55
        }                                                  \
56
  } while (0)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.