|
|
1.1 root 1: /* m- file for Motorola System V/88 machines
2: Copyright (C) 1985 Free Software Foundation, Inc.
3:
4: This file is part of GNU Emacs.
5:
6: GNU Emacs is distributed in the hope that it will be useful,
7: but WITHOUT ANY WARRANTY. No author or distributor
8: accepts responsibility to anyone for the consequences of using it
9: or for whether it serves any particular purpose or works at all,
10: unless he says so in writing. Refer to the GNU Emacs General Public
11: License for full details.
12:
13: Everyone is granted permission to copy, modify and redistribute
14: GNU Emacs, but only under the conditions described in the
15: GNU Emacs General Public License. A copy of this license is
16: supposed to have been given to you along with GNU Emacs so you
17: can know your rights and responsibilities. It should be in a
18: file named COPYING. Among other things, the copyright notice
19: and this notice must be preserved on all copies. */
20:
21: /* The following three symbols give information on
22: the size of various data types. */
23:
24:
25: #define SHORTBITS 16 /* Number of bits in a short */
26:
27: #define INTBITS 32 /* Number of bits in an int */
28:
29: #define LONGBITS 32 /* Number of bits in a long */
30:
31: /* Define BIG_ENDIAN iff lowest-numbered byte in a word
32: is the most significant byte. */
33:
34: #define BIG_ENDIAN
35:
36: /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
37: * group of arguments and treat it as an array of the arguments. */
38:
39: #define NO_ARG_ARRAY
40:
41: /* Define WORD_MACHINE if addresses and such have
42: * to be corrected before they can be used as byte counts. */
43:
44: /* #define WORD_MACHINE */
45:
46: /* Now define a symbol for the cpu type, if your compiler
47: does not define it automatically:
48: Ones defined so far include vax, m68000, ns16000, pyramid,
49: orion, tahoe, APOLLO and many others */
50:
51: #ifndef m88000 /* Some 88k C compilers already define this */
52: #define m88000
53: #endif
54:
55: /* Define how to take a char and sign-extend into an int.
56: On machines where char is signed, this is a no-op. */
57:
58: #define SIGN_EXTEND_CHAR(c) (c)
59:
60: /* Now define a symbol for the cpu type, if your compiler
61: does not define it automatically. */
62:
63:
64: /* Use type int rather than a union, to represent Lisp_Object */
65: /* This is desirable for most machines. */
66:
67: #define NO_UNION_TYPE
68:
69: /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
70: the 24-bit bit field into an int. In other words, if bit fields
71: are always unsigned.
72:
73: If you use NO_UNION_TYPE, this flag does not matter. */
74:
75: /* #define EXPLICIT_SIGN_EXTEND */
76:
77: /* Data type of load average, as read out of kmem. */
78: /* No load average on Motorola machines. */
79: /* #define LOAD_AVE_TYPE double */
80:
81: /* Convert that into an integer that is 100 for a load average of 1.0 */
82: /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */
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 text space precedes data space,
95: numerically. */
96:
97: /* #define VIRT_ADDR_VARIES */
98:
99: /* Define NO_REMAP if memory segmentation makes it not work well
100: to change the boundary between the text section and data section
101: when Emacs is dumped. If you define this, the preloaded Lisp
102: code will not be sharable; but that's better than failing completely. */
103:
104: #define NO_REMAP
105:
106: /* Define C_ALLOCA if this machine does not support a true alloca
107: and the one written in C should be used instead.
108: Define HAVE_ALLOCA to say that the system provides a properly
109: working alloca function and it should be used.
110: Define neither one if an assembler-language alloca
111: in the file alloca.s should be used. */
112:
113: /* BEM: Distributed asm alloca doesn't work. Don't know about libPW.a.
114: C ALLOCA is safe and fast enough for now. */
115:
116: #define C_ALLOCA
117: #define STACK_DIRECTION -1 /* grows towards lower addresses. */
118:
119: /* Motorola SysV has PTYs. Not all usg3-5 systems do, so this is defined
120: here. */
121:
122: #define HAVE_PTYS
123: #define SYSV_PTYS
124:
125: /* Ditto for IPC. */
126:
127:
128: /*
129: * we now have job control in R32V1
130: */
131: #undef NOMULTIPLEJOBS
132:
133: /*
134: * we have bcopy, bzero, bcmp in libc.a (what isn't in libc.a?)
135: */
136: #define BSTRING
137:
138: /*
139: * sockets are in R32V1
140: */
141: #define HAVE_SOCKETS
142:
143: /*
144: * we have the wrong name for networking libs
145: */
146: #undef LIBX11_SYSTEM
147: #define LIBX11_SYSTEM -lnsl -lbsd
148:
149: /*
150: * we have Berkeley style <sys/time.h>
151: */
152: #define HAVE_TIMEVAL
153: #define HAVE_GETTIMEOFDAY
154:
155: /* SysV88 has select(). */
156: #define HAVE_SELECT
157: #define BROKEN_FIONREAD
158:
159: /*
160: * don't use utimes, we ain't got one - use utime() instead
161: */
162: #define USE_UTIME
163:
164: #define LIBS_SYSTEM -lbsd -lg
165:
166: #define NEED_TERMIOS
167:
168: #define NO_SIOCTL_H
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.