*** empty log message ***
[emacs.git] / src / m / mips4.h
blob4b79e466fb3548e264f23d40659769e09e4593eb
1 /* machine description file for Mips running RISCOS version 4. */
3 #include "mips.h"
5 /* The following line tells the configuration script what sort of
6 operating system this machine is likely to run.
7 USUAL-OPSYS="note"
9 NOTE-START
10 Use -opsystem=usg5-2-2 normally, or -opsystem=bsd4-3 with the BSD
11 world.
12 NOTE-END */
14 #if 0
15 /* Define MIPS2 if you have an R6000 or R4000. */
16 #define MIPS2
17 #endif
19 #ifdef __GNUC__
20 #define C_DEBUG_SWITCH -g -O
21 #else
22 /* We used to have -systype bsd43, but a configure change
23 now takes care of that option. */
24 #ifdef MIPS2
25 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 -mips2
26 #else
27 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000
28 #endif
29 #endif
31 #ifdef TERMINFO
32 #undef TERMINFO
33 #endif
35 #define START_FILES pre-crt0.o /lib/crt1.o
36 /* Used to have -lisode, but jlp@math.byu.edu says remove it
37 (for RISCOS 4.52). */
38 /* ethanb@ptolemy.astro.washington.edu says crtn.o uses _ctype
39 and therefore we must search libc again after crtn.o.
40 The -L is used to force second -lc to find the sysv version
41 of libc.a, which is needed because the BSD libc.a
42 doesn't have _ctype. */
43 #define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc
46 #define COFF
47 #undef LD_SWITCH_MACHINE
48 #define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000
50 #define NO_MODE_T
52 /* These are needed on Riscos 4.0.
53 It appears that's the only system which uses mips4.h and defines BSD. */
54 #ifdef BSD_SYSTEM
55 #undef HAVE_STRERROR
56 #undef HAVE_XRMSETDATABASE
57 #undef HAVE_XSCREENRESOURCESTRING
58 #undef HAVE_SETSID
59 #endif
61 /* arch-tag: 56050454-0df5-4de9-b1b7-0c6ab400313c
62 (do not change this comment) */