comparison src/m/delta.h @ 5202:0580776d4578

Properly install previous change.
author Richard M. Stallman <rms@gnu.org>
date Sat, 27 Nov 1993 19:37:46 +0000
parents feee1e8ab9ad
children 20c59adcb164
comparison
equal deleted inserted replaced
5201:b27badfb4040 5202:0580776d4578
1 /* machine description file for the Motorola delta running System V.3.X 1 /* Machine description file for the Motorola Delta.
2 tested on mvme147. 2 Tested on mvme147 board using R3V7 without X. Tested with gcc.
3 Tested on mvme167 board using R3V7 without X. Tested with cc, gnucc, gcc.
3 Copyright (C) 1986, 1993 Free Software Foundation, Inc. 4 Copyright (C) 1986, 1993 Free Software Foundation, Inc.
4 5
5 This file is part of GNU Emacs. 6 This file is part of GNU Emacs.
6 7
7 GNU Emacs is free software; you can redistribute it and/or modify 8 GNU Emacs is free software; you can redistribute it and/or modify
57 58
58 /* Use type int rather than a union, to represent Lisp_Object */ 59 /* Use type int rather than a union, to represent Lisp_Object */
59 /* This is desirable for most machines. */ 60 /* This is desirable for most machines. */
60 61
61 #define NO_UNION_TYPE 62 #define NO_UNION_TYPE
62 #define SWITCH_ENUM_BUG
63 63
64 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 64 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
65 the 24-bit bit field into an int. In other words, if bit fields 65 the 24-bit bit field into an int. In other words, if bit fields
66 are always unsigned. 66 are always unsigned.
67 67
128 Leaving them undefined (files up to 8 Mbytes) should be more efficient. */ 128 Leaving them undefined (files up to 8 Mbytes) should be more efficient. */
129 129
130 /* #define VALBITS 26 130 /* #define VALBITS 26
131 #define GCTYPEBITS 5 */ 131 #define GCTYPEBITS 5 */
132 132
133 /* Undefine this if you don't want the machine slow down when a buffer
134 is modified. */
135
136 #define CLASH_DETECTION
137
138 /* configure fails to find these two. */
139
140 #define HAVE_RANDOM
141 #define HAVE_XSCREENNUMBEROFSCREEN
142
143 /* pearce@ll.mit.edu says this is needed. */
144
145 #define BROKEN_FIONREAD
146
147 /* No shared X library. */
148
149 #undef LIB_X11_LIB
150 #define LIB_X11_LIB -lX11
151
152 /* We have no 'pt' library as usg5-3.h expects. */
153 #undef LIBX11_SYSTEM
154 #define LIBX11_SYSTEM -lnls -lnsl_s
155
156 #undef USG_SHARED_LIBRARIES
157
133 /* Machine specific stuff */ 158 /* Machine specific stuff */
134 159
135 #define BSTRING
136 #define HAVE_PTYS 160 #define HAVE_PTYS
137 #define SYSV_PTYS 161 #define SYSV_PTYS
138 #define HAVE_SELECT 162 #define HAVE_SELECT
139 #define HAVE_SOCKETS /***** only if NSE has been installed *****/ 163 #define HAVE_SOCKETS /***** only if NSE has been installed *****/
140 #define HAVE_UNISTD_H 164 #define HAVE_UNISTD_H
141 #define HAVE_TIMEVAL 165 #define HAVE_TIMEVAL
142 #define SIGNALS_VIA_CHARACTERS 166 #define SIGNALS_VIA_CHARACTERS
143 #define memmove memcpy /* memmove not provided until R3V7 */ 167 #define memmove safe_bcopy
144 #undef KERNEL_FILE 168 #undef KERNEL_FILE
145 #define KERNEL_FILE "/sysv68" 169 #define KERNEL_FILE "/sysv68"
146 #undef LDAV_SYMBOL 170 #undef LDAV_SYMBOL
171 #ifdef SIGIO
172 /* R3V7 has SIGIO, but interrupt input does not work yet.
173 Let's go on with cbreak code. */
174 /* # define INTERRUPT_INPUT */
175 #endif
147 176
148 /* The standard C library is -lc881, not -lc. 177 /* The standard C library is -lc881, not -lc.
149 -lbsd brings sigblock and sigsetmask. 178 -lbsd brings sigblock and sigsetmask.
150 DO NOT USE -lPW. That version of alloca is broken, at last until version 179 DO NOT USE -lPW. That version of alloca is broken in versions R3V5,
151 R3V7. -riku@field.fi -pot@cnuce.cnr.it. */ 180 R3V6, R3V7. -riku@field.fi -pot@cnuce.cnr.it. */
152 181
153 #define LIB_STANDARD -lc881 182 #define LIB_STANDARD -lc881
154 #define LIB_MATH -lm881 183 #define LIB_MATH -lm881
155 #define LIBS_TERMCAP -lcurses 184 #define LIBS_TERMCAP -lcurses
156 #define LIBS_SYSTEM -lbsd 185 #define LIBS_SYSTEM -lbsd
157 #undef sigsetmask 186 #undef sigsetmask
158 187
159 #ifdef HAVE_X_WINDOWS 188 #ifdef HAVE_X_WINDOWS
160 /* not sure if this makes sense any more */ 189 /* I have not tested X, but I think these are obsolete, so let's
161 /* debug switches enabled because of some difficulties w/X11 */ 190 commment them -pot@cnuce.cnr.it */
191 /* debug switches enabled because of some difficulties w/X11
162 # define C_DEBUG_SWITCH -g 192 # define C_DEBUG_SWITCH -g
163 # define OBJECTS_MACHINE -lg 193 # define OBJECTS_MACHINE -lg
164 # define C_OPTIMIZE_SWITCH 194 # define C_OPTIMIZE_SWITCH
165 # define CANNOT_DUMP 195 # define CANNOT_DUMP
166 /*# define XDEBUG*/ 196 # define XDEBUG */
167 # define X11
168 /* X library is in 'nonstandard' location. */ 197 /* X library is in 'nonstandard' location. */
169 # define LD_SWITCH_MACHINE -L/usr/lib/X11/ 198 /* This should be taken care of by configure -pot@cnuce.cnr.it
199 # define LD_SWITCH_MACHINE -L/usr/lib/X11/ */
170 #endif /* HAVE_X_WINDOWS */ 200 #endif /* HAVE_X_WINDOWS */
171 201
172 #ifdef __GNUC__ 202 #ifdef __GNUC__
173 /* Use builtin one. Also be sure that no other ones are tried out. */ 203 /* Use builtin alloca. Also be sure that no other ones are tried out. */
174 # define alloca __builtin_alloca 204 # define alloca __builtin_alloca
175 # define HAVE_ALLOCA 205 # define HAVE_ALLOCA
206 /* Union lisp objects do not yet work as of 19.15. */
207 /* # undef NO_UNION_TYPE */
208
209 /* There are three ways to use the gnucc provided with R3V7. Either
210 link /bin/ccd/cc to /bin/cc and then configure (supposing that CC
211 is unset or set to cc). Or configure like this: `CC=/bin/ccd/cc
212 configure', or else configure like this: `CC=gnucc configure'. */
213
214 # ifdef __STDC__
215 /* Compiling with gnucc (not through ccd). This means -traditional is
216 not set. Let us set it, because I didn't manage yet to make it
217 compile without -traditional. -pot@cnuce.cnr.it. */
218 # define C_SWITCH_MACHINE -traditional -mfp0ret -m68881 -Dconst=
219 # define LIB_GCC /lib/gnulib881
220 # endif /* __STDC__ */
221
176 #else 222 #else
177 /* Not __GNUC__, use the one in alloca.s. */ 223 /* Not __GNUC__, use the alloca in alloca.s. */
178 224
179 /* Try to guess if we are using the Green Hills Compiler */ 225 /* Try to guess if we are using the Green Hills Compiler */
180 # if defined mc68000 && defined MC68000 226 # if defined mc68000 && defined MC68000
181 /* Required only for use with Green Hills compiler: 227 /* Required only for use with Green Hills compiler:
182 -ga Because alloca relies on stack frames. This option forces 228 -ga Because alloca relies on stack frames. This option forces
183 the Green Hills compiler to create stack frames even for 229 the Green Hills compiler to create stack frames even for
184 functions with few local variables. */ 230 functions with few local variables. */
185 # define C_SWITCH_MACHINE -ga 231 # define C_SWITCH_MACHINE -ga -O
232 # else
233 /* We are using the standard AT&T Portable C Compiler */
234 # define SWITCH_ENUM_BUG
186 # endif 235 # endif
187 #endif /* __GNUC__ */ 236
188 237 #endif /* not __GNUC__ */
189
190 /* emacs19 beta release stuff */
191
192 /* crt0.c should use the vax-bsd style of entry, with no dummy args. */
193
194 /* emacs's magic number isn't temacs's;
195 temacs is writable text (the default!). */
196
197 /* Don't use interrupt I/O */
198 #undef INTERRUPT_INPUT
199 #undef SIGIO
200
201 #define CLASH_DETECTION
202
203 /* configure fails to find these two. */
204
205 #define HAVE_RANDOM
206 #define HAVE_XSCREENNUMBEROFSCREEN
207
208 /* pearce@ll.mit.edu says this is needed. */
209
210 #define BROKEN_FIONREAD
211
212 /* No shared X library. */
213
214 #undef LIB_X11_LIB
215 #define LIB_X11_LIB -lX11
216
217 /* We have no 'pt' library as usg5-3.h expects. */
218 #undef LIBX11_SYSTEM
219 #define LIBX11_SYSTEM -lnls -lnsl_s
220
221 #undef USG_SHARED_LIBRARIES