Mercurial > emacs
comparison src/m/tekxd88.h @ 3576:55a7424583bb
Rewrite by author; mostly rearrangements.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 08 Jun 1993 16:25:02 +0000 |
parents | f97becb02ca6 |
children | 6c88b630141b |
comparison
equal
deleted
inserted
replaced
3575:1b93c0bc8bf4 | 3576:55a7424583bb |
---|---|
1 /* m- file for Tektronix XD88 running UTekV 3.2e to be used with s-usg5-3.h, | 1 /* Configuration file for the Tektronix XD88 running UTekV 3.2e, |
2 contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. | 2 contributed by Kaveh Ghazi (ghazi@caip.rutgers.edu) 1/15/93. |
3 You probably need to use gnu make (version 3.63 or higher.) | 3 You probably need to use gnu make (version 3.63 or higher.) |
4 Copyright (C) 1993 Free Software Foundation, Inc. | 4 Copyright (C) 1993 Free Software Foundation, Inc. |
5 | 5 |
6 This file is part of GNU Emacs. | 6 This file is part of GNU Emacs. |
18 supposed to have been given to you along with GNU Emacs so you | 18 supposed to have been given to you along with GNU Emacs so you |
19 can know your rights and responsibilities. It should be in a | 19 can know your rights and responsibilities. It should be in a |
20 file named COPYING. Among other things, the copyright notice | 20 file named COPYING. Among other things, the copyright notice |
21 and this notice must be preserved on all copies. */ | 21 and this notice must be preserved on all copies. */ |
22 | 22 |
23 /* The following three symbols give information on | 23 /* The following symbols give information on the size of various data types. */ |
24 the size of various data types. */ | |
25 #define SHORTBITS 16 /* Number of bits in a short */ | 24 #define SHORTBITS 16 /* Number of bits in a short */ |
26 #define INTBITS 32 /* Number of bits in an int */ | 25 #define INTBITS 32 /* Number of bits in an int */ |
27 #define LONGBITS 32 /* Number of bits in a long */ | 26 #define LONGBITS 32 /* Number of bits in a long */ |
28 | 27 |
29 /* Define BIG_ENDIAN iff lowest-numbered byte in a word | 28 /* Define BIG_ENDIAN iff lowest-numbered byte in a word |
48 | 47 |
49 /* Define how to take a char and sign-extend into an int. | 48 /* Define how to take a char and sign-extend into an int. |
50 On machines where char is signed, this is a no-op. */ | 49 On machines where char is signed, this is a no-op. */ |
51 #define SIGN_EXTEND_CHAR(c) (c) | 50 #define SIGN_EXTEND_CHAR(c) (c) |
52 | 51 |
53 /* Now define a symbol for the cpu type, if your compiler | |
54 does not define it automatically. */ | |
55 | |
56 | |
57 /* Use type int rather than a union, to represent Lisp_Object */ | 52 /* Use type int rather than a union, to represent Lisp_Object */ |
58 /* This is desirable for most machines. */ | 53 /* This is desirable for most machines. */ |
59 #define NO_UNION_TYPE | 54 #define NO_UNION_TYPE |
60 | 55 |
61 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | 56 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
64 | 59 |
65 If you use NO_UNION_TYPE, this flag does not matter. */ | 60 If you use NO_UNION_TYPE, this flag does not matter. */ |
66 /* #define EXPLICIT_SIGN_EXTEND */ | 61 /* #define EXPLICIT_SIGN_EXTEND */ |
67 | 62 |
68 /* Data type of load average, as read out of kmem. */ | 63 /* Data type of load average, as read out of kmem. */ |
69 /* No load average on XD88 machines. */ | 64 /* #define LOAD_AVE_TYPE double */ /* No load average on XD88. */ |
70 /* #define LOAD_AVE_TYPE double */ | |
71 | |
72 /* Convert that into an integer that is 100 for a load average of 1.0 */ | 65 /* Convert that into an integer that is 100 for a load average of 1.0 */ |
73 /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */ | 66 /* #define LOAD_AVE_CVT(x) ((int) ((x) * 100.0)) */ |
74 | 67 |
75 /* Define CANNOT_DUMP on machines where unexec does not work. | 68 /* Define CANNOT_DUMP on machines where unexec does not work. |
76 Then the function dump-emacs will not be defined | 69 Then the function dump-emacs will not be defined |
77 and temacs will do (load "loadup") automatically unless told otherwise. */ | 70 and temacs will do (load "loadup") automatically unless told otherwise. */ |
78 #define CANNOT_DUMP /* oh well, maybe someday ... */ | 71 /*#define CANNOT_DUMP*/ |
79 | 72 |
80 /* Define VIRT_ADDR_VARIES if the virtual addresses of | 73 /* Define VIRT_ADDR_VARIES if the virtual addresses of |
81 pure and impure space as loaded can vary, and even their | 74 pure and impure space as loaded can vary, and even their |
82 relative order cannot be relied on. | 75 relative order cannot be relied on. |
83 | 76 |
107 # define C_ALLOCA /* Use the alloca() supplied in alloca.c. */ | 100 # define C_ALLOCA /* Use the alloca() supplied in alloca.c. */ |
108 # define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */ | 101 # define STACK_DIRECTION -1 /* The stack grows towards lower addresses. */ |
109 # define C_OPTIMIZE_SWITCH -O | 102 # define C_OPTIMIZE_SWITCH -O |
110 #endif /* __GNUC__ */ | 103 #endif /* __GNUC__ */ |
111 | 104 |
112 /*#define C_DEBUG_SWITCH C_OPTIMIZE_SWITCH*/ /* Uncomment this to optimize */ | 105 #undef NOMULTIPLEJOBS /* we have job control */ |
106 #define HAVE_SOCKETS /* sockets are available */ | |
107 #define HAVE_TIMEVAL /* we have Berkeley style <sys/time.h> */ | |
108 #define HAVE_SELECT /* XD88 has select(). */ | |
109 #define BROKEN_FIONREAD /* is this needed ? */ | |
110 #define BSTRING /* its in libc but not declared in any header file. */ | |
111 #define HAVE_SETSID | |
112 #undef sigsetmask /* XD88 has sigsetmask() */ | |
113 | 113 |
114 /* XD88 SysV has PTYs. Not all usg3-5 systems do, so this is defined here. */ | 114 #ifdef HAVE_X_WINDOWS |
115 #define HAVE_PTYS | 115 # define HAVE_RANDOM /* Random is in libX11.a */ |
116 # undef LIB_X11_LIB /* Don't use shared libraries defined in usg5-3.h */ | |
117 # undef LIBX11_SYSTEM | |
118 #endif /* HAVE_X_WINDOWS */ | |
119 | |
120 #define HAVE_TERMIOS /* We have termios. */ | |
121 #undef HAVE_TERMIO /* Make sure termios ifdef code is used, not termio. */ | |
122 #define NO_TERMIO /* Don't include both termios.h and termio.h */ | |
123 #define HAVE_PTYS /* XD88 SysV has PTYs. */ | |
116 #define SYSV_PTYS /* Requires <termios.h> */ | 124 #define SYSV_PTYS /* Requires <termios.h> */ |
117 | 125 |
118 /* we have job control */ | 126 #ifdef ghs /* Stands for "Green Hills Software", defined only in /bin/cc */ |
119 #undef NOMULTIPLEJOBS | 127 /* -X18 means do not allocate programmer-defined local variables to a |
120 | 128 register unless they are declared register. (Copied from perl-4.036 |
121 /* | 129 Green Hills C hints file. Might be needed for setjmp, I don't know.) */ |
122 * sockets are available | 130 # define C_SWITCH_MACHINE -X18 |
123 */ | 131 /* We need /lib/default.ld so that /bin/ld can read its link directives. */ |
124 #define HAVE_SOCKETS | 132 # define LD_SWITCH_SYSTEM /lib/default.ld |
125 | |
126 /* | |
127 * we have Berkeley style <sys/time.h> | |
128 */ | |
129 #define HAVE_TIMEVAL | |
130 | |
131 /* XD88 has select(). */ | |
132 #define HAVE_SELECT | |
133 #define BROKEN_FIONREAD /* is this needed ? */ | |
134 | |
135 /* | |
136 * don't use utimes, we ain't got one - use utime() instead | |
137 */ | |
138 #define USE_UTIME | |
139 | |
140 #define NO_SIOCTL_H | |
141 | |
142 /* We need HAVE_TCATTR to prevent Ctrl-Z from suspending Emacs before | |
143 suspend-emacs has been called. */ | |
144 /*#define HAVE_TCATTR*/ | |
145 /* TCATTR gives bogus baud rates. Use the following for OSPEED instead. */ | |
146 /*#define OSPEED(str) (cfgetospeed(&(str)))*/ | |
147 #define HAVE_TERMIOS | |
148 #undef HAVE_TERMIO | |
149 | |
150 #define BSTRING /* its in libc but not declared in any <*.h> file. */ | |
151 #define HAVE_TZSET | |
152 #define HAVE_SETSID | |
153 | |
154 #ifdef ghs /* Stands for "Green Hills Software", defined in /bin/cc */ | |
155 /* Only required for use with the Green Hills compiler: | |
156 -X18 Do not allocate programmer-defined local variables to a | |
157 register unless they are declared register. (From building | |
158 perl-4.036 Green Hills hints. Might be needed for setjmp.) | |
159 */ | |
160 #define C_SWITCH_MACHINE -X18 | |
161 /* We need /lib/default.ld so the bundled ld can read its link directives. */ | |
162 #define LD_SWITCH_SYSTEM /lib/default.ld | |
163 #endif /* ghs */ | 133 #endif /* ghs */ |
164 | 134 |
165 /* XD88 does not have the random() and srandom() calls in the base system, | 135 /* We need this to get dumping to work */ |
166 but they exist in libX11.a. So, if you are building with X11 then you | 136 #define KEEP_OLD_TEXT_SCNPTR |
167 will need to define HAVE_RANDOM. */ | |
168 #ifdef HAVE_X_WINDOWS | |
169 #define HAVE_RANDOM | |
170 #undef LIB_X11_LIB /* don't use the shared library default from usg5-3.h */ | |
171 #undef LIBX11_SYSTEM | |
172 #endif /* HAVE_X_WINDOWS */ | |
173 | |
174 /*#define SYSTEM_MALLOC*/ | |
175 | |
176 #ifndef UTEKV | |
177 #define UTEKV /* system specific symbol */ | |
178 #endif /* !UTEKV */ | |
179 | |
180 /* stuff to hopefully someday get dumping working ... */ | |
181 /*#define SECTION_ALIGNMENT 0x1ff*/ | |
182 /*#define SEGMENT_MASK 0xff*/ | |
183 /*#define A_TEXT_OFFSET(HDR) sizeof(HDR)*/ |