428
|
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.
|
|
5
|
|
6 This file is part of GNU Emacs.
|
|
7
|
|
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)
|
|
11 any later version.
|
|
12
|
|
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.
|
|
17
|
|
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. */
|
|
22
|
|
23 /* Synched up with: FSF 19.31. */
|
|
24
|
|
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" */
|
|
28
|
|
29 /* Now define a symbol for the cpu type, if your compiler
|
|
30 does not define it automatically:
|
|
31 Ones defined so far include vax, m68000, ns16000, pyramid,
|
|
32 orion, tahoe, APOLLO and many others */
|
|
33
|
|
34 #define m68000
|
|
35 #define MOTOROLA_DELTA
|
|
36
|
|
37 /* Data type of load average, as read out of kmem. */
|
|
38
|
|
39 /* #define LOAD_AVE_TYPE long */
|
|
40
|
|
41 /* Convert that into an integer that is 100 for a load average of 1.0 */
|
|
42
|
|
43 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */
|
|
44
|
|
45 /* Define CANNOT_DUMP on machines where unexec does not work.
|
|
46 Then the function dump-emacs will not be defined
|
|
47 and temacs will do (load "loadup") automatically unless told otherwise. */
|
|
48
|
|
49 /* #define CANNOT_DUMP */
|
|
50
|
|
51 /* Define C_ALLOCA if this machine does not support a true alloca
|
|
52 and the one written in C should be used instead.
|
|
53 Define HAVE_ALLOCA to say that the system provides a properly
|
|
54 working alloca function and it should be used.
|
|
55 Define neither one if an assembler-language alloca
|
|
56 in the file alloca.s should be used. */
|
|
57
|
|
58 /* #define C_ALLOCA */
|
|
59 /* #define HAVE_ALLOCA */
|
|
60
|
|
61 /* Define NO_REMAP if memory segmentation makes it not work well
|
|
62 to change the boundary between the text section and data section
|
|
63 when Emacs is dumped. If you define this, the preloaded Lisp
|
|
64 code will not be sharable; but that's better than failing completely. */
|
|
65
|
|
66 #define NO_REMAP
|
|
67
|
|
68
|
|
69 /* Machine specific stuff */
|
|
70 #define BROKEN_CLOSEDIR /* builtin closedir is interruptible */
|
|
71 #define memmove(t,f,s) safe_bcopy(f,t,s) /* for overlapping copies */
|
|
72 #undef KERNEL_FILE
|
|
73 #define KERNEL_FILE "/sysv68"
|
|
74 #undef LDAV_SYMBOL
|
|
75
|
|
76 /* The standard C library is -lc881, not -lc.
|
|
77 DO NOT USE -lPW. That version of alloca is broken in versions R3V5,
|
|
78 R3V6, R3V7. -riku@field.fi -pot@cnuce.cnr.it. */
|
|
79
|
|
80 #define LIB_STANDARD "-lc881"
|
|
81 #define LIB_MATH "-lm881"
|
|
82 #define LIBS_TERMCAP "-lcurses"
|
|
83 #define LIBS_SYSTEM "-lbsd"
|
|
84
|
|
85 #ifdef HAVE_X_WINDOWS
|
|
86 # define HAVE_RANDOM
|
|
87 # define HAVE_XSCREENNUMBEROFSCREEN
|
|
88 # undef LIB_X11_LIB /* no shared libraries */
|
|
89 # define LIB_X11_LIB "-lX11"
|
|
90 # undef USG_SHARED_LIBRARIES /* once again, no shared libs */
|
|
91 # undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */
|
|
92 # define LIBX11_SYSTEM "-lnls -lnsl_s"
|
|
93 #endif /* HAVE_X_WINDOWS */
|
|
94
|
|
95 #ifdef __GNUC__
|
|
96 /* Use builtin alloca. Also be sure that no other ones are tried out. */
|
|
97 # define alloca __builtin_alloca
|
|
98 # define HAVE_ALLOCA
|
|
99
|
|
100 /* We are assuming here that the `true' GNU gcc has not been
|
|
101 installed, and we are using the gnucc provided by Motorola. No
|
|
102 support exists for compiling with GNU gcc, as I do not have it on
|
|
103 my machine to try it out. -pot@cnuce.cnr.it
|
|
104 If __STDC__ is defined gnucc has been called without the -traditional
|
|
105 option, that is, we are inside configure. If THIS_IS_CONFIGURE is
|
|
106 not defined, then configure is trying to figure out what the right
|
|
107 option for real compilation are.
|
|
108 Let us set -traditional, because gmalloc.c includes <stddef.h>, and
|
|
109 we don't have that (as of SYSV68 R3V7). */
|
|
110 # define C_SWITCH_MACHINE "-mfp0ret -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves"
|
|
111 # define LIB_GCC "/lib/gnulib881"
|
|
112
|
|
113 #else
|
|
114 /* Not __GNUC__, use the alloca in alloca.s. */
|
|
115
|
|
116 /* Try to guess if we are using the Green Hills Compiler */
|
|
117 # if defined mc68000 && defined MC68000
|
|
118 /* Required only for use with Green Hills compiler:
|
|
119 -ga Because alloca relies on stack frames. This option forces
|
|
120 the Green Hills compiler to create stack frames even for
|
|
121 functions with few local variables. */
|
|
122 # define C_SWITCH_MACHINE "-ga -O"
|
|
123 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */
|
|
124 # define BCOPY_UPWARD_SAFE 0
|
|
125 # define BCOPY_DOWNWARD_SAFE 1 /* bcopy does: mov.b (%a1)+,(%a0)+ */
|
|
126 # else
|
|
127 /* We are using the standard AT&T Portable C Compiler */
|
|
128 # define SWITCH_ENUM_BUG
|
|
129 # endif
|
|
130
|
|
131 #endif /* not __GNUC__ */
|
|
132
|
|
133 #ifdef HAVE_INET_SOCKETS /* this comes from autoconf */
|
|
134 # define HAVE_SOCKETS /* NSE may or may not have been installed */
|
|
135 #endif
|