annotate src/m/news-risc.h @ 17692:426dde653028 gnumach-release-1-1 gnumach-release-1-1-1 libc-970508 libc-970509 libc-970510 libc-970511 libc-970512 libc-970513 libc-970514 libc-970515 libc-970516 libc-970517 libc-970518 libc-970519 libc-970520 libc-970521 libc-970522 libc-970523 libc-970524 libc-970525 libc-970526 libc-970527 libc-970528 libc-970529 libc-970530 libc-970531 libc-970601 libc-970602 libc-970603 libc-970604 libc-970605

Recognize either / or - as a machine/suptype separator from uname -m to cope with older systems that have the older uname.
author Thomas Bushnell, BSG <thomas@gnu.org>
date Wed, 07 May 1997 19:19:04 +0000
parents b6301bd38638
children 47152260ac4c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* news-risc.h is for the "RISC News". */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
2
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3 #include "mips.h"
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
6045
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
5 #ifdef NEWSOS5
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
6
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
7 /* NEWS-OS 5.0.2 */
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
8
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
9 #define LIBS_MACHINE -lmld
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
10
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
11 #ifdef __GNUC__
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
12 #define C_DEBUG_SWITCH -g
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
13 #define C_OPTIMIZE_SWITCH -g -O
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
14 #define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
15 #else
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
16 #define C_DEBUG_SWITCH -g3
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
17 #define C_OPTIMIZE_SWITCH -g3
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
18 #define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
19 #endif
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
20
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
21 #else /* not NEWSOS5 */
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
22
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23 /* The following line tells the configuration script what sort of
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 operating system this machine is likely to run.
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 USUAL-OPSYS="bsd4-3" */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27 #define COFF
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 #undef LD_SWITCH_MACHINE
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29 #define LD_SWITCH_MACHINE -x -D 800000
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31 /* #define C_OPTIMIZE_SWITCH -O2 */
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 #define C_OPTIMIZE_SWITCH -O
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33
8066
b6301bd38638 (C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents: 6045
diff changeset
34 #ifndef __GNUC__
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35 #define C_DEBUG_SWITCH -g3
8066
b6301bd38638 (C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents: 6045
diff changeset
36 #endif
457
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37
e442bb589751 entered into RCS
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38 #undef TERMINFO
3520
dcc5e8a8417c (NO_MODE_T): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
39
dcc5e8a8417c (NO_MODE_T): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
40 /* We have no mode_t. */
dcc5e8a8417c (NO_MODE_T): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
41 #define NO_MODE_T
dcc5e8a8417c (NO_MODE_T): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
42
3819
Jim Blandy <jimb@redhat.com>
parents: 3520
diff changeset
43 /* Don't use the definitions in m/mips.h. */
3520
dcc5e8a8417c (NO_MODE_T): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 457
diff changeset
44 #undef LINKER
3819
Jim Blandy <jimb@redhat.com>
parents: 3520
diff changeset
45 #undef LIBS_MACHINE
6045
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
46 #define LIBS_MACHINE -lmld
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
47
8066
b6301bd38638 (C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents: 6045
diff changeset
48 #undef KERNEL_FILE
b6301bd38638 (C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents: 6045
diff changeset
49 #define KERNEL_FILE "/vmunix"
b6301bd38638 (C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents: 6045
diff changeset
50
6045
c199a7ed9be2 [NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents: 3819
diff changeset
51 #endif /* not NEWSOS5 */