Mercurial > emacs
annotate src/m/news-risc.h @ 83949:839526eca1bf
Move here from ../../lispintro/
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Thu, 06 Sep 2007 04:02:15 +0000 |
parents | 6aba169c4b1f |
children | f27b84de02cf f55f9811f5d7 |
rev | line source |
---|---|
75935
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
1 /* news-risc.h is for the "RISC News". |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
2 |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
3 Copyright (C) 1992, 1999, 2001, 2002, 2003, 2004, 2005, 2006, |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
4 2007 Free Software Foundation, Inc. |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
5 |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
6 This file is part of GNU Emacs. |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
7 |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
8 GNU Emacs is free software; you can redistribute it and/or modify |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
9 it under the terms of the GNU General Public License as published by |
78258
6aba169c4b1f
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
76212
diff
changeset
|
10 the Free Software Foundation; either version 3, or (at your option) |
75935
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
11 any later version. |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
12 |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
13 GNU Emacs is distributed in the hope that it will be useful, |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
16 GNU General Public License for more details. |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
17 |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
19 along with GNU Emacs; see the file COPYING. If not, write to |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
20 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
21 Boston, MA 02110-1301, USA. */ |
e032dd450ea7
Add copyright and license notice. Copyright years copied from base
Glenn Morris <rgm@gnu.org>
parents:
52401
diff
changeset
|
22 |
457 | 23 |
24 #include "mips.h" | |
25 | |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
26 #ifdef NEWSOS5 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
27 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
28 /* NEWS-OS 5.0.2 */ |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
29 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
30 #define LIBS_MACHINE -lmld |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
31 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
32 #ifdef __GNUC__ |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
33 #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
|
34 #else |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
35 #define C_DEBUG_SWITCH -g3 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
36 #define C_OPTIMIZE_SWITCH -g3 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
37 #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
|
38 #endif |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
39 |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
40 #else /* not NEWSOS5 */ |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
41 |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
40762
diff
changeset
|
42 /* The following line tells the configuration script what sort of |
457 | 43 operating system this machine is likely to run. |
44 USUAL-OPSYS="bsd4-3" */ | |
45 | |
46 #define COFF | |
47 #undef LD_SWITCH_MACHINE | |
27346
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
48 #ifdef __GNUC__ |
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
49 #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
|
50 #else |
457 | 51 #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
|
52 #endif |
457 | 53 |
54 /* #define C_OPTIMIZE_SWITCH -O2 */ | |
55 #define C_OPTIMIZE_SWITCH -O | |
56 | |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
57 #ifndef __GNUC__ |
457 | 58 #define C_DEBUG_SWITCH -g3 |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
59 #endif |
457 | 60 |
61 #undef TERMINFO | |
3520 | 62 |
63 /* We have no mode_t. */ | |
64 #define NO_MODE_T | |
65 | |
3819 | 66 /* Don't use the definitions in m/mips.h. */ |
3520 | 67 #undef LINKER |
27346
47152260ac4c
(LD_SWITCH_MACHINE): Define differently for GCC.
Gerd Moellmann <gerd@gnu.org>
parents:
8066
diff
changeset
|
68 #define LINKER $(CC) -nostdlib |
3819 | 69 #undef LIBS_MACHINE |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
70 #define LIBS_MACHINE -lmld |
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
71 |
8066
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
72 #undef KERNEL_FILE |
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
73 #define KERNEL_FILE "/vmunix" |
b6301bd38638
(C_DEBUG_SWITCH) [not NEWSOS5]:
Richard M. Stallman <rms@gnu.org>
parents:
6045
diff
changeset
|
74 |
40762
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
75 /* 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
|
76 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
|
77 prototypes. */ |
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
78 #define BROKEN_PROTOTYPES |
6c6eb4745dfb
(BROKEN_PROTOTYPES): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
27951
diff
changeset
|
79 |
6045
c199a7ed9be2
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
Richard M. Stallman <rms@gnu.org>
parents:
3819
diff
changeset
|
80 #endif /* not NEWSOS5 */ |
52401 | 81 |
82 /* arch-tag: cf17300c-dd34-4b9d-a657-2de718469662 | |
83 (do not change this comment) */ |