]>
Commit | Line | Data |
---|---|---|
1ca3705e RS |
1 | /* Configuration for GNU C-compiler for Sun Sparc. |
2 | Copyright (C) 1988 Free Software Foundation, Inc. | |
3 | Contributed by Michael Tiemann (tiemann@cygnus.com). | |
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 | ||
22 | /* #defines that need visibility everywhere. */ | |
23 | #define FALSE 0 | |
24 | #define TRUE 1 | |
25 | ||
26 | /* This describes the machine the compiler is hosted on. */ | |
27 | #define HOST_BITS_PER_CHAR 8 | |
28 | #define HOST_BITS_PER_SHORT 16 | |
29 | #define HOST_BITS_PER_INT 32 | |
30 | #define HOST_BITS_PER_LONG 32 | |
31 | #define HOST_BITS_PER_LONGLONG 64 | |
32 | ||
33 | /* Doubles are stored in memory with the high order word first. This | |
34 | matters when cross-compiling. */ | |
35 | #define HOST_WORDS_BIG_ENDIAN 1 | |
36 | ||
37 | /* target machine dependencies. | |
38 | tm.h is a symbolic link to the actual target specific file. */ | |
39 | #include "tm.h" | |
40 | ||
41 | /* Arguments to use with `exit'. */ | |
42 | #define SUCCESS_EXIT_CODE 0 | |
43 | #define FATAL_EXIT_CODE 33 | |
44 | ||
45 | /* If compiled with Sun CC, the use of alloca requires this #include. */ | |
46 | #ifndef __GNUC__ | |
47 | #include "alloca.h" | |
48 | #endif | |
49 | ||
50 | /* If compiled with GNU C, use the built-in alloca. */ | |
51 | #ifdef __GNUC__ | |
52 | /* Use an arg in this macro because that's what some other | |
53 | system does--let's avoid conflict. */ | |
54 | #define alloca(x) __builtin_alloca(x) | |
55 | #endif |