Commit | Line | Data |
---|---|---|
9b71f02b JB |
1 | /* news-risc.h is for the "RISC News". */ |
2 | ||
3 | #include "mips.h" | |
9b71f02b | 4 | |
7aa5f3bc RS |
5 | #ifdef NEWSOS5 |
6 | ||
7 | /* NEWS-OS 5.0.2 */ | |
8 | ||
9 | #define LIBS_MACHINE -lmld | |
10 | ||
11 | #ifdef __GNUC__ | |
12 | #define C_DEBUG_SWITCH -g | |
13 | #define C_OPTIMIZE_SWITCH -g -O | |
14 | #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000 | |
15 | #else | |
16 | #define C_DEBUG_SWITCH -g3 | |
17 | #define C_OPTIMIZE_SWITCH -g3 | |
18 | #define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared | |
19 | #endif | |
20 | ||
21 | #else /* not NEWSOS5 */ | |
22 | ||
9b71f02b JB |
23 | /* The following line tells the configuration script what sort of |
24 | operating system this machine is likely to run. | |
25 | USUAL-OPSYS="bsd4-3" */ | |
26 | ||
9b71f02b JB |
27 | #define COFF |
28 | #undef LD_SWITCH_MACHINE | |
29 | #define LD_SWITCH_MACHINE -x -D 800000 | |
30 | ||
31 | /* #define C_OPTIMIZE_SWITCH -O2 */ | |
32 | #define C_OPTIMIZE_SWITCH -O | |
33 | ||
c0d45f9d | 34 | #ifndef __GNUC__ |
9b71f02b | 35 | #define C_DEBUG_SWITCH -g3 |
c0d45f9d | 36 | #endif |
9b71f02b JB |
37 | |
38 | #undef TERMINFO | |
999cf5c2 RS |
39 | |
40 | /* We have no mode_t. */ | |
41 | #define NO_MODE_T | |
42 | ||
40166bf1 | 43 | /* Don't use the definitions in m/mips.h. */ |
999cf5c2 | 44 | #undef LINKER |
40166bf1 | 45 | #undef LIBS_MACHINE |
7aa5f3bc RS |
46 | #define LIBS_MACHINE -lmld |
47 | ||
c0d45f9d RS |
48 | #undef KERNEL_FILE |
49 | #define KERNEL_FILE "/vmunix" | |
50 | ||
7aa5f3bc | 51 | #endif /* not NEWSOS5 */ |