Commit | Line | Data |
---|---|---|
9a446b3c GM |
1 | /* news-risc.h is for the "RISC News". |
2 | ||
3 | Copyright (C) 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006, | |
4 | 2007 Free Software Foundation, Inc. | |
5 | ||
6 | This file is part of GNU Emacs. | |
7 | ||
8 | GNU Emacs is free software; you can redistribute it and/or modify | |
9 | it under the terms of the GNU General Public License as published by | |
4a9f99bd | 10 | the Free Software Foundation; either version 3, or (at your option) |
9a446b3c GM |
11 | any later version. |
12 | ||
13 | GNU Emacs is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with GNU Emacs; see the file COPYING. If not, write to | |
20 | the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
21 | Boston, MA 02110-1301, USA. */ | |
22 | ||
9b71f02b JB |
23 | |
24 | #include "mips.h" | |
9b71f02b | 25 | |
7aa5f3bc RS |
26 | #ifdef NEWSOS5 |
27 | ||
28 | /* NEWS-OS 5.0.2 */ | |
29 | ||
30 | #define LIBS_MACHINE -lmld | |
31 | ||
32 | #ifdef __GNUC__ | |
7aa5f3bc RS |
33 | #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 |
34 | #else | |
35 | #define C_DEBUG_SWITCH -g3 | |
36 | #define C_OPTIMIZE_SWITCH -g3 | |
37 | #define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared | |
38 | #endif | |
39 | ||
40 | #else /* not NEWSOS5 */ | |
41 | ||
177c0ea7 | 42 | /* The following line tells the configuration script what sort of |
9b71f02b JB |
43 | operating system this machine is likely to run. |
44 | USUAL-OPSYS="bsd4-3" */ | |
45 | ||
9b71f02b JB |
46 | #define COFF |
47 | #undef LD_SWITCH_MACHINE | |
49ff69c0 GM |
48 | #ifdef __GNUC__ |
49 | #define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000 | |
50 | #else | |
9b71f02b | 51 | #define LD_SWITCH_MACHINE -x -D 800000 |
49ff69c0 | 52 | #endif |
9b71f02b JB |
53 | |
54 | /* #define C_OPTIMIZE_SWITCH -O2 */ | |
55 | #define C_OPTIMIZE_SWITCH -O | |
56 | ||
c0d45f9d | 57 | #ifndef __GNUC__ |
9b71f02b | 58 | #define C_DEBUG_SWITCH -g3 |
c0d45f9d | 59 | #endif |
9b71f02b JB |
60 | |
61 | #undef TERMINFO | |
999cf5c2 RS |
62 | |
63 | /* We have no mode_t. */ | |
64 | #define NO_MODE_T | |
65 | ||
40166bf1 | 66 | /* Don't use the definitions in m/mips.h. */ |
999cf5c2 | 67 | #undef LINKER |
49ff69c0 | 68 | #define LINKER $(CC) -nostdlib |
40166bf1 | 69 | #undef LIBS_MACHINE |
7aa5f3bc RS |
70 | #define LIBS_MACHINE -lmld |
71 | ||
c0d45f9d RS |
72 | #undef KERNEL_FILE |
73 | #define KERNEL_FILE "/vmunix" | |
74 | ||
79563e79 RS |
75 | /* System's malloc, realloc, calloc and so on have bad prototypes, |
76 | using char * instead of void *, so tell gmalloc not to use the | |
77 | prototypes. */ | |
78 | #define BROKEN_PROTOTYPES | |
79 | ||
7aa5f3bc | 80 | #endif /* not NEWSOS5 */ |
ab5796a9 MB |
81 | |
82 | /* arch-tag: cf17300c-dd34-4b9d-a657-2de718469662 | |
83 | (do not change this comment) */ |