Annotation of gcc/xm-vms.h, revision 1.1.1.3

1.1       root        1: /* Configuration for GNU C-compiler for Vax.
                      2:    Copyright (C) 1987 Free Software Foundation, Inc.
                      3: 
                      4: This file is part of GNU CC.
                      5: 
1.1.1.3 ! root        6: GNU CC is free software; you can redistribute it and/or modify
        !             7: it under the terms of the GNU General Public License as published by
        !             8: the Free Software Foundation; either version 1, or (at your option)
        !             9: any later version.
        !            10: 
1.1       root       11: GNU CC is distributed in the hope that it will be useful,
1.1.1.3 ! root       12: but WITHOUT ANY WARRANTY; without even the implied warranty of
        !            13: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
        !            14: GNU General Public License for more details.
        !            15: 
        !            16: You should have received a copy of the GNU General Public License
        !            17: along with GNU CC; see the file COPYING.  If not, write to
        !            18: the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
1.1       root       19: 
                     20: /* #defines that need visibility everywhere.  */
                     21: #define FALSE 0
                     22: #define TRUE 1
                     23: 
                     24: /* target machine dependencies.
                     25:    tm.h is a symbolic link to the actual target specific file.   */
                     26: #include "tm.h"
                     27: 
                     28: /* This describes the machine the compiler is hosted on.  */
                     29: #define HOST_BITS_PER_CHAR 8
                     30: #define HOST_BITS_PER_SHORT 16
                     31: #define HOST_BITS_PER_INT 32
                     32: #define HOST_BITS_PER_LONG 32
                     33: 
                     34: #define SUCCESS_EXIT_CODE 1
                     35: #define FATAL_EXIT_CODE 0
                     36: 
                     37: /* A couple of conditionals for execution machine are controlled here.  */
                     38: #ifndef VMS
                     39: #define VMS
                     40: #endif
                     41: 
                     42: #ifndef __GNUC__
                     43: /* not present, at least in VAX-11 C (VMS) v2.2 */
                     44: #define R_OK 4
                     45: #define W_OK 2
                     46: #define X_OK 1
                     47: #define F_OK 0
                     48: 
                     49: #define unlink delete
                     50: #endif
1.1.1.2   root       51: 
                     52: /* global const variables don't work,
                     53:    so turn off const-ness to prevent trouble with insn-output.c.  */
                     54: #define const

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.