Mercurial > hg > xemacs-beta
comparison src/m/delta.h @ 0:376386a54a3c r19-14
Import from CVS: tag r19-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:45:50 +0200 |
parents | |
children | ac2d302a0011 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:376386a54a3c |
---|---|
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 /* Define WORD_MACHINE if addresses and such have | |
30 * to be corrected before they can be used as byte counts. */ | |
31 | |
32 /* #define WORD_MACHINE */ | |
33 | |
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 */ | |
38 | |
39 #define m68000 | |
40 #define MOTOROLA_DELTA | |
41 | |
42 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
43 the bit field into an int. In other words, if bit fields | |
44 are always unsigned. | |
45 | |
46 If you use NO_UNION_TYPE, this flag does not matter. */ | |
47 | |
48 #define EXPLICIT_SIGN_EXTEND | |
49 | |
50 /* Data type of load average, as read out of kmem. */ | |
51 | |
52 /* #define LOAD_AVE_TYPE long */ | |
53 | |
54 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
55 | |
56 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | |
57 | |
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. */ | |
61 | |
62 /* #define CANNOT_DUMP */ | |
63 | |
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. | |
67 | |
68 Otherwise Emacs assumes that data space precedes text space, | |
69 numerically. */ | |
70 | |
71 /* #define VIRT_ADDR_VARIES */ | |
72 | |
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. */ | |
79 | |
80 /* #define C_ALLOCA */ | |
81 /* #define HAVE_ALLOCA */ | |
82 | |
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. */ | |
87 | |
88 #define NO_REMAP | |
89 | |
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. | |
95 * | |
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 | |
99 * file. | |
100 */ | |
101 | |
102 /* #define NO_SOCK_SIGIO */ | |
103 | |
104 | |
105 /* Machine specific stuff */ | |
106 #define HAVE_PTYS | |
107 #define SYSV_PTYS | |
108 #define SIGNALS_VIA_CHARACTERS | |
109 #define BROKEN_CLOSEDIR /* builtin closedir is interruptible */ | |
110 #define memmove(t,f,s) safe_bcopy(f,t,s) /* for overlapping copies */ | |
111 #undef KERNEL_FILE | |
112 #define KERNEL_FILE "/sysv68" | |
113 #undef LDAV_SYMBOL | |
114 | |
115 /* The standard C library is -lc881, not -lc. | |
116 DO NOT USE -lPW. That version of alloca is broken in versions R3V5, | |
117 R3V6, R3V7. -riku@field.fi -pot@cnuce.cnr.it. */ | |
118 | |
119 #define LIB_STANDARD -lc881 | |
120 #define LIB_MATH -lm881 | |
121 #define LIBS_TERMCAP -lcurses | |
122 #define LIBS_SYSTEM -lbsd | |
123 | |
124 #ifdef HAVE_X_WINDOWS | |
125 # define HAVE_RANDOM | |
126 # define HAVE_XSCREENNUMBEROFSCREEN | |
127 # undef LIB_X11_LIB /* no shared libraries */ | |
128 # define LIB_X11_LIB -lX11 | |
129 # undef USG_SHARED_LIBRARIES /* once again, no shared libs */ | |
130 # undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */ | |
131 # define LIBX11_SYSTEM -lnls -lnsl_s | |
132 #endif /* HAVE_X_WINDOWS */ | |
133 | |
134 #ifdef __GNUC__ | |
135 /* Use builtin alloca. Also be sure that no other ones are tried out. */ | |
136 # define alloca __builtin_alloca | |
137 # define HAVE_ALLOCA | |
138 | |
139 /* We are assuming here that the `true' GNU gcc has not been | |
140 installed, and we are using the gnucc provided by Motorola. No | |
141 support exists for compiling with GNU gcc, as I do not have it on | |
142 my machine to try it out. -pot@cnuce.cnr.it | |
143 If __STDC__ is defined gnucc has been called without the -traditional | |
144 option, that is, we are inside configure. If THIS_IS_CONFIGURE is | |
145 not defined, then configure is trying to figure out what the right | |
146 option for real compilation are. | |
147 Let us set -traditional, because gmalloc.c includes <stddef.h>, and | |
148 we don't have that (as of SYSV68 R3V7). */ | |
149 # define C_SWITCH_MACHINE -mfp0ret -traditional -Dconst= -fdelayed-branch -fstrength-reduce -fno-inline -fcaller-saves | |
150 # define LIB_GCC /lib/gnulib881 | |
151 | |
152 #else | |
153 /* Not __GNUC__, use the alloca in alloca.s. */ | |
154 | |
155 /* Try to guess if we are using the Green Hills Compiler */ | |
156 # if defined mc68000 && defined MC68000 | |
157 /* Required only for use with Green Hills compiler: | |
158 -ga Because alloca relies on stack frames. This option forces | |
159 the Green Hills compiler to create stack frames even for | |
160 functions with few local variables. */ | |
161 # define C_SWITCH_MACHINE -ga -O | |
162 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */ | |
163 # define BCOPY_UPWARD_SAFE 0 | |
164 # define BCOPY_DOWNWARD_SAFE 1 /* bcopy does: mov.b (%a1)+,(%a0)+ */ | |
165 # else | |
166 /* We are using the standard AT&T Portable C Compiler */ | |
167 # define SWITCH_ENUM_BUG | |
168 # endif | |
169 | |
170 #endif /* not __GNUC__ */ |