1 /* Configuration for GNU C-compiler for PA-RISC.
2 Copyright (C) 1988, 1995 Free Software Foundation, Inc.
3 Contributed by Michael Tiemann (tiemann@cygnus.com).
5 This file is part of GNU CC.
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)
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.
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. */
23 /* HP-UX is a flavor of System V */
26 /* Use System V memory functions. */
27 #define bcopy(a,b,c) memcpy (b,a,c)
28 #define bzero(a,b) memset (a,0,b)
29 #define bcmp(a,b,c) memcmp (a,b,c)
31 #define rindex strrchr
34 /* #defines that need visibility everywhere. */
38 /* This describes the machine the compiler is hosted on. */
39 #define HOST_BITS_PER_CHAR 8
40 #define HOST_BITS_PER_SHORT 16
41 #define HOST_BITS_PER_INT 32
42 #define HOST_BITS_PER_LONG 32
43 #define HOST_BITS_PER_LONGLONG 64
45 /* Doubles are stored in memory with the high order word first. This
46 matters when cross-compiling. */
47 #define HOST_WORDS_BIG_ENDIAN 1
49 /* Place any machine-dependent include files here, in case we
52 /* target machine dependencies.
53 tm.h is a symbolic link to the actual target specific file. */
56 /* Arguments to use with `exit'. */
57 #define SUCCESS_EXIT_CODE 0
58 #define FATAL_EXIT_CODE 33
60 /* Don't try to use sys_siglist. */
61 #define NO_SYS_SIGLIST
63 /* HP's compiler has problems with enum bitfields. */
64 #define ONLY_INT_FIELDS
66 /* Always claim to use C alloca; this prevents losing if building with
67 gcc -fno-builtin ... " */