annotate src/m/apollo.h @ 11814:f9c9e52a7ef5

* config.guess: Recognize Cray90 (from Pete TerMaat).
author Per Bothner <bothner@cygnus.com>
date Mon, 15 May 1995 21:49:34 +0000
parents 0d5b4a9053c2
children e4e18abbe5a2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
1 /* machine description file for Apollo machine.
11668
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
2 Copyright (C) 1985, 1986, 1994, Free Software Foundation, Inc.
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
3
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4 This file is part of GNU Emacs.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 GNU Emacs is free software; you can redistribute it and/or modify
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
3699
7be0f0a02725 Updated GPL version to 2.
Jim Blandy <jimb@redhat.com>
parents: 2167
diff changeset
8 the Free Software Foundation; either version 2, or (at your option)
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
9 any later version.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
10
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
11 GNU Emacs is distributed in the hope that it will be useful,
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
14 GNU General Public License for more details.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
15
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
17 along with GNU Emacs; see the file COPYING. If not, write to
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
18 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
19
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
20
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21 /* The following line tells the configuration script what sort of
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 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
23 USUAL-OPSYS="bsd4-3" */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 /* The following three symbols give information on
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 the size of various data types. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
28 #define SHORTBITS 16 /* Number of bits in a short */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
29
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
30 #define INTBITS 32 /* Number of bits in an int */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
31
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
32 #define LONGBITS 32 /* Number of bits in a long */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33
9095
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
34 /* 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
35 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
36
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
37 #define WORDS_BIG_ENDIAN
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
38
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
39 /* Say this machine is a 68000 */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
40
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
41 /* #define m68000 */ /* Done by the C compiler */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
42
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
43 #define APOLLO
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
45 /* Assume we use s-bsd4-3.h for system version 10. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
46
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47 #ifdef BSD4_3
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
48 #define APOLLO_SR10
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
49 #endif
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
50
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
51 /* Use type int rather than a union, to represent Lisp_Object */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
52
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
53 #define NO_UNION_TYPE
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
54
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
55 /* Do not define LOAD_AVE_TYPE or LOAD_AVE_CVT
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
56 since there is no /dev/kmem */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
57
11668
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
58 /* 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
59 pure and impure space as loaded do not vary. */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
60
11668
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
61 #undef VIRT_ADDR_VARIES
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
62
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
63 /* Define HAVE_ALLOCA because we use the system's version of alloca. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
64
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
65 #define HAVE_ALLOCA
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
66
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
67 /* Prevent -lg from being used for debugging. Not needed. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
68
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
69 #define LIBS_DEBUG
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
70
11668
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
71 /* 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
72 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
73 when we start up emacs in a dm pad (a dubious feature at best anyway). */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
74
11668
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
75 #undef LIBS_TERMCAP
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
76
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
77 /* Must use the system's malloc and alloca. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
78
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
79 #define SYSTEM_MALLOC
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
80
11668
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
81 /* 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
82
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
83 #define UNEXEC unexapollo.o
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
84
11668
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
85 /* 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
86
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
87 #define LD_SWITCH_SYSTEM
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
88
11668
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
89 /* 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
90 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
91 and use X11 libraries. */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
92
11668
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
93 #if _ISP__A88K
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
94 #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
95 #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
96 #else
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
97 #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
98 #define LD_SWITCH_MACHINE -A cpu,m68k -A sys,any -A run,bsd4.3
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
99 #endif
2167
c4bed8692d6f (NO_X_DESTROY_DATABASE): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
100
11668
0d5b4a9053c2 (CANNOT_DUMP, VIRT_ADDR_VARIES, LIBS_TERMCAP)
Richard M. Stallman <rms@gnu.org>
parents: 10362
diff changeset
101 #define OLDXMENU_OPTIONS ${C_SWITCH_MACHINE}