Mercurial > emacs
annotate src/m/apollo.h @ 82357:70180028ad92
(Finsert_file_contents): Yet Another Int/Lisp_Object Mixup.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Mon, 13 Aug 2007 04:06:31 +0000 |
parents | 6aba169c4b1f |
children | 49b363c28dce f55f9811f5d7 |
rev | line source |
---|---|
456 | 1 /* machine description file for Apollo machine. |
75227
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
2 Copyright (C) 1985, 1986, 1994, 2001, 2002, 2003, 2004, |
e90d04cd455a
Update copyright for years from Emacs 21 to present (mainly adding
Glenn Morris <rgm@gnu.org>
parents:
68651
diff
changeset
|
3 2005, 2006, 2007 Free Software Foundation, Inc. |
456 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
7 GNU Emacs is free software; you can redistribute it and/or modify | |
8 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:
75227
diff
changeset
|
9 the Free Software Foundation; either version 3, or (at your option) |
456 | 10 any later version. |
11 | |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GNU Emacs; see the file COPYING. If not, write to | |
64083 | 19 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
20 Boston, MA 02110-1301, USA. */ | |
456 | 21 |
22 | |
49600
23a1cea22d13
Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents:
44601
diff
changeset
|
23 /* The following line tells the configuration script what sort of |
456 | 24 operating system this machine is likely to run. |
11668
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
25 USUAL-OPSYS="bsd4-3" */ |
456 | 26 |
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
27 /* Define WORDS_BIG_ENDIAN iff lowest-numbered byte in a word |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
28 is the most significant byte. */ |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
29 |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
30 #define WORDS_BIG_ENDIAN |
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents:
8892
diff
changeset
|
31 |
456 | 32 /* Say this machine is a 68000 */ |
33 | |
34 /* #define m68000 */ /* Done by the C compiler */ | |
35 | |
36 #define APOLLO | |
37 | |
38 /* Assume we use s-bsd4-3.h for system version 10. */ | |
39 | |
40 #ifdef BSD4_3 | |
41 #define APOLLO_SR10 | |
42 #endif | |
43 | |
44 /* Use type int rather than a union, to represent Lisp_Object */ | |
45 | |
46 #define NO_UNION_TYPE | |
47 | |
48 /* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT | |
49 since there is no /dev/kmem */ | |
50 | |
11668
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
51 /* Undefine VIRT_ADDR_VARIES because the virtual addresses of |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
52 pure and impure space as loaded do not vary. */ |
456 | 53 |
11668
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
54 #undef VIRT_ADDR_VARIES |
456 | 55 |
56 /* Prevent -lg from being used for debugging. Not needed. */ | |
57 | |
58 #define LIBS_DEBUG | |
59 | |
11668
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
60 /* Can't use the system's termcap. It has compressed data sections that |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
61 interfere with dumping. That means we won't automatically get a vt100 |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
62 when we start up emacs in a dm pad (a dubious feature at best anyway). */ |
456 | 63 |
11668
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
64 #undef LIBS_TERMCAP |
456 | 65 |
66 /* Must use the system's malloc and alloca. */ | |
67 | |
68 #define SYSTEM_MALLOC | |
69 | |
11668
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
70 /* Define the file we use for UNEXEC. */ |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
71 |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
72 #define UNEXEC unexapollo.o |
456 | 73 |
11668
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
74 /* The Apollo linker does not recognize the -X switch, so we remove it here. */ |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
75 |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
76 #define LD_SWITCH_SYSTEM |
456 | 77 |
11668
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
78 /* Define C_SWITCH_MACHINE to compile for 68020/68030 or PRISM. |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
79 Define LD_SWITCH_MACHINE to save space by stripping symbols |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
80 and use X11 libraries. */ |
456 | 81 |
11668
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
82 #if _ISP__A88K |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
83 #define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,a88k -A sys,any -A run,bsd4.3 |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
84 #define LD_SWITCH_MACHINE -A cpu,a88k -A sys,any -A run,bsd4.3 |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
85 #else |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
86 #define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,3000 -A sys,any -A run,bsd4.3 |
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
87 #define LD_SWITCH_MACHINE -A cpu,m68k -A sys,any -A run,bsd4.3 |
456 | 88 #endif |
2167
c4bed8692d6f
(NO_X_DESTROY_DATABASE): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
89 |
11668
0d5b4a9053c2
(CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents:
10362
diff
changeset
|
90 #define OLDXMENU_OPTIONS ${C_SWITCH_MACHINE} |
13006
e4e18abbe5a2
(HAVE_UNISTD_H): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
11668
diff
changeset
|
91 |
e4e18abbe5a2
(HAVE_UNISTD_H): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
11668
diff
changeset
|
92 /* In SR10.4, unistd.h has bad prototype for getpgrp, so we don't include it. */ |
e4e18abbe5a2
(HAVE_UNISTD_H): Add #undef.
Richard M. Stallman <rms@gnu.org>
parents:
11668
diff
changeset
|
93 #undef HAVE_UNISTD_H |
52401 | 94 |
95 /* arch-tag: 33336588-6242-4e2e-a194-e38848b12813 | |
96 (do not change this comment) */ |