Mercurial > emacs
annotate src/m/mips4.h @ 16842:72276b334084 before-thomas-posix1996 glibc-2_0_2 libc-970108 libc-970109 libc-970110 libc-970111 libc-970112 libc-970113 libc-970114 libc-970115 libc-970116 libc-970117 libc-970118 libc-970119 libc-970120 libc-970121 libc-970122 libc-970123 libc-970124 libc-970125 libc-970126 libc-970127 libc-970128 libc-970129 libc-970130 libc-970131 libc-970201 libc-970202 libc-970203 libc-970204 libc-970205 libc-970206 libc-970207 libc-970208 libc-970209 libc-970210 libc-970211 libc-970212 libc-970213 libc-970214 libc-970215 libc-970216 libc-970217 libc-970218 libc-970219 libc-970220 libc-970221 libc-970222 libc-970223 libc-970224 libc-970225 libc-970226 libc-970227 libc-970228 libc-970301 libc-970302 libc-970303 libc-970304 libc-970305 libc-970306 libc-970307 libc-970308 libc-970309 libc-970310 libc-970311 libc-970312 libc-970313 libc-970314 libc-970315 libc-970316 libc-970317 libc-970318 libc-970319 libc-970320 libc-970321 libc-970322 libc-970323 libc-970324 libc20x-970306 libc20x-97031 libc20x-970316 libc20x-970318 libc20x-970319 libc20x-970404 root-libc-2_0_x-branch
Add hppa1.1-hitachi-hiuxmpp support, passed along by rms.
author | David J. MacKenzie <djm@gnu.org> |
---|---|
date | Tue, 07 Jan 1997 19:29:28 +0000 |
parents | 02044b05d8e0 |
children | 23a1cea22d13 |
rev | line source |
---|---|
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 | |
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 |