comparison src/m/delta.h @ 3431:bb9b906aa772

(MOTOROLA_DELTA): Defined. (HAVE_SYSVIPC, BAT68K, BAT_ALLOCA): Deleted--obsolete. (STACK_DIRECTION, HAVE_X_WINDOWS): Deleted--configure knows. (C_SWITCH_MACHINE): Set to -ga if using the Green Hills compiler. (LIB_STANDARD, LIB_MATH): Defined to the 68881 versions. (LIBS_SYSTEM): -lbsd brings sigblock and sigsetmask. (sigsetmask): Undefined--it is in -lbsd. (LDAV_SYMBOL): Undefined--we have no such thing. (KERNEL_FILE): Defined to "/sysV68". (BSTRING, HAVE_SELECT, HAVE_UNISTD_H, HAVE_TIMEVAL): Defined. (SIGNALS_VIA_CHARACTERS): Defined. (memmove): Defined as memcpy--we have no memmove. (SIGIO, INTERRUPT_INPUT): Undefined--not yet tested. (SHORT_FILE_NAMES, CLASH_DETECTION): Defined.
author Richard M. Stallman <rms@gnu.org>
date Wed, 02 Jun 1993 18:37:28 +0000
parents 1ffd52c765c7
children a4a33eb8f6e9
comparison
equal deleted inserted replaced
3430:400db0ca934f 3431:bb9b906aa772
1 /* machine description file for the Motorola delta running System V.3. 1 /* machine description file for the Motorola delta running System V.3.X
2 tested on sys1147 (mvme147 - based system). 2 tested on mvme147.
3 Copyright (C) 1986 Free Software Foundation, Inc. 3 Copyright (C) 1986, 1993 Free Software Foundation, Inc.
4 4
5 This file is part of GNU Emacs. 5 This file is part of GNU Emacs.
6 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
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11
7 GNU Emacs is distributed in the hope that it will be useful, 12 GNU Emacs is distributed in the hope that it will be useful,
8 but WITHOUT ANY WARRANTY. No author or distributor 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
9 accepts responsibility to anyone for the consequences of using it 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 or for whether it serves any particular purpose or works at all, 15 GNU General Public License for more details.
11 unless he says so in writing. Refer to the GNU Emacs General Public 16
12 License for full details. 17 You should have received a copy of the GNU General Public License
13 18 along with GNU Emacs; see the file COPYING. If not, write to
14 Everyone is granted permission to copy, modify and redistribute 19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
15 GNU Emacs, but only under the conditions described in the
16 GNU Emacs General Public License. A copy of this license is
17 supposed to have been given to you along with GNU Emacs so you
18 can know your rights and responsibilities. It should be in a
19 file named COPYING. Among other things, the copyright notice
20 and this notice must be preserved on all copies. */
21 20
22 21
23 /* The following line tells the configuration script what sort of 22 /* The following line tells the configuration script what sort of
24 operating system this machine is likely to run. 23 operating system this machine is likely to run.
25 USUAL-OPSYS="usg5-3" */ 24 USUAL-OPSYS="usg5-3" */
48 47
49 /* #define WORD_MACHINE */ 48 /* #define WORD_MACHINE */
50 49
51 /* Now define a symbol for the cpu type, if your compiler 50 /* Now define a symbol for the cpu type, if your compiler
52 does not define it automatically: 51 does not define it automatically:
53 vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO 52 Ones defined so far include vax, m68000, ns16000, pyramid,
54 are the ones defined so far. */ 53 orion, tahoe, APOLLO and many others */
54
55 #define m68000 55 #define m68000
56 #define NO_REMAP 56 #define MOTOROLA_DELTA
57
58 #define HAVE_SYSVIPC
59
60 #define HAVE_PTYS
61 #define SYSV_PTYS
62 57
63 /* Use type int rather than a union, to represent Lisp_Object */ 58 /* Use type int rather than a union, to represent Lisp_Object */
64 /* This is desirable for most machines. */ 59 /* This is desirable for most machines. */
65 60
66 #define NO_UNION_TYPE 61 #define NO_UNION_TYPE
67 #define SWITCH_ENUM_BUG 62 #define SWITCH_ENUM_BUG
63
68 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend 64 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
69 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
70 are always unsigned. 66 are always unsigned.
71 67
72 If you use NO_UNION_TYPE, this flag does not matter. */ 68 If you use NO_UNION_TYPE, this flag does not matter. */
101 Define HAVE_ALLOCA to say that the system provides a properly 97 Define HAVE_ALLOCA to say that the system provides a properly
102 working alloca function and it should be used. 98 working alloca function and it should be used.
103 Define neither one if an assembler-language alloca 99 Define neither one if an assembler-language alloca
104 in the file alloca.s should be used. */ 100 in the file alloca.s should be used. */
105 101
106 /*#define C_ALLOCA */ 102 /* #define C_ALLOCA */
107 /*#define HAVE_ALLOCA */ 103 /* #define HAVE_ALLOCA */
108 104
109 #ifdef __GNUC__ 105 /* Define NO_REMAP if memory segmentation makes it not work well
110 /* easy. use builtin one. also be sure that no other ones are tried out. */ 106 to change the boundary between the text section and data section
111 # define alloca __builtin_alloca 107 when Emacs is dumped. If you define this, the preloaded Lisp
112 # define HAVE_ALLOCA 108 code will not be sharable; but that's better than failing completely. */
113 # undef C_ALLOCA 109
114 #else 110 #define NO_REMAP
115 # ifdef C_ALLOCA 111
116 # define STACK_DIRECTION (-1) /* C_ALLOCA needs to know about stack. */ 112 /* Some really obscure 4.2-based systems (like Sequent DYNIX)
117 # else /* C_ALLOCA */ 113 * do not support asynchronous I/O (using SIGIO) on sockets,
118 # ifndef HAVE_ALLOCA 114 * even though it works fine on tty's. If you have one of
119 # define BAT_ALLOCA /* if not in library, alloca.s needs this. */ 115 * these systems, define the following, and then use it in
120 # endif /* HAVE_ALLOCA */ 116 * config.h (or elsewhere) to decide when (not) to use SIGIO.
121 # endif /* C_ALLOCA */ 117 *
122 #endif /* __GNUC__ */ 118 * You'd think this would go in an operating-system description file,
123 119 * but since it only occurs on some, but not all, BSD systems, the
124 /* The standard C library is -lcieee, not -lc. 120 * reasonable place to select for it is in the machine description
125 Also use the PW library, which contains alloca. 121 * file.
122 */
123
124 /* #define NO_SOCK_SIGIO */
125
126
127 /* Define these if you want to edit files up to 32Mbytes.
128 Leaving them undefined (files up to 8 Mbytes) should be more efficient. */
129
130 /* #define VALBITS 26
131 #define GCTYPEBITS 5 */
132
133 /* Machine specific stuff */
134
135 #define BSTRING
136 #define HAVE_PTYS
137 #define SYSV_PTYS
138 #define HAVE_SELECT
139 #define HAVE_SOCKETS /***** only if NSE has been installed *****/
140 #define HAVE_UNISTD_H
141 #define HAVE_TIMEVAL
142 #define SIGNALS_VIA_CHARACTERS
143 #define memmove memcpy /* memmove not provided until R3V7 */
144 #undef KERNEL_FILE
145 #define KERNEL_FILE "/sysv68"
146 #undef LDAV_SYMBOL
147 #define SHORT_FILE_NAMES
148
149 /* The standard C library is -lc881, not -lc.
150 -lbsd brings sigblock and sigsetmask.
126 DO NOT USE -lPW. That version of alloca is broken, at last until version 151 DO NOT USE -lPW. That version of alloca is broken, at last until version
127 SVR3V5.1 . -riku@field.fi */ 152 R3V7. -riku@field.fi -pot@cnuce.cnr.it. */
128 153
129 #define LIB_STANDARD -lc 154 #define LIB_STANDARD -lc881
130 155 #define LIB_MATH -lm881
131 #define LIBS_TERMCAP -lcurses 156 #define LIBS_TERMCAP -lcurses
132 157 #define LIBS_SYSTEM -lbsd
133 /* define this if you want to use X11 */ 158 #undef sigsetmask
134 #undef HAVE_X_WINDOWS
135 159
136 #ifdef HAVE_X_WINDOWS 160 #ifdef HAVE_X_WINDOWS
161 /* not sure if this makes sense any more */
137 /* debug switches enabled because of some difficulties w/X11 */ 162 /* debug switches enabled because of some difficulties w/X11 */
138 # define C_DEBUG_SWITCH -g 163 # define C_DEBUG_SWITCH -g
139 # define OBJECTS_MACHINE -lg 164 # define OBJECTS_MACHINE -lg
140 # define C_OPTIMIZE_SWITCH 165 # define C_OPTIMIZE_SWITCH
141 # define CANNOT_DUMP 166 # define CANNOT_DUMP
142 /*# define XDEBUG*/ 167 /*# define XDEBUG*/
143 # define X11 168 # define X11
144 /* X library implements these. */
145 # define BSTRING
146 /* X library is in 'nonstandard' location. */ 169 /* X library is in 'nonstandard' location. */
147 # define LD_SWITCH_MACHINE -L/usr/lib/X11/ 170 # define LD_SWITCH_MACHINE -L/usr/lib/X11/
171 #endif /* HAVE_X_WINDOWS */
172
173 #ifdef __GNUC__
174 /* Use builtin one. Also be sure that no other ones are tried out. */
175 # define alloca __builtin_alloca
176 # define HAVE_ALLOCA
148 #else 177 #else
149 /* No sufficient justification for this. */ 178 /* Not __GNUC__, use the one in alloca.s. */
150 /* # define C_DEBUG_SWITCH */ 179
151 # define C_OPTIMIZE_SWITCH -O 180 /* Try to guess if we are using the Green Hills Compiler */
152 #endif /* HAVE_X_WINDOWS */ 181 # if defined mc68000 && defined MC68000
153 182 /* Required only for use with Green Hills compiler:
154 /* enable batdevice-dependent code to compile. */ 183 -ga Because alloca relies on stack frames. This option forces
155 #define BAT68K 184 the Green Hills compiler to create stack frames even for
156 185 functions with few local variables. */
157 #define HAVE_SOCKETS 186 # define C_SWITCH_MACHINE -ga
187 # endif
188 #endif /* __GNUC__ */
189
190
191 /* emacs19 beta release stuff */
158 192
159 /* crt0.c should use the vax-bsd style of entry, with no dummy args. */ 193 /* crt0.c should use the vax-bsd style of entry, with no dummy args. */
160 194
161
162 /* emacs's magic number isn't temacs's; 195 /* emacs's magic number isn't temacs's;
163 temacs is writeable text (the default!). */ 196 temacs is writable text (the default!). */
197
198 /* Don't use interrupt I/O */
199 #undef INTERRUPT_INPUT
200 #undef SIGIO
201
202 #define CLASH_DETECTION
203
204
205