Mercurial > emacs
annotate src/m/mips4.h @ 58348:623ffd21f0ff
(Vsearch_spaces_regexp):
Renamed from Vsearch_whitespace_regexp. All uses changed.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 20 Nov 2004 14:04:16 +0000 |
parents | 695cf19ef79e |
children | e032dd450ea7 375f2633d815 |
rev | line source |
---|---|
456 | 1 /* machine description file for Mips running RISCOS version 4. */ |
2 | |
3 #include "mips.h" | |
4 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
16220
diff
changeset
|
5 /* The following line tells the configuration script what sort of |
456 | 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 | |
3491
a211389a145f
(MIPS2): Comment out define.
Richard M. Stallman <rms@gnu.org>
parents:
3326
diff
changeset
|
14 #if 0 |
456 | 15 /* Define MIPS2 if you have an R6000 or R4000. */ |
3326
84fa80cf7087
* m/mips.h (KERNEL_FILE): Set this to "/unix".
Jim Blandy <jimb@redhat.com>
parents:
524
diff
changeset
|
16 #define MIPS2 |
3491
a211389a145f
(MIPS2): Comment out define.
Richard M. Stallman <rms@gnu.org>
parents:
3326
diff
changeset
|
17 #endif |
456 | 18 |
524 | 19 #ifdef __GNUC__ |
20 #define C_DEBUG_SWITCH -g -O | |
21 #else | |
5257
80f932e6e5bc
(C_DEBUG_SWITCH): Delete -systype bsd43; not needed.
Richard M. Stallman <rms@gnu.org>
parents:
4722
diff
changeset
|
22 /* We used to have -systype bsd43, but a configure change |
80f932e6e5bc
(C_DEBUG_SWITCH): Delete -systype bsd43; not needed.
Richard M. Stallman <rms@gnu.org>
parents:
4722
diff
changeset
|
23 now takes care of that option. */ |
456 | 24 #ifdef MIPS2 |
7708
c4516ecc09b6
(C_DEBUG_SWITCH) [not __GNUC__]: Add -Wf option.
Richard M. Stallman <rms@gnu.org>
parents:
5257
diff
changeset
|
25 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 -mips2 |
456 | 26 #else |
7708
c4516ecc09b6
(C_DEBUG_SWITCH) [not __GNUC__]: Add -Wf option.
Richard M. Stallman <rms@gnu.org>
parents:
5257
diff
changeset
|
27 #define C_DEBUG_SWITCH -DMips -g3 -Wf,-XNd4000 -O -Olimit 2000 |
456 | 28 #endif |
524 | 29 #endif |
456 | 30 |
31 #ifdef TERMINFO | |
32 #undef TERMINFO | |
33 #endif | |
34 | |
35 #define START_FILES pre-crt0.o /lib/crt1.o | |
3491
a211389a145f
(MIPS2): Comment out define.
Richard M. Stallman <rms@gnu.org>
parents:
3326
diff
changeset
|
36 /* Used to have -lisode, but jlp@math.byu.edu says remove it |
a211389a145f
(MIPS2): Comment out define.
Richard M. Stallman <rms@gnu.org>
parents:
3326
diff
changeset
|
37 (for RISCOS 4.52). */ |
4722
1b0ce8ac1c81
(LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents:
3491
diff
changeset
|
38 /* ethanb@ptolemy.astro.washington.edu says crtn.o uses _ctype |
1b0ce8ac1c81
(LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents:
3491
diff
changeset
|
39 and therefore we must search libc again after crtn.o. |
1b0ce8ac1c81
(LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents:
3491
diff
changeset
|
40 The -L is used to force second -lc to find the sysv version |
1b0ce8ac1c81
(LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents:
3491
diff
changeset
|
41 of libc.a, which is needed because the BSD libc.a |
1b0ce8ac1c81
(LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents:
3491
diff
changeset
|
42 doesn't have _ctype. */ |
1b0ce8ac1c81
(LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents:
3491
diff
changeset
|
43 #define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc |
456 | 44 |
45 | |
46 #define COFF | |
47 #undef LD_SWITCH_MACHINE | |
48 #define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000 | |
5257
80f932e6e5bc
(C_DEBUG_SWITCH): Delete -systype bsd43; not needed.
Richard M. Stallman <rms@gnu.org>
parents:
4722
diff
changeset
|
49 |
80f932e6e5bc
(C_DEBUG_SWITCH): Delete -systype bsd43; not needed.
Richard M. Stallman <rms@gnu.org>
parents:
4722
diff
changeset
|
50 #define NO_MODE_T |
7986
b2419e15cbbd
(HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents:
7708
diff
changeset
|
51 |
b2419e15cbbd
(HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents:
7708
diff
changeset
|
52 /* These are needed on Riscos 4.0. |
16220
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
7986
diff
changeset
|
53 It appears that's the only system which uses mips4.h and defines BSD. */ |
02044b05d8e0
Replaced symbol BSD with BSD_SYSTEM.
Karl Heuer <kwzh@gnu.org>
parents:
7986
diff
changeset
|
54 #ifdef BSD_SYSTEM |
7986
b2419e15cbbd
(HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents:
7708
diff
changeset
|
55 #undef HAVE_STRERROR |
b2419e15cbbd
(HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents:
7708
diff
changeset
|
56 #undef HAVE_XRMSETDATABASE |
b2419e15cbbd
(HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents:
7708
diff
changeset
|
57 #undef HAVE_XSCREENRESOURCESTRING |
b2419e15cbbd
(HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents:
7708
diff
changeset
|
58 #undef HAVE_SETSID |
b2419e15cbbd
(HAVE_STRERROR, HAVE_XRMSETDATABASE)
Richard M. Stallman <rms@gnu.org>
parents:
7708
diff
changeset
|
59 #endif |
52401 | 60 |
61 /* arch-tag: 56050454-0df5-4de9-b1b7-0c6ab400313c | |
62 (do not change this comment) */ |