|
|
1.1 ! root 1: /* Configuration for GNU C-compiler for PA-RISC. ! 2: Copyright (C) 1988 Free Software Foundation, Inc. ! 3: Contributed by Michael Tiemann ([email protected]). ! 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, 675 Mass Ave, Cambridge, MA 02139, USA. */ ! 20: ! 21: #ifdef hpux ! 22: ! 23: #include <magic.h> ! 24: #if defined(SHL_MAGIC) ! 25: #define hpux8 1 ! 26: #endif ! 27: ! 28: #define USG ! 29: #define bcopy(a,b,c) memcpy (b,a,c) ! 30: #define bzero(a,b) memset (a,0,b) ! 31: #define bcmp(a,b,c) memcmp (a,b,c) ! 32: ! 33: #else /* hpux */ ! 34: #define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR) ! 35: extern int errno; ! 36: #endif /* hpux */ ! 37: ! 38: /* #defines that need visibility everywhere. */ ! 39: #define FALSE 0 ! 40: #define TRUE 1 ! 41: ! 42: /* This describes the machine the compiler is hosted on. */ ! 43: #define HOST_BITS_PER_CHAR 8 ! 44: #define HOST_BITS_PER_SHORT 16 ! 45: #define HOST_BITS_PER_INT 32 ! 46: #define HOST_BITS_PER_LONG 32 ! 47: #define HOST_BITS_PER_LONGLONG 64 ! 48: ! 49: /* Doubles are stored in memory with the high order word first. This ! 50: matters when cross-compiling. */ ! 51: #define HOST_WORDS_BIG_ENDIAN 1 ! 52: ! 53: /* Place any machine-dependent include files here, in case we ! 54: are bootstrapping. */ ! 55: ! 56: /* target machine dependencies. ! 57: tm.h is a symbolic link to the actual target specific file. */ ! 58: #include "tm.h" ! 59: ! 60: /* Arguments to use with `exit'. */ ! 61: #define SUCCESS_EXIT_CODE 0 ! 62: #define FATAL_EXIT_CODE 33 ! 63: ! 64: #if 0 ! 65: /* If compiled with GNU C, use the built-in alloca */ ! 66: #ifdef __GNUC__ ! 67: #define alloca __builtin_alloca ! 68: #endif ! 69: #endif ! 70: ! 71: /* Don't try to use sys_siglist. */ ! 72: #define NO_SYS_SIGLIST ! 73: ! 74: /* HP's compiler has problems with enum bitfields. */ ! 75: #define ONLY_INT_FIELDS
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.