Mercurial > emacs
annotate src/m/news-risc.h @ 27923:325eddf4eb21
(START_FILES, CANNOT_DUMP) [__NetBSD__ || __OpenBSD__]: Don't define.
(UNEXEC) [__NetBSD__ || __OpenBSD__]: Define to unexelf.o.
(LINKER): Don't undef if __NetBSD__ is defined.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Wed, 01 Mar 2000 12:50:01 +0000 |
parents | 47152260ac4c |
children | c4cd6784bbcc |
rev | line source |
---|---|
457 | 1 /* news-risc.h is for the "RISC News". */ |
2 | |
3 #include "mips.h" | |
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 | 23 /* The following line tells the configuration script what sort of |
24 operating system this machine is likely to run. | |
25 USUAL-OPSYS="bsd4-3" */ | |
26 | |
27 #define COFF | |
28 #undef LD_SWITCH_MACHINE | |
27346
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
29 #ifdef __GNUC__ |
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
30 #define LD_SWITCH_MACHINE -Xlinker -x -Xlinker -D -Xlinker 800000 |
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
31 #else |
457 | 32 #define LD_SWITCH_MACHINE -x -D 800000 |
27346
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
33 #endif |
457 | 34 |
35 /* #define C_OPTIMIZE_SWITCH -O2 */ | |
36 #define C_OPTIMIZE_SWITCH -O | |
37 | |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
38 #ifndef __GNUC__ |
457 | 39 #define C_DEBUG_SWITCH -g3 |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
40 #endif |
457 | 41 |
42 #undef TERMINFO | |
3520 | 43 |
44 /* We have no mode_t. */ | |
45 #define NO_MODE_T | |
46 | |
3819 | 47 /* Don't use the definitions in m/mips.h. */ |
3520 | 48 #undef LINKER |
27346
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
49 #define LINKER $(CC) -nostdlib |
3819 | 50 #undef LIBS_MACHINE |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
51 #define LIBS_MACHINE -lmld |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
52 |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
53 #undef KERNEL_FILE |
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
54 #define KERNEL_FILE "/vmunix" |
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
55 |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
56 #endif /* not NEWSOS5 */ |