annotate src/m/delta.h @ 18293:ac6884f51b58

(help-map): Make C-i run info-lookup-symbol.
author Richard M. Stallman <rms@gnu.org>
date Wed, 18 Jun 1997 06:50:55 +0000
parents ee40177f6c68
children 1a4c3573a216
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5202
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
1 /* Machine description file for the Motorola Delta.
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
2 Tested on mvme147 board using R3V7 without X. Tested with gcc.
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
3 Tested on mvme167 board using R3V7 without X. Tested with cc, gnucc, gcc.
7307
cd81dba38a49 Update copyright.
Karl Heuer <kwzh@gnu.org>
parents: 7276
diff changeset
4 Copyright (C) 1986, 1993, 1994 Free Software Foundation, Inc.
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
5
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
6 This file is part of GNU Emacs.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
7
3431
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
8 GNU Emacs is free software; you can redistribute it and/or modify
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
9 it under the terms of the GNU General Public License as published by
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
10 the Free Software Foundation; either version 2, or (at your option)
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
11 any later version.
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12
3431
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
13 GNU Emacs is distributed in the hope that it will be useful,
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
16 GNU General Public License for more details.
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
17
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
18 You should have received a copy of the GNU General Public License
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
19 along with GNU Emacs; see the file COPYING. If not, write to
14186
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 13374
diff changeset
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
ee40177f6c68 Update FSF's address in the preamble.
Erik Naggum <erik@naggum.no>
parents: 13374
diff changeset
21 Boston, MA 02111-1307, USA. */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
24 /* The following line tells the configuration script what sort of
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
25 operating system this machine is likely to run.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
26 USUAL-OPSYS="usg5-3" */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
27
9095
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
28 /* 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
29 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
30
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
31 #define WORDS_BIG_ENDIAN
23f72b18b420 (WORDS_BIG_ENDIAN): define or undef appropriately, superseding BIG_ENDIAN.
Karl Heuer <kwzh@gnu.org>
parents: 8892
diff changeset
32
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
33 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
34 * group of arguments and treat it as an array of the arguments. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
35
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
36 /* #define NO_ARG_ARRAY */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
37
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
38 /* Define WORD_MACHINE if addresses and such have
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
39 * to be corrected before they can be used as byte counts. */
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 WORD_MACHINE */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
42
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
43 /* Now define a symbol for the cpu type, if your compiler
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
44 does not define it automatically:
3431
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
45 Ones defined so far include vax, m68000, ns16000, pyramid,
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
46 orion, tahoe, APOLLO and many others */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
47
3431
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
48 #define m68000
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
49 #define MOTOROLA_DELTA
456
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 /* This is desirable for most machines. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
53
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
54 #define NO_UNION_TYPE
3431
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
55
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
56 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
10362
f145d62266f6 (VALBITS, GCTYPEBITS): Deleted; default is better.
Karl Heuer <kwzh@gnu.org>
parents: 10071
diff changeset
57 the bit field into an int. In other words, if bit fields
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
58 are always unsigned.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
59
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
60 If you use NO_UNION_TYPE, this flag does not matter. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
61
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
62 #define EXPLICIT_SIGN_EXTEND
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
63
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
64 /* Data type of load average, as read out of kmem. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
65
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
66 /* #define LOAD_AVE_TYPE long */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
67
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
68 /* Convert that into an integer that is 100 for a load average of 1.0 */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
69
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
70 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
71
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
72 /* Define CANNOT_DUMP on machines where unexec does not work.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
73 Then the function dump-emacs will not be defined
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
74 and temacs will do (load "loadup") automatically unless told otherwise. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
75
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
76 /* #define CANNOT_DUMP */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
77
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
78 /* Define VIRT_ADDR_VARIES if the virtual addresses of
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
79 pure and impure space as loaded can vary, and even their
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
80 relative order cannot be relied on.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
81
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
82 Otherwise Emacs assumes that data space precedes text space,
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
83 numerically. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
84
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
85 /* #define VIRT_ADDR_VARIES */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
86
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
87 /* Define C_ALLOCA if this machine does not support a true alloca
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
88 and the one written in C should be used instead.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
89 Define HAVE_ALLOCA to say that the system provides a properly
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
90 working alloca function and it should be used.
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
91 Define neither one if an assembler-language alloca
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
92 in the file alloca.s should be used. */
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
93
3431
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
94 /* #define C_ALLOCA */
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
95 /* #define HAVE_ALLOCA */
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
96
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
97 /* Define NO_REMAP if memory segmentation makes it not work well
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
98 to change the boundary between the text section and data section
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
99 when Emacs is dumped. If you define this, the preloaded Lisp
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
100 code will not be sharable; but that's better than failing completely. */
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
101
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
102 #define NO_REMAP
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
103
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
104 /* Some really obscure 4.2-based systems (like Sequent DYNIX)
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
105 * do not support asynchronous I/O (using SIGIO) on sockets,
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
106 * even though it works fine on tty's. If you have one of
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
107 * these systems, define the following, and then use it in
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
108 * config.h (or elsewhere) to decide when (not) to use SIGIO.
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
109 *
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
110 * You'd think this would go in an operating-system description file,
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
111 * but since it only occurs on some, but not all, BSD systems, the
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
112 * reasonable place to select for it is in the machine description
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
113 * file.
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
114 */
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
115
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
116 /* #define NO_SOCK_SIGIO */
456
c0335c02f1d7 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
117
3431
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
118
5202
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
119 /* Undefine this if you don't want the machine slow down when a buffer
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
120 is modified. */
3431
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
121
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
122 #define CLASH_DETECTION
bb9b906aa772 (MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents: 750
diff changeset
123
5202
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
124 /* Machine specific stuff */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
125 #define HAVE_PTYS
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
126 #define SYSV_PTYS
6987
62cdd56aa99f * m/delta.h (HAVE_SOCKETS): defined if HAVE_INET_SOCKETS is defined.
Francesco Potortì <pot@gnu.org>
parents: 5669
diff changeset
127 #ifdef HAVE_INET_SOCKETS /* this comes from autoconf */
62cdd56aa99f * m/delta.h (HAVE_SOCKETS): defined if HAVE_INET_SOCKETS is defined.
Francesco Potortì <pot@gnu.org>
parents: 5669
diff changeset
128 # define HAVE_SOCKETS /* NSE may or may not have been installed */
62cdd56aa99f * m/delta.h (HAVE_SOCKETS): defined if HAVE_INET_SOCKETS is defined.
Francesco Potortì <pot@gnu.org>
parents: 5669
diff changeset
129 #endif
5202
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
130 #define SIGNALS_VIA_CHARACTERS
5222
20c59adcb164 * m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
Francesco Potortì <pot@gnu.org>
parents: 5202
diff changeset
131 #define BROKEN_CLOSEDIR /* builtin closedir is interruptible */
5669
ee396244a9a6 * m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents: 5665
diff changeset
132 #undef HAVE_BCOPY /* b* functions are just stubs to mem* ones */
ee396244a9a6 * m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents: 5665
diff changeset
133 #define bcopy(from,to,bytes) memcpy(to,from,bytes)
ee396244a9a6 * m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents: 5665
diff changeset
134 #define bzero(to,bytes) memset(to,0,bytes)
ee396244a9a6 * m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents: 5665
diff changeset
135 #define bcmp memcmp
7958
1398a59935e7 * m/delta.h (memmove): switch the first two args.
Francesco Potortì <pot@gnu.org>
parents: 7355
diff changeset
136 #define memmove(t,f,s) safe_bcopy(f,t,s) /* for overlapping copies */
5202
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
137 #undef KERNEL_FILE
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
138 #define KERNEL_FILE "/sysv68"
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
139 #undef LDAV_SYMBOL
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
140 #ifdef SIGIO
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
141 /* R3V7 has SIGIO, but interrupt input does not work yet.
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
142 Let's go on with cbreak code. */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
143 /* # define INTERRUPT_INPUT */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
144 #endif
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
145
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
146 /* The standard C library is -lc881, not -lc.
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
147 -lbsd brings sigblock and sigsetmask.
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
148 DO NOT USE -lPW. That version of alloca is broken in versions R3V5,
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
149 R3V6, R3V7. -riku@field.fi -pot@cnuce.cnr.it. */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
150
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
151 #define LIB_STANDARD -lc881
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
152 #define LIB_MATH -lm881
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
153 #define LIBS_TERMCAP -lcurses
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
154 #define LIBS_SYSTEM -lbsd
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
155 #undef sigsetmask
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
156
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
157 #ifdef HAVE_X_WINDOWS
5665
83b4ead7031f * m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents: 5222
diff changeset
158 # define HAVE_RANDOM
83b4ead7031f * m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents: 5222
diff changeset
159 # define BROKEN_FIONREAD /* pearce@ll.mit.edu says this is needed. */
83b4ead7031f * m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents: 5222
diff changeset
160 # define HAVE_XSCREENNUMBEROFSCREEN
83b4ead7031f * m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents: 5222
diff changeset
161 # undef LIB_X11_LIB /* no shared libraries */
83b4ead7031f * m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents: 5222
diff changeset
162 # define LIB_X11_LIB -lX11
83b4ead7031f * m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents: 5222
diff changeset
163 # undef USG_SHARED_LIBRARIES /* once again, no shared libs */
83b4ead7031f * m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents: 5222
diff changeset
164 # undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */
83b4ead7031f * m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents: 5222
diff changeset
165 # define LIBX11_SYSTEM -lnls -lnsl_s
5202
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
166 #endif /* HAVE_X_WINDOWS */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
167
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
168 #ifdef __GNUC__
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
169 /* Use builtin alloca. Also be sure that no other ones are tried out. */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
170 # define alloca __builtin_alloca
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
171 # define HAVE_ALLOCA
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
172 /* Union lisp objects do not yet work as of 19.15. */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
173 /* # undef NO_UNION_TYPE */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
174
11752
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
175 /* We are assuming here that the `true' GNU gcc has not been
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
176 installed, and we are using the gnucc provided by Motorola. No
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
177 support exists for compiling with GNU gcc, as I do not have it on
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
178 my machine to try it out. -pot@cnuce.cnr.it
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
179 If __STDC__ is defined gnucc has been called without the -traditional
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
180 option, that is, we are inside configure. If THIS_IS_CONFIGURE is
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
181 not defined, then configure is trying to figure out what the right
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
182 option for real compilation are.
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
183 Let us set -traditional, because gmalloc.c includes <stddef.h>, and
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
184 we don't have that (as of SYSV68 R3V7). */
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
185 # define C_SWITCH_MACHINE -mfp0ret -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves
5202
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
186 # define LIB_GCC /lib/gnulib881
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
187
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
188 #else
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
189 /* Not __GNUC__, use the alloca in alloca.s. */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
190
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
191 /* Try to guess if we are using the Green Hills Compiler */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
192 # if defined mc68000 && defined MC68000
11752
c5ea5058d310 * delta.h (C_SWITCH_MACHINE): Let configure decide if this is a
Francesco Potortì <pot@gnu.org>
parents: 10362
diff changeset
193 /* Required only for use with Green Hills compiler:
5202
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
194 -ga Because alloca relies on stack frames. This option forces
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
195 the Green Hills compiler to create stack frames even for
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
196 functions with few local variables. */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
197 # define C_SWITCH_MACHINE -ga -O
5669
ee396244a9a6 * m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents: 5665
diff changeset
198 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */
7276
66f3335be178 * m/delta.h: (SYSTEM_MALLOC): defined as gnu malloc does not work.
Francesco Potortì <pot@gnu.org>
parents: 6987
diff changeset
199 # define BCOPY_UPWARD_SAFE 0
66f3335be178 * m/delta.h: (SYSTEM_MALLOC): defined as gnu malloc does not work.
Francesco Potortì <pot@gnu.org>
parents: 6987
diff changeset
200 # define BCOPY_DOWNWARD_SAFE 1 /* bcopy does: mov.b (%a1)+,(%a0)+ */
5202
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
201 # else
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
202 /* We are using the standard AT&T Portable C Compiler */
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
203 # define SWITCH_ENUM_BUG
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
204 # endif
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
205
0580776d4578 Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents: 5170
diff changeset
206 #endif /* not __GNUC__ */