|
|
1.1 root 1: /* Definitions file for GNU Emacs running on Stride Micro System-V.2.2
2: Copyright (C) 1985, 1986 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:
22: /* The following three symbols give information on
23: the size of various data types. */
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: /* 68000 has lowest-numbered byte as most significant */
32:
33: #define BIG_ENDIAN
34:
35: /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
36: * group of arguments and treat it as an array of the arguments. */
37:
38: #undef NO_ARG_ARRAY
39:
40: /* Define WORD_MACHINE if addresses and such have
41: * to be corrected before they can be used as byte counts. */
42:
43: #undef WORD_MACHINE
44:
45: /* Define how to take a char and sign-extend into an int.
46: On machines where char is signed, this is a no-op. */
47:
48: #define SIGN_EXTEND_CHAR(c) (c)
49:
50: /* Now define a symbol for the cpu type, if your compiler
51: does not define it automatically:
52: vax, m68000, ns16000, pyramid, orion, tahoe, APOLLO and STRIDE
53: are the ones defined so far. */
54:
55: #define m68000 /* because the SGS compiler defines "m68k" */
56: #ifndef STRIDE
57: #define STRIDE
58: #endif
59:
60: /* Use type int rather than a union, to represent Lisp_Object */
61: /* This is desirable for most machines. */
62:
63: #define NO_UNION_TYPE
64:
65: /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
66: the 24-bit bit field into an int. In other words, if bit fields
67: are always unsigned.
68:
69: If you use NO_UNION_TYPE, this flag does not matter. */
70:
71: #define EXPLICIT_SIGN_EXTEND
72:
73: /* Data type of load average, as read out of kmem. */
74:
75: #define LOAD_AVE_TYPE double
76:
77: /* Convert that into an integer that is 100 for a load average of 1.0 */
78:
79: #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0))
80:
81: /* Define CANNOT_DUMP on machines where unexec does not work.
82: Then the function dump-emacs will not be defined
83: and temacs will do (load "loadup") automatically unless told otherwise. */
84:
85: #undef CANNOT_DUMP
86:
87: /* Define VIRT_ADDR_VARIES if the virtual addresses of
88: pure and impure space as loaded can vary, and even their
89: relative order cannot be relied on.
90:
91: Otherwise Emacs assumes that text space precedes data space,
92: numerically. */
93:
94: #undef VIRT_ADDR_VARIES
95:
96: /* The STRIDE system is more powerful than standard USG5. */
97:
98: #define HAVE_PTYS
99: #define HAVE_TIMEVAL
100: #define HAVE_SELECT
101: #define HAVE_GETTIMEOFDAY
102: #define BSTRING
103: #define SKTPAIR
104: #define HAVE_SOCKETS
105:
106: #define MAIL_USE_FLOCK
107: #undef TERMINFO
108: #define EXEC_MAGIC 0413
109:
110: /* USG wins again: Foo! I can't get SIGIO to work properly on the Stride, because I'm
111: running a System V variant, and don't have a reliable way to block SIGIO
112: signals without losing them. So, I've gone back to non-SIGIO mode, so
113: please append this line to the file "m-stride.h":
114: */
115: #undef SIGIO
116:
117: /* Specify alignment requirement for start of text and data sections
118: in the executable file. */
119:
120: #define SECTION_ALIGNMENT (getpagesize() - 1)
121:
122: /*
123: * UniStride has this in /lib/libc.a.
124: */
125: #undef NONSYSTEM_DIR_LIBRARY
126:
127: /* UniStride defines getwd. */
128:
129: #define HAVE_GETWD
130:
131:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.