Commit | Line | Data |
---|---|---|
20c428fd JB |
1 | /* machine description file for the Motorola delta running System V.3. |
2 | tested on sys1147 (mvme147 - based system). | |
3 | Copyright (C) 1986 Free Software Foundation, Inc. | |
4 | ||
5 | This file is part of GNU Emacs. | |
6 | ||
7 | GNU Emacs is distributed in the hope that it will be useful, | |
8 | but WITHOUT ANY WARRANTY. No author or distributor | |
9 | accepts responsibility to anyone for the consequences of using it | |
10 | or for whether it serves any particular purpose or works at all, | |
11 | unless he says so in writing. Refer to the GNU Emacs General Public | |
12 | License for full details. | |
13 | ||
14 | Everyone is granted permission to copy, modify and redistribute | |
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 | ||
22 | ||
23 | /* The following line tells the configuration script what sort of | |
24 | operating system this machine is likely to run. | |
25 | USUAL-OPSYS="usg5-3" */ | |
26 | ||
27 | /* The following three symbols give information on | |
28 | the size of various data types. */ | |
29 | ||
30 | #define SHORTBITS 16 /* Number of bits in a short */ | |
31 | ||
32 | #define INTBITS 32 /* Number of bits in an int */ | |
33 | ||
34 | #define LONGBITS 32 /* Number of bits in a long */ | |
35 | ||
36 | /* Define BIG_ENDIAN iff lowest-numbered byte in a word | |
37 | is the most significant byte. */ | |
38 | ||
39 | #define BIG_ENDIAN | |
40 | ||
41 | /* Define NO_ARG_ARRAY if you cannot take the address of the first of a | |
42 | * group of arguments and treat it as an array of the arguments. */ | |
43 | ||
44 | /* #define NO_ARG_ARRAY */ | |
45 | ||
46 | /* Define WORD_MACHINE if addresses and such have | |
47 | * to be corrected before they can be used as byte counts. */ | |
48 | ||
49 | /* #define WORD_MACHINE */ | |
50 | ||
20c428fd JB |
51 | /* Now define a symbol for the cpu type, if your compiler |
52 | does not define it automatically: | |
53 | vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO | |
54 | are the ones defined so far. */ | |
55 | #define m68000 | |
56 | #define NO_REMAP | |
57 | ||
58 | #define HAVE_SYSVIPC | |
59 | ||
60 | #define HAVE_PTYS | |
61 | #define SYSV_PTYS | |
62 | ||
63 | /* Use type int rather than a union, to represent Lisp_Object */ | |
64 | /* This is desirable for most machines. */ | |
65 | ||
66 | #define NO_UNION_TYPE | |
67 | #define SWITCH_ENUM_BUG | |
68 | /* 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 | |
70 | are always unsigned. | |
71 | ||
72 | If you use NO_UNION_TYPE, this flag does not matter. */ | |
73 | ||
74 | #define EXPLICIT_SIGN_EXTEND | |
75 | ||
76 | /* Data type of load average, as read out of kmem. */ | |
77 | ||
78 | /* #define LOAD_AVE_TYPE long */ | |
79 | ||
80 | /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
81 | ||
82 | /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | |
83 | ||
84 | /* Define CANNOT_DUMP on machines where unexec does not work. | |
85 | Then the function dump-emacs will not be defined | |
86 | and temacs will do (load "loadup") automatically unless told otherwise. */ | |
87 | ||
88 | /* #define CANNOT_DUMP */ | |
89 | ||
90 | /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
91 | pure and impure space as loaded can vary, and even their | |
92 | relative order cannot be relied on. | |
93 | ||
94 | Otherwise Emacs assumes that data space precedes text space, | |
95 | numerically. */ | |
96 | ||
97 | /* #define VIRT_ADDR_VARIES */ | |
98 | ||
99 | /* Define C_ALLOCA if this machine does not support a true alloca | |
100 | and the one written in C should be used instead. | |
101 | Define HAVE_ALLOCA to say that the system provides a properly | |
102 | working alloca function and it should be used. | |
103 | Define neither one if an assembler-language alloca | |
104 | in the file alloca.s should be used. */ | |
105 | ||
106 | /*#define C_ALLOCA */ | |
107 | /*#define HAVE_ALLOCA */ | |
108 | ||
109 | #ifdef __GNUC__ | |
110 | /* easy. use builtin one. also be sure that no other ones are tried out. */ | |
111 | # define alloca __builtin_alloca | |
112 | # define HAVE_ALLOCA | |
113 | # undef C_ALLOCA | |
114 | #else | |
115 | # ifdef C_ALLOCA | |
116 | # define STACK_DIRECTION (-1) /* C_ALLOCA needs to know about stack. */ | |
117 | # else /* C_ALLOCA */ | |
118 | # ifndef HAVE_ALLOCA | |
119 | # define BAT_ALLOCA /* if not in library, alloca.s needs this. */ | |
120 | # endif /* HAVE_ALLOCA */ | |
121 | # endif /* C_ALLOCA */ | |
122 | #endif /* __GNUC__ */ | |
123 | ||
124 | /* The standard C library is -lcieee, not -lc. | |
125 | Also use the PW library, which contains alloca. | |
126 | DO NOT USE -lPW. That version of alloca is broken, at last until version | |
127 | SVR3V5.1 . -riku@field.fi */ | |
128 | ||
129 | #define LIB_STANDARD -lc | |
130 | ||
131 | #define LIBS_TERMCAP -lcurses | |
132 | ||
133 | /* define this if you want to use X11 */ | |
134 | #undef HAVE_X_WINDOWS | |
135 | ||
136 | #ifdef HAVE_X_WINDOWS | |
137 | /* debug switches enabled because of some difficulties w/X11 */ | |
138 | # define C_DEBUG_SWITCH -g | |
139 | # define OBJECTS_MACHINE -lg | |
140 | # define C_OPTIMIZE_SWITCH | |
141 | # define CANNOT_DUMP | |
142 | /*# define XDEBUG*/ | |
143 | # define X11 | |
144 | /* X library implements these. */ | |
145 | # define BSTRING | |
146 | /* X library is in 'nonstandard' location. */ | |
147 | # define LD_SWITCH_MACHINE -L/usr/lib/X11/ | |
148 | #else | |
149 | /* No sufficient justification for this. */ | |
150 | /* # define C_DEBUG_SWITCH */ | |
151 | # define C_OPTIMIZE_SWITCH -O | |
152 | #endif /* HAVE_X_WINDOWS */ | |
153 | ||
154 | /* enable batdevice-dependent code to compile. */ | |
155 | #define BAT68K | |
156 | ||
157 | #define HAVE_SOCKETS | |
158 | ||
159 | /* crt0.c should use the vax-bsd style of entry, with no dummy args. */ | |
160 | ||
161 | ||
162 | /* emacs's magic number isn't temacs's; | |
163 | temacs is writeable text (the default!). */ |