1 /* Machine description file for the Motorola Delta.
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.
4 Copyright (C) 1986, 1993, 1994 Free Software Foundation, Inc.
6 This file is part of GNU Emacs.
8 GNU Emacs is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2, or (at your option)
13 GNU Emacs is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with XEmacs; see the file COPYING. If not, write to
20 the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 Boston, MA 02111-1307, USA. */
23 /* Synched up with: FSF 19.31. */
25 /* The following line tells the configuration script what sort of
26 operating system this machine is likely to run.
27 USUAL-OPSYS="usg5-3" */
29 /* Define WORD_MACHINE if addresses and such have
30 * to be corrected before they can be used as byte counts. */
32 /* #define WORD_MACHINE */
34 /* Now define a symbol for the cpu type, if your compiler
35 does not define it automatically:
36 Ones defined so far include vax, m68000, ns16000, pyramid,
37 orion, tahoe, APOLLO and many others */
40 #define MOTOROLA_DELTA
42 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
43 the bit field into an int. In other words, if bit fields
46 If you use NO_UNION_TYPE, this flag does not matter. */
48 #define EXPLICIT_SIGN_EXTEND
50 /* Data type of load average, as read out of kmem. */
52 /* #define LOAD_AVE_TYPE long */
54 /* Convert that into an integer that is 100 for a load average of 1.0 */
56 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */
58 /* Define CANNOT_DUMP on machines where unexec does not work.
59 Then the function dump-emacs will not be defined
60 and temacs will do (load "loadup") automatically unless told otherwise. */
62 /* #define CANNOT_DUMP */
64 /* Define VIRT_ADDR_VARIES if the virtual addresses of
65 pure and impure space as loaded can vary, and even their
66 relative order cannot be relied on.
68 Otherwise Emacs assumes that data space precedes text space,
71 /* #define VIRT_ADDR_VARIES */
73 /* Define C_ALLOCA if this machine does not support a true alloca
74 and the one written in C should be used instead.
75 Define HAVE_ALLOCA to say that the system provides a properly
76 working alloca function and it should be used.
77 Define neither one if an assembler-language alloca
78 in the file alloca.s should be used. */
80 /* #define C_ALLOCA */
81 /* #define HAVE_ALLOCA */
83 /* Define NO_REMAP if memory segmentation makes it not work well
84 to change the boundary between the text section and data section
85 when Emacs is dumped. If you define this, the preloaded Lisp
86 code will not be sharable; but that's better than failing completely. */
90 /* Some really obscure 4.2-based systems (like Sequent DYNIX)
91 * do not support asynchronous I/O (using SIGIO) on sockets,
92 * even though it works fine on tty's. If you have one of
93 * these systems, define the following, and then use it in
94 * config.h (or elsewhere) to decide when (not) to use SIGIO.
96 * You'd think this would go in an operating-system description file,
97 * but since it only occurs on some, but not all, BSD systems, the
98 * reasonable place to select for it is in the machine description
102 /* #define NO_SOCK_SIGIO */
105 /* Machine specific stuff */
108 #define BROKEN_CLOSEDIR /* builtin closedir is interruptible */
109 #define memmove(t,f,s) safe_bcopy(f,t,s) /* for overlapping copies */
111 #define KERNEL_FILE "/sysv68"
114 /* The standard C library is -lc881, not -lc.
115 DO NOT USE -lPW. That version of alloca is broken in versions R3V5,
116 R3V6, R3V7. -riku@field.fi -pot@cnuce.cnr.it. */
118 #define LIB_STANDARD "-lc881"
119 #define LIB_MATH "-lm881"
120 #define LIBS_TERMCAP "-lcurses"
121 #define LIBS_SYSTEM "-lbsd"
123 #ifdef HAVE_X_WINDOWS
125 # define HAVE_XSCREENNUMBEROFSCREEN
126 # undef LIB_X11_LIB /* no shared libraries */
127 # define LIB_X11_LIB "-lX11"
128 # undef USG_SHARED_LIBRARIES /* once again, no shared libs */
129 # undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */
130 # define LIBX11_SYSTEM "-lnls -lnsl_s"
131 #endif /* HAVE_X_WINDOWS */
134 /* Use builtin alloca. Also be sure that no other ones are tried out. */
135 # define alloca __builtin_alloca
138 /* We are assuming here that the `true' GNU gcc has not been
139 installed, and we are using the gnucc provided by Motorola. No
140 support exists for compiling with GNU gcc, as I do not have it on
141 my machine to try it out. -pot@cnuce.cnr.it
142 If __STDC__ is defined gnucc has been called without the -traditional
143 option, that is, we are inside configure. If THIS_IS_CONFIGURE is
144 not defined, then configure is trying to figure out what the right
145 option for real compilation are.
146 Let us set -traditional, because gmalloc.c includes <stddef.h>, and
147 we don't have that (as of SYSV68 R3V7). */
148 # define C_SWITCH_MACHINE "-mfp0ret -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves"
149 # define LIB_GCC "/lib/gnulib881"
152 /* Not __GNUC__, use the alloca in alloca.s. */
154 /* Try to guess if we are using the Green Hills Compiler */
155 # if defined mc68000 && defined MC68000
156 /* Required only for use with Green Hills compiler:
157 -ga Because alloca relies on stack frames. This option forces
158 the Green Hills compiler to create stack frames even for
159 functions with few local variables. */
160 # define C_SWITCH_MACHINE "-ga -O"
161 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */
162 # define BCOPY_UPWARD_SAFE 0
163 # define BCOPY_DOWNWARD_SAFE 1 /* bcopy does: mov.b (%a1)+,(%a0)+ */
165 /* We are using the standard AT&T Portable C Compiler */
166 # define SWITCH_ENUM_BUG
169 #endif /* not __GNUC__ */
171 #ifdef HAVE_INET_SOCKETS /* this comes from autoconf */
172 # define HAVE_SOCKETS /* NSE may or may not have been installed */