456
|
1 /* machine description file for Mips running RISCOS version 4. */
|
|
2
|
|
3 #include "mips.h"
|
|
4
|
|
5 /* The following line tells the configuration script what sort of
|
|
6 operating system this machine is likely to run.
|
|
7 USUAL-OPSYS="note"
|
|
8
|
|
9 NOTE-START
|
|
10 Use -opsystem=usg5-2-2 normally, or -opsystem=bsd4-3 with the BSD
|
|
11 world.
|
|
12 NOTE-END */
|
|
13
|
|
14 /* Define MIPS2 if you have an R6000 or R4000. */
|
|
15 /* #define MIPS2 */
|
|
16
|
524
|
17 #ifdef __GNUC__
|
|
18 #define C_DEBUG_SWITCH -g -O
|
|
19 #else
|
456
|
20 #ifdef MIPS2
|
|
21 #define C_DEBUG_SWITCH -systype bsd43 -O -Olimit 791 -g3 -mips2
|
|
22 #else
|
|
23 #define C_DEBUG_SWITCH -systype bsd43 -O -Olimit 791 -g3
|
|
24 #endif
|
524
|
25 #endif
|
456
|
26
|
|
27 #ifdef TERMINFO
|
|
28 #undef TERMINFO
|
|
29 #endif
|
|
30
|
|
31 #define START_FILES pre-crt0.o /lib/crt1.o
|
|
32 #define LIB_STANDARD -lmld -lc /lib/crtn.o
|
|
33
|
|
34
|
|
35 #define COFF
|
|
36 #undef LD_SWITCH_MACHINE
|
|
37 #define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000
|