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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [alpha/] [xm-vms.h] - Diff between revs 38 and 154

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 38 Rev 154
/* Configuration for GNU C-compiler for openVMS/Alpha.
/* Configuration for GNU C-compiler for openVMS/Alpha.
   Copyright (C) 1996, 1997, 2001, 2004, 2007 Free Software Foundation, Inc.
   Copyright (C) 1996, 1997, 2001, 2004, 2007 Free Software Foundation, Inc.
   Contributed by Klaus Kaempf (kkaempf@progis.de).
   Contributed by Klaus Kaempf (kkaempf@progis.de).
 
 
This file is part of GCC.
This file is part of GCC.
 
 
GCC is free software; you can redistribute it and/or modify
GCC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3, or (at your option)
the Free Software Foundation; either version 3, or (at your option)
any later version.
any later version.
 
 
GCC is distributed in the hope that it will be useful,
GCC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.
GNU General Public License for more details.
 
 
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.  */
<http://www.gnu.org/licenses/>.  */
 
 
/* A couple of conditionals for execution machine are controlled here.  */
/* A couple of conditionals for execution machine are controlled here.  */
#ifndef VMS
#ifndef VMS
#define VMS
#define VMS
#endif
#endif
 
 
/* Define a local equivalent (sort of) for unlink */
/* Define a local equivalent (sort of) for unlink */
#define unlink remove
#define unlink remove
 
 
/* Causes exit() to be redefined to __posix_exit() and
/* Causes exit() to be redefined to __posix_exit() and
   Posix compatible failure and success codes to be used */
   Posix compatible failure and success codes to be used */
#define _POSIX_EXIT 1
#define _POSIX_EXIT 1
 
 
/* Open files in stream mode if not otherwise explicitly specified */
/* Open files in stream mode if not otherwise explicitly specified */
#define __UNIX_FOPEN 1
#define __UNIX_FOPEN 1
 
 
/* Write to stdout using fputc to avoid record terminators in pipes */
/* Write to stdout using fputc to avoid record terminators in pipes */
#define __UNIX_FWRITE 1
#define __UNIX_FWRITE 1
 
 
#define STDC_HEADERS 1
#define STDC_HEADERS 1
 
 
#define HOST_EXECUTABLE_SUFFIX ".exe"
#define HOST_EXECUTABLE_SUFFIX ".exe"
#define HOST_OBJECT_SUFFIX ".obj"
#define HOST_OBJECT_SUFFIX ".obj"
 
 
#define DUMPFILE_FORMAT "_%02d_"
#define DUMPFILE_FORMAT "_%02d_"
 
 
#define DELETE_IF_ORDINARY(NAME,ST,VERBOSE_FLAG)           \
#define DELETE_IF_ORDINARY(NAME,ST,VERBOSE_FLAG)           \
do                                                         \
do                                                         \
  {                                                        \
  {                                                        \
    while (stat (NAME, &ST) >= 0 && S_ISREG (ST.st_mode))  \
    while (stat (NAME, &ST) >= 0 && S_ISREG (ST.st_mode))  \
      if (unlink (NAME) < 0)                               \
      if (unlink (NAME) < 0)                               \
        {                                                  \
        {                                                  \
          if (VERBOSE_FLAG)                                \
          if (VERBOSE_FLAG)                                \
            perror_with_name (NAME);                       \
            perror_with_name (NAME);                       \
          break;                                           \
          break;                                           \
        }                                                  \
        }                                                  \
  } while (0)
  } while (0)
 
 

powered by: WebSVN 2.1.0

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