annotate src/m/mips4.h @ 5096:76f878905c65

(window_loop, case DELETE_BUFFER_WINDOWS): Select a new buffer only if w is selected window.
author Richard M. Stallman <rms@gnu.org>
date Sun, 21 Nov 1993 22:15:04 +0000
parents 1b0ce8ac1c81
children 80f932e6e5bc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* machine description file for Mips running RISCOS version 4. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 #include "mips.h"
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5 /* The following line tells the configuration script what sort of
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 operating system this machine is likely to run.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 USUAL-OPSYS="note"
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
8
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 NOTE-START
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10 Use -opsystem=usg5-2-2 normally, or -opsystem=bsd4-3 with the BSD
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 world.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 NOTE-END */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13
3491
a211389a145f (MIPS2): Comment out define.
Richard M. Stallman <rms@gnu.org>
parents: 3326
diff changeset
14 #if 0
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
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
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18
524
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
19 #ifdef __GNUC__
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
20 #define C_DEBUG_SWITCH -g -O
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
21 #else
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 #ifdef MIPS2
3326
84fa80cf7087 * m/mips.h (KERNEL_FILE): Set this to "/unix".
Jim Blandy <jimb@redhat.com>
parents: 524
diff changeset
23 #define C_DEBUG_SWITCH -DMips -systype bsd43 -g3 -O -Olimit 2000 -mips2
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 #else
3326
84fa80cf7087 * m/mips.h (KERNEL_FILE): Set this to "/unix".
Jim Blandy <jimb@redhat.com>
parents: 524
diff changeset
25 #define C_DEBUG_SWITCH -DMips -systype bsd43 -g3 -O -Olimit 2000
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 #endif
524
79ea818b6aed entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 456
diff changeset
27 #endif
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 #ifdef TERMINFO
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 #undef TERMINFO
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 #endif
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 #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
34 /* 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
35 (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
36 /* 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
37 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
38 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
39 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
40 doesn't have _ctype. */
1b0ce8ac1c81 (LIB_STANDARD): Add a second -lc after crtn.o.
Richard M. Stallman <rms@gnu.org>
parents: 3491
diff changeset
41 #define LIB_STANDARD -lmld -lc /lib/crtn.o -L/usr/lib -lc
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
42
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
43
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44 #define COFF
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45 #undef LD_SWITCH_MACHINE
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46 #define LD_SWITCH_MACHINE -systype bsd43 -g3 -D 800000