456
|
1 /* machine description file for Apollo machine.
|
11668
|
2 Copyright (C) 1985, 1986, 1994, Free Software Foundation, Inc.
|
456
|
3
|
|
4 This file is part of GNU Emacs.
|
|
5
|
|
6 GNU Emacs is free software; you can redistribute it and/or modify
|
|
7 it under the terms of the GNU General Public License as published by
|
3699
|
8 the Free Software Foundation; either version 2, or (at your option)
|
456
|
9 any later version.
|
|
10
|
|
11 GNU Emacs is distributed in the hope that it will be useful,
|
|
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14 GNU General Public License for more details.
|
|
15
|
|
16 You should have received a copy of the GNU General Public License
|
|
17 along with GNU Emacs; see the file COPYING. If not, write to
|
14186
|
18 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
19 Boston, MA 02111-1307, USA. */
|
456
|
20
|
|
21
|
|
22 /* The following line tells the configuration script what sort of
|
|
23 operating system this machine is likely to run.
|
11668
|
24 USUAL-OPSYS="bsd4-3" */
|
456
|
25
|
9095
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
26 /* 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>
diff
changeset
|
27 is the most significant byte. */
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
28
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
29 #define WORDS_BIG_ENDIAN
|
23f72b18b420
(WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
diff
changeset
|
30
|
456
|
31 /* Say this machine is a 68000 */
|
|
32
|
|
33 /* #define m68000 */ /* Done by the C compiler */
|
|
34
|
|
35 #define APOLLO
|
|
36
|
|
37 /* Assume we use s-bsd4-3.h for system version 10. */
|
|
38
|
|
39 #ifdef BSD4_3
|
|
40 #define APOLLO_SR10
|
|
41 #endif
|
|
42
|
|
43 /* Use type int rather than a union, to represent Lisp_Object */
|
|
44
|
|
45 #define NO_UNION_TYPE
|
|
46
|
|
47 /* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT
|
|
48 since there is no /dev/kmem */
|
|
49
|
11668
|
50 /* Undefine VIRT_ADDR_VARIES because the virtual addresses of
|
|
51 pure and impure space as loaded do not vary. */
|
456
|
52
|
11668
|
53 #undef VIRT_ADDR_VARIES
|
456
|
54
|
|
55 /* Define HAVE_ALLOCA because we use the system's version of alloca. */
|
|
56
|
|
57 #define HAVE_ALLOCA
|
|
58
|
|
59 /* Prevent -lg from being used for debugging. Not needed. */
|
|
60
|
|
61 #define LIBS_DEBUG
|
|
62
|
11668
|
63 /* Can't use the system's termcap. It has compressed data sections that
|
|
64 interfere with dumping. That means we won't automatically get a vt100
|
|
65 when we start up emacs in a dm pad (a dubious feature at best anyway). */
|
456
|
66
|
11668
|
67 #undef LIBS_TERMCAP
|
456
|
68
|
|
69 /* Must use the system's malloc and alloca. */
|
|
70
|
|
71 #define SYSTEM_MALLOC
|
|
72
|
11668
|
73 /* Define the file we use for UNEXEC. */
|
|
74
|
|
75 #define UNEXEC unexapollo.o
|
456
|
76
|
11668
|
77 /* The Apollo linker does not recognize the -X switch, so we remove it here. */
|
|
78
|
|
79 #define LD_SWITCH_SYSTEM
|
456
|
80
|
11668
|
81 /* Define C_SWITCH_MACHINE to compile for 68020/68030 or PRISM.
|
|
82 Define LD_SWITCH_MACHINE to save space by stripping symbols
|
|
83 and use X11 libraries. */
|
456
|
84
|
11668
|
85 #if _ISP__A88K
|
|
86 #define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,a88k -A sys,any -A run,bsd4.3
|
|
87 #define LD_SWITCH_MACHINE -A cpu,a88k -A sys,any -A run,bsd4.3
|
|
88 #else
|
|
89 #define C_SWITCH_MACHINE -W0,-ncompress -W0,-opt,2 -A cpu,3000 -A sys,any -A run,bsd4.3
|
|
90 #define LD_SWITCH_MACHINE -A cpu,m68k -A sys,any -A run,bsd4.3
|
456
|
91 #endif
|
2167
|
92
|
11668
|
93 #define OLDXMENU_OPTIONS ${C_SWITCH_MACHINE}
|
13006
|
94
|
|
95 /* In SR10.4, unistd.h has bad prototype for getpgrp, so we don't include it. */
|
|
96 #undef HAVE_UNISTD_H
|