Mercurial > emacs
annotate src/m/delta.h @ 6104:44fc65a7fc46
(LD_SWITCH_SYSTEM): New definitions, with #undef.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 26 Feb 1994 20:49:21 +0000 |
parents | ee396244a9a6 |
children | 62cdd56aa99f |
rev | line source |
---|---|
5202
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
1 /* Machine description file for the Motorola Delta. |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
2 Tested on mvme147 board using R3V7 without X. Tested with gcc. |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
3 Tested on mvme167 board using R3V7 without X. Tested with cc, gnucc, gcc. |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
4 Copyright (C) 1986, 1993 Free Software Foundation, Inc. |
456 | 5 |
6 This file is part of GNU Emacs. | |
7 | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
8 GNU Emacs is free software; you can redistribute it and/or modify |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
9 it under the terms of the GNU General Public License as published by |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
10 the Free Software Foundation; either version 2, or (at your option) |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
11 any later version. |
456 | 12 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
13 GNU Emacs is distributed in the hope that it will be useful, |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
16 GNU General Public License for more details. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
17 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
18 You should have received a copy of the GNU General Public License |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
19 along with GNU Emacs; see the file COPYING. If not, write to |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
20 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ |
456 | 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 | |
51 /* Now define a symbol for the cpu type, if your compiler | |
52 does not define it automatically: | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
53 Ones defined so far include vax, m68000, ns16000, pyramid, |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
54 orion, tahoe, APOLLO and many others */ |
456 | 55 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
56 #define m68000 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
57 #define MOTOROLA_DELTA |
456 | 58 |
59 /* Use type int rather than a union, to represent Lisp_Object */ | |
60 /* This is desirable for most machines. */ | |
61 | |
62 #define NO_UNION_TYPE | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
63 |
456 | 64 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend |
65 the 24-bit bit field into an int. In other words, if bit fields | |
66 are always unsigned. | |
67 | |
68 If you use NO_UNION_TYPE, this flag does not matter. */ | |
69 | |
70 #define EXPLICIT_SIGN_EXTEND | |
71 | |
72 /* Data type of load average, as read out of kmem. */ | |
73 | |
74 /* #define LOAD_AVE_TYPE long */ | |
75 | |
76 /* Convert that into an integer that is 100 for a load average of 1.0 */ | |
77 | |
78 /* #define LOAD_AVE_CVT(x) (int) (((double) (x)) * 100.0 / FSCALE) */ | |
79 | |
80 /* Define CANNOT_DUMP on machines where unexec does not work. | |
81 Then the function dump-emacs will not be defined | |
82 and temacs will do (load "loadup") automatically unless told otherwise. */ | |
83 | |
84 /* #define CANNOT_DUMP */ | |
85 | |
86 /* Define VIRT_ADDR_VARIES if the virtual addresses of | |
87 pure and impure space as loaded can vary, and even their | |
88 relative order cannot be relied on. | |
89 | |
90 Otherwise Emacs assumes that data space precedes text space, | |
91 numerically. */ | |
92 | |
93 /* #define VIRT_ADDR_VARIES */ | |
94 | |
95 /* Define C_ALLOCA if this machine does not support a true alloca | |
96 and the one written in C should be used instead. | |
97 Define HAVE_ALLOCA to say that the system provides a properly | |
98 working alloca function and it should be used. | |
99 Define neither one if an assembler-language alloca | |
100 in the file alloca.s should be used. */ | |
101 | |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
102 /* #define C_ALLOCA */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
103 /* #define HAVE_ALLOCA */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
104 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
105 /* Define NO_REMAP if memory segmentation makes it not work well |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
106 to change the boundary between the text section and data section |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
107 when Emacs is dumped. If you define this, the preloaded Lisp |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
108 code will not be sharable; but that's better than failing completely. */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
109 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
110 #define NO_REMAP |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
111 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
112 /* Some really obscure 4.2-based systems (like Sequent DYNIX) |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
113 * do not support asynchronous I/O (using SIGIO) on sockets, |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
114 * even though it works fine on tty's. If you have one of |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
115 * these systems, define the following, and then use it in |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
116 * config.h (or elsewhere) to decide when (not) to use SIGIO. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
117 * |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
118 * You'd think this would go in an operating-system description file, |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
119 * but since it only occurs on some, but not all, BSD systems, the |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
120 * reasonable place to select for it is in the machine description |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
121 * file. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
122 */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
123 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
124 /* #define NO_SOCK_SIGIO */ |
456 | 125 |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
126 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
127 /* Define these if you want to edit files up to 32Mbytes. |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
128 Leaving them undefined (files up to 8 Mbytes) should be more efficient. */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
129 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
130 /* #define VALBITS 26 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
131 #define GCTYPEBITS 5 */ |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
132 |
5202
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
133 /* Undefine this if you don't want the machine slow down when a buffer |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
134 is modified. */ |
3431
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
135 |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
136 #define CLASH_DETECTION |
bb9b906aa772
(MOTOROLA_DELTA): Defined.
Richard M. Stallman <rms@gnu.org>
parents:
750
diff
changeset
|
137 |
5202
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
138 /* Machine specific stuff */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
139 #define HAVE_PTYS |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
140 #define SYSV_PTYS |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
141 #define HAVE_SELECT |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
142 #define HAVE_SOCKETS /***** only if NSE has been installed *****/ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
143 #define HAVE_TIMEVAL |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
144 #define SIGNALS_VIA_CHARACTERS |
5222
20c59adcb164
* m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
Francesco Potortì <pot@gnu.org>
parents:
5202
diff
changeset
|
145 #define BROKEN_CLOSEDIR /* builtin closedir is interruptible */ |
5669
ee396244a9a6
* m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents:
5665
diff
changeset
|
146 #undef HAVE_BCOPY /* b* functions are just stubs to mem* ones */ |
ee396244a9a6
* m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents:
5665
diff
changeset
|
147 #define bcopy(from,to,bytes) memcpy(to,from,bytes) |
ee396244a9a6
* m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents:
5665
diff
changeset
|
148 #define bzero(to,bytes) memset(to,0,bytes) |
ee396244a9a6
* m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents:
5665
diff
changeset
|
149 #define bcmp memcmp |
5222
20c59adcb164
* m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
Francesco Potortì <pot@gnu.org>
parents:
5202
diff
changeset
|
150 #define memmove safe_bcopy /* for overlapping copies */ |
5202
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
151 #undef KERNEL_FILE |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
152 #define KERNEL_FILE "/sysv68" |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
153 #undef LDAV_SYMBOL |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
154 #ifdef SIGIO |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
155 /* R3V7 has SIGIO, but interrupt input does not work yet. |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
156 Let's go on with cbreak code. */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
157 /* # define INTERRUPT_INPUT */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
158 #endif |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
159 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
160 /* The standard C library is -lc881, not -lc. |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
161 -lbsd brings sigblock and sigsetmask. |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
162 DO NOT USE -lPW. That version of alloca is broken in versions R3V5, |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
163 R3V6, R3V7. -riku@field.fi -pot@cnuce.cnr.it. */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
164 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
165 #define LIB_STANDARD -lc881 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
166 #define LIB_MATH -lm881 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
167 #define LIBS_TERMCAP -lcurses |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
168 #define LIBS_SYSTEM -lbsd |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
169 #undef sigsetmask |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
170 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
171 #ifdef HAVE_X_WINDOWS |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
172 /* I have not tested X, but I think these are obsolete, so let's |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
173 commment them -pot@cnuce.cnr.it */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
174 /* debug switches enabled because of some difficulties w/X11 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
175 # define C_DEBUG_SWITCH -g |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
176 # define OBJECTS_MACHINE -lg |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
177 # define C_OPTIMIZE_SWITCH |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
178 # define CANNOT_DUMP |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
179 # define XDEBUG */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
180 /* X library is in 'nonstandard' location. */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
181 /* This should be taken care of by configure -pot@cnuce.cnr.it |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
182 # define LD_SWITCH_MACHINE -L/usr/lib/X11/ */ |
5665
83b4ead7031f
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents:
5222
diff
changeset
|
183 # define HAVE_RANDOM |
83b4ead7031f
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents:
5222
diff
changeset
|
184 # define BROKEN_FIONREAD /* pearce@ll.mit.edu says this is needed. */ |
83b4ead7031f
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents:
5222
diff
changeset
|
185 # define HAVE_XSCREENNUMBEROFSCREEN |
83b4ead7031f
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents:
5222
diff
changeset
|
186 # undef LIB_X11_LIB /* no shared libraries */ |
83b4ead7031f
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents:
5222
diff
changeset
|
187 # define LIB_X11_LIB -lX11 |
83b4ead7031f
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents:
5222
diff
changeset
|
188 # undef USG_SHARED_LIBRARIES /* once again, no shared libs */ |
83b4ead7031f
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents:
5222
diff
changeset
|
189 # undef LIBX11_SYSTEM /* no -lpt as usg5-3.h expects */ |
83b4ead7031f
* m/delta.h (HAVE_RANDOM, BROKEN_FIONREAD): defined if X is used.
Francesco Potortì <pot@gnu.org>
parents:
5222
diff
changeset
|
190 # define LIBX11_SYSTEM -lnls -lnsl_s |
5202
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
191 #endif /* HAVE_X_WINDOWS */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
192 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
193 #ifdef __GNUC__ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
194 /* Use builtin alloca. Also be sure that no other ones are tried out. */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
195 # define alloca __builtin_alloca |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
196 # define HAVE_ALLOCA |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
197 /* Union lisp objects do not yet work as of 19.15. */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
198 /* # undef NO_UNION_TYPE */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
199 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
200 /* There are three ways to use the gnucc provided with R3V7. Either |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
201 link /bin/ccd/cc to /bin/cc and then configure (supposing that CC |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
202 is unset or set to cc). Or configure like this: `CC=/bin/ccd/cc |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
203 configure', or else configure like this: `CC=gnucc configure'. */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
204 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
205 # ifdef __STDC__ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
206 /* Compiling with gnucc (not through ccd). This means -traditional is |
5222
20c59adcb164
* m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
Francesco Potortì <pot@gnu.org>
parents:
5202
diff
changeset
|
207 not set. Let us set it, because (as of emacs 19.21) gmalloc.c |
20c59adcb164
* m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
Francesco Potortì <pot@gnu.org>
parents:
5202
diff
changeset
|
208 includes <stddef.h>, and we don't have that (as of SYSV68 R3V7). |
20c59adcb164
* m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
Francesco Potortì <pot@gnu.org>
parents:
5202
diff
changeset
|
209 Removing the -finline-functions option to gnucc causes an |
20c59adcb164
* m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
Francesco Potortì <pot@gnu.org>
parents:
5202
diff
changeset
|
210 executable emacs smaller by about 10%. */ |
20c59adcb164
* m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
Francesco Potortì <pot@gnu.org>
parents:
5202
diff
changeset
|
211 # define C_SWITCH_MACHINE -mfp0ret -m68881 -traditional -Dconst= -fdelayed-branch -fstrength-reduce -finline-functions -fcaller-saves |
5202
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
212 # define LIB_GCC /lib/gnulib881 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
213 # endif /* __STDC__ */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
214 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
215 #else |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
216 /* Not __GNUC__, use the alloca in alloca.s. */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
217 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
218 /* Try to guess if we are using the Green Hills Compiler */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
219 # if defined mc68000 && defined MC68000 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
220 /* Required only for use with Green Hills compiler: |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
221 -ga Because alloca relies on stack frames. This option forces |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
222 the Green Hills compiler to create stack frames even for |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
223 functions with few local variables. */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
224 # define C_SWITCH_MACHINE -ga -O |
5669
ee396244a9a6
* m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents:
5665
diff
changeset
|
225 # define GAP_USE_BCOPY /* *++to = *++from is inefficient */ |
ee396244a9a6
* m/delta.h (HAVE_BCOPY): undef'd for efficiency.
Francesco Potortì <pot@gnu.org>
parents:
5665
diff
changeset
|
226 # define BCOPY_DOWNWARD_SAFE /* bcopy does: mov.b (%a1)+,(%a0)+ */ |
5202
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
227 # else |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
228 /* We are using the standard AT&T Portable C Compiler */ |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
229 # define SWITCH_ENUM_BUG |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
230 # endif |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
231 |
0580776d4578
Properly install previous change.
Richard M. Stallman <rms@gnu.org>
parents:
5170
diff
changeset
|
232 #endif /* not __GNUC__ */ |