]>
Commit | Line | Data |
---|---|---|
b8c59d6f | 1 | /* Configuration for GNU C-compiler for DEC Alpha. |
65f051c8 | 2 | Copyright (C) 1990, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. |
febd204e | 3 | Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu). |
b8c59d6f RK |
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 | |
38ead7f3 RK |
19 | the Free Software Foundation, 59 Temple Place - Suite 330, |
20 | Boston, MA 02111-1307, USA. */ | |
b8c59d6f RK |
21 | |
22 | ||
23 | /* #defines that need visibility everywhere. */ | |
24 | #define FALSE 0 | |
25 | #define TRUE 1 | |
26 | ||
27 | /* This describes the machine the compiler is hosted on. */ | |
28 | #define HOST_BITS_PER_CHAR 8 | |
29 | #define HOST_BITS_PER_SHORT 16 | |
30 | #define HOST_BITS_PER_INT 32 | |
31 | #define HOST_BITS_PER_LONG 64 | |
32 | #define HOST_BITS_PER_LONGLONG 64 | |
33 | ||
34 | /* #define HOST_WORDS_BIG_ENDIAN */ | |
35 | ||
36 | /* target machine dependencies. | |
37 | tm.h is a symbolic link to the actual target specific file. */ | |
38 | #include "tm.h" | |
39 | ||
40 | /* Arguments to use with `exit'. */ | |
41 | #define SUCCESS_EXIT_CODE 0 | |
65f051c8 | 42 | #define FATAL_EXIT_CODE 33 |
b8c59d6f | 43 | |
ba64ca33 RH |
44 | /* If compiled with GNU C, use the builtin alloca. */ |
45 | #ifndef alloca | |
46 | #if defined(__GNUC__) && !defined(USE_C_ALLOCA) | |
47 | #define alloca __builtin_alloca | |
48 | #else | |
49 | #if !defined(_WIN32) && !defined(USE_C_ALLOCA) | |
cb95a579 RK |
50 | #include <alloca.h> |
51 | #else | |
52 | extern void *alloca (); | |
b8c59d6f | 53 | #endif |
ba64ca33 RH |
54 | #endif |
55 | #endif | |
b8c59d6f | 56 | |
3975f288 RK |
57 | /* The host compiler has problems with enum bitfields since it makes |
58 | them signed so we can't fit all our codes in. */ | |
59 | ||
60 | #ifndef __GNUC__ | |
61 | #define ONLY_INT_FIELDS | |
62 | #endif | |
63 | ||
b8c59d6f RK |
64 | /* Declare some functions needed for this machine. We don't want to |
65 | include these in the sources since other machines might define them | |
66 | differently. */ | |
67 | ||
b1733810 | 68 | extern void *malloc (), *realloc (), *calloc (); |
b8c59d6f | 69 | |
ffa969a1 | 70 | #ifndef inhibit_libc |
b8c59d6f | 71 | #include "string.h" |
ffa969a1 | 72 | #endif |
3731dc0c | 73 | |
3731dc0c JM |
74 | /* OSF/1 is POSIX.1 compliant. */ |
75 | ||
76 | #define POSIX |