Mercurial > emacs
annotate src/m/news-risc.h @ 45725:abb237aa3c61
(custom-display): Use correct syntax for `supports' attributes.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Mon, 10 Jun 2002 02:51:18 +0000 |
parents | 6c6eb4745dfb |
children | 23a1cea22d13 |
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 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
|
13 #else |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
14 #define C_DEBUG_SWITCH -g3 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
15 #define C_OPTIMIZE_SWITCH -g3 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
16 #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
|
17 #endif |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
18 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
19 #else /* not NEWSOS5 */ |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
20 |
457 | 21 /* The following line tells the configuration script what sort of |
22 operating system this machine is likely to run. | |
23 USUAL-OPSYS="bsd4-3" */ | |
24 | |
25 #define COFF | |
26 #undef LD_SWITCH_MACHINE | |
27346
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
27 #ifdef __GNUC__ |
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
28 #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
|
29 #else |
457 | 30 #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
|
31 #endif |
457 | 32 |
33 /* #define C_OPTIMIZE_SWITCH -O2 */ | |
34 #define C_OPTIMIZE_SWITCH -O | |
35 | |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
36 #ifndef __GNUC__ |
457 | 37 #define C_DEBUG_SWITCH -g3 |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
38 #endif |
457 | 39 |
40 #undef TERMINFO | |
3520 | 41 |
42 /* We have no mode_t. */ | |
43 #define NO_MODE_T | |
44 | |
3819 | 45 /* Don't use the definitions in m/mips.h. */ |
3520 | 46 #undef LINKER |
27346
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
47 #define LINKER $(CC) -nostdlib |
3819 | 48 #undef LIBS_MACHINE |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
49 #define LIBS_MACHINE -lmld |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
50 |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
51 #undef KERNEL_FILE |
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
52 #define KERNEL_FILE "/vmunix" |
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
53 |
40762
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
54 /* System's malloc, realloc, calloc and so on have bad prototypes, |
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
55 using char * instead of void *, so tell gmalloc not to use the |
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
56 prototypes. */ |
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
57 #define BROKEN_PROTOTYPES |
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
58 |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
59 #endif /* not NEWSOS5 */ |