*** empty log message ***
[emacs.git] / src / m / news-risc.h
blob2ecaff41cb9b6a49702e2b96101fc00fe861b07c
1 /* news-risc.h is for the "RISC News". */
3 #include "mips.h"
5 #ifdef NEWSOS5
7 /* NEWS-OS 5.0.2 */
9 #define LIBS_MACHINE -lmld
11 #ifdef __GNUC__
12 #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000
13 #else
14 #define C_DEBUG_SWITCH -g3
15 #define C_OPTIMIZE_SWITCH -g3
16 #define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared
17 #endif
19 #else /* not NEWSOS5 */
21 /* The following line tells the configuration script what sort of
22 operating system this machine is likely to run.
23 USUAL-OPSYS="bsd4-3" */
25 #define COFF
26 #undef LD_SWITCH_MACHINE
27 #ifdef __GNUC__
28 #define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000
29 #else
30 #define LD_SWITCH_MACHINE -x -D 800000
31 #endif
33 /* #define C_OPTIMIZE_SWITCH -O2 */
34 #define C_OPTIMIZE_SWITCH -O
36 #ifndef __GNUC__
37 #define C_DEBUG_SWITCH -g3
38 #endif
40 #undef TERMINFO
42 /* We have no mode_t. */
43 #define NO_MODE_T
45 /* Don't use the definitions in m/mips.h. */
46 #undef LINKER
47 #define LINKER $(CC) -nostdlib
48 #undef LIBS_MACHINE
49 #define LIBS_MACHINE -lmld
51 #undef KERNEL_FILE
52 #define KERNEL_FILE "/vmunix"
54 /* System's malloc, realloc, calloc and so on have bad prototypes,
55 using char * instead of void *, so tell gmalloc not to use the
56 prototypes. */
57 #define BROKEN_PROTOTYPES
59 #endif /* not NEWSOS5 */
61 /* arch-tag: cf17300c-dd34-4b9d-a657-2de718469662
62 (do not change this comment) */