Mercurial > emacs
annotate src/s/dgux.h @ 3691:49ce2242f5c1
(get_keymap_1): Add missing semicolon.
(describe_vector_princ): Align to column 16.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 12 Jun 1993 17:17:05 +0000 |
parents | d83673a740e8 |
children | 7be0f0a02725 |
rev | line source |
---|---|
457 | 1 /* Definitions file for GNU Emacs running on Data General's DG/UX |
2 version 4.32 and above. | |
3 Copyright (C) 1985, 1986, 1991 Free Software Foundation, Inc. | |
4 | |
5 This file is part of GNU Emacs. | |
6 | |
7 GNU Emacs is free software; you can redistribute it and/or modify | |
8 it under the terms of the GNU General Public License as published by | |
9 the Free Software Foundation; either version 1, or (at your option) | |
10 any later version. | |
11 | |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GNU Emacs; see the file COPYING. If not, write to | |
19 the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ | |
20 | |
21 | |
22 /* | |
23 * Define symbols to identify the version of Unix this is. | |
24 * Define all the symbols that apply correctly. | |
25 */ | |
26 | |
27 /* #define UNIPLUS */ | |
28 /* #define USG5 */ | |
29 /* #define USG */ | |
30 /* #define HPUX */ | |
31 /* #define UMAX */ | |
32 /* #define BSD4_1 */ | |
33 #define BSD4_2 | |
34 #define BSD4_3 | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
35 #define BSD4_4 |
457 | 36 #define BSD |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
37 #define SVR4 |
457 | 38 |
39 /* SYSTEM_TYPE should indicate the kind of system you are using. | |
40 It sets the Lisp variable system-type. */ | |
41 | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
42 #define SYSTEM_TYPE "dgc-unix" |
457 | 43 |
44 /* NOMULTIPLEJOBS should be defined if your system's shell | |
45 does not have "job control" (the ability to stop a program, | |
46 run some other program, then continue the first one). */ | |
47 | |
48 /* #define NOMULTIPLEJOBS */ | |
49 | |
50 /* Emacs can read input using SIGIO and buffering characters itself, | |
51 or using CBREAK mode and making C-g cause SIGINT. | |
52 The choice is controlled by the variable interrupt_input. | |
53 Define INTERRUPT_INPUT to make interrupt_input = 1 the default (use SIGIO) | |
54 | |
55 SIGIO can be used only on systems that implement it (4.2 and 4.3). | |
3591
507f64624555
Apply typo patches from Paul Eggert.
Jim Blandy <jimb@redhat.com>
parents:
3584
diff
changeset
|
56 CBREAK mode has two disadvantages |
457 | 57 1) At least in 4.2, it is impossible to handle the Meta key properly. |
58 I hear that in system V this problem does not exist. | |
59 2) Control-G causes output to be discarded. | |
60 I do not know whether this can be fixed in system V. | |
61 | |
62 Another method of doing input is planned but not implemented. | |
63 It would have Emacs fork off a separate process | |
64 to read the input and send it to the true Emacs process | |
65 through a pipe. | |
66 */ | |
67 | |
68 #define INTERRUPT_INPUT | |
69 | |
70 /* Letter to use in finding device name of first pty, | |
71 if system supports pty's. 'a' means it is /dev/ptya0 */ | |
72 | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
73 #define FIRST_PTY_LETTER 'p' |
457 | 74 |
75 /* | |
76 * Define HAVE_TIMEVAL if the system supports the BSD style clock values. | |
77 * Look in <sys/time.h> for a timeval structure. | |
78 */ | |
79 | |
80 #define HAVE_TIMEVAL | |
81 | |
82 /* | |
83 * Define HAVE_SELECT if the system supports the `select' system call. | |
84 */ | |
85 | |
86 #define HAVE_SELECT | |
87 | |
88 /* | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
89 * Define HAVE_SETSID if the system supports POSIX disassociate |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
90 * terminal. |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
91 */ |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
92 #define HAVE_SETSID |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
93 /* |
457 | 94 * Define HAVE_SOCKETS if the system supports sockets. |
95 */ | |
96 | |
97 #define HAVE_SOCKETS | |
98 | |
99 /* | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
100 * Define HAVE_UNIX_DOMAIN if the system supports Unix |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
101 * domain sockets. |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
102 */ |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
103 #define HAVE_UNIX_DOMAIN |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
104 /* |
457 | 105 * Define HAVE_PTYS if the system supports pty devices. |
106 */ | |
107 | |
108 #define HAVE_PTYS | |
109 | |
110 /* | |
111 * Define NONSYSTEM_DIR_LIBRARY to make Emacs emulate | |
112 * The 4.2 opendir, etc., library functions. | |
113 */ | |
114 | |
115 /* #define NONSYSTEM_DIR_LIBRARY */ | |
116 | |
117 /* Define this symbol if your system has the functions bcopy, etc. */ | |
118 | |
119 #define BSTRING | |
120 | |
121 /* subprocesses should be defined if you want to | |
122 have code for asynchronous subprocesses | |
123 (as used in M-x compile and M-x shell). | |
124 This is generally OS dependent, and not supported | |
125 under most USG systems. */ | |
126 | |
127 #define subprocesses | |
128 | |
129 /* If your system uses COFF (Common Object File Format) then define the | |
2010
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
130 preprocessor symbol "COFF". |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
131 |
2318
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
132 DGUX can use either COFF or ELF; the default is ELF. |
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
133 To compile for COFF (or BCS) use the TARGET_BINARY_INTERFACE |
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
134 environment variable. */ |
2010
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
135 |
2318
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
136 #if defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) |
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
137 #undef ELF |
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
138 #ifndef COFF |
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
139 #define COFF |
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
140 #endif /* COFF */ |
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
141 #else /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */ |
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
142 #undef COFF |
2010
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
143 #ifndef ELF |
2318
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
144 #define ELF |
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
145 #endif /* ELF */ |
50737ca2fd45
Decide automatically whether to use COFF or ELF.
Richard M. Stallman <rms@gnu.org>
parents:
2302
diff
changeset
|
146 #endif /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */ |
2010
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
147 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
148 #ifndef COFF /* People will probably find this apparently unreliable |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
149 till the NFS dumping bug is fixed. */ |
457 | 150 |
2010
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
151 /* It is possible to undump to ELF with DG/UX 5.4, but for revisions below |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
152 5.4.1 the undump MUST be done on a local file system, or the kernel will |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
153 panic. ELF executables have the advantage of using shared libraries, |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
154 while COFF executables will still work on 4.2x systems. */ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
155 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
156 #define UNEXEC unexelf.o |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
157 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
158 /* This makes sure that all segments in the executable are undumped, |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
159 not just text, data, and bss. In the case of Mxdb and shared |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
160 libraries, additional information is stored in other sections. |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
161 It does not hurt to have this defined if you don't use Mxdb or |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
162 shared libraries. In fact, it makes no difference. */ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
163 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
164 /* Necessary for shared libraries and Mxdb debugging information. */ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
165 #define USG_SHARED_LIBRARIES |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
166 #endif |
457 | 167 |
168 /* define MAIL_USE_FLOCK if the mailer uses flock | |
169 to interlock access to /usr/spool/mail/$USER. | |
170 The alternative is that a lock file named | |
171 /usr/spool/mail/$USER.lock. */ | |
172 | |
173 /* #define MAIL_USE_FLOCK */ | |
174 | |
175 /* Define CLASH_DETECTION if you want lock files to be written | |
176 so that Emacs can tell instantly when you try to modify | |
177 a file that someone else has modified in his Emacs. */ | |
178 | |
179 /* #define CLASH_DETECTION */ | |
180 | |
181 /* Define a replacement for the baud rate switch, since DG/UX uses a different | |
182 from BSD. */ | |
183 | |
184 #define BAUD_CONVERT { 0, 110, 134, 150, 300, 600, 1200, 1800, 2400, \ | |
185 4800, 9600, 19200, 38400 } | |
186 | |
187 /* | |
188 * Define NLIST_STRUCT if the system has nlist.h | |
189 */ | |
190 | |
191 #define NLIST_STRUCT | |
192 | |
193 /* | |
194 * Make WM Interface Compliant. | |
195 */ | |
196 | |
197 #define XICCC | |
198 | |
199 /* Here, on a separate page, add any special hacks needed | |
200 to make Emacs work on this system. For example, | |
201 you might define certain system call names that don't | |
202 exist on your system, or that do different things on | |
203 your system and must be used only through an encapsulation | |
204 (Which you should place, by convention, in sysdep.c). */ | |
205 | |
206 /* Some compilers tend to put everything declared static | |
207 into the initialized data area, which becomes pure after dumping Emacs. | |
208 On these systems, you must #define static as nothing to foil this. | |
209 Note that emacs carefully avoids static vars inside functions. */ | |
210 | |
211 /* #define static */ | |
212 | |
213 /* DG/UX SPECIFIC ADDITIONS TO TEMPLATE FOLLOW: */ | |
214 | |
215 /* Use the Berkeley flavors of the library routines, instead of System V. */ | |
216 | |
217 #define setpgrp(pid,pgrp) setpgrp2(pid,pgrp) | |
218 #define getpgrp(pid) getpgrp2(pid) | |
219 | |
220 /* Act like Berkeley. */ | |
221 | |
222 #define _setjmp(env) sigsetjmp(env,0) | |
223 #define _longjmp(env,val) longjmp(env,val) | |
224 | |
225 /* Use TERMINFO instead of termcap */ | |
226 | |
227 #define TERMINFO | |
228 | |
229 /* | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
230 * Define HAVE_TERMIOS since this is POSIX, |
457 | 231 * for terminal control. |
232 */ | |
233 | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
234 #define HAVE_TERMIOS |
457 | 235 |
236 /* | |
237 * Use a Berkeley style sys/wait.h. | |
238 * This makes WIF* macros operate on structures instead of ints. | |
239 */ | |
240 | |
241 #define _BSD_WAIT_FLAVOR | |
242 | |
243 /* | |
244 * Use BSD and POSIX-style signals. This is crucial! | |
245 */ | |
246 | |
3584
06708f4682d0
* s/dgux.h: Move #definition of SYSTEM_MALLOC outside of
Jim Blandy <jimb@redhat.com>
parents:
3544
diff
changeset
|
247 /* pmr@rock.concert.net says Emacs fails without this. We don't know why. */ |
06708f4682d0
* s/dgux.h: Move #definition of SYSTEM_MALLOC outside of
Jim Blandy <jimb@redhat.com>
parents:
3544
diff
changeset
|
248 #define SYSTEM_MALLOC |
06708f4682d0
* s/dgux.h: Move #definition of SYSTEM_MALLOC outside of
Jim Blandy <jimb@redhat.com>
parents:
3544
diff
changeset
|
249 |
457 | 250 /* MAKING_MAKEFILE must be defined in "ymakefile" before including config.h */ |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
251 #ifndef THIS_IS_YMAKEFILE |
457 | 252 |
253 /* Make sure signal.h is included so macros below don't mess with it. */ | |
254 /* DG/UX include files prevent multiple inclusion. */ | |
255 | |
256 #include <signal.h> | |
257 | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
258 /* but undefine the sigmask and sigpause macros since they will get |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
259 #define'd later. */ |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
260 #undef sigmask |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
261 #undef sigpause |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
262 |
457 | 263 #define POSIX_SIGNALS |
264 | |
265 /* Define this if you use System 5 Release 4 Streams */ | |
266 #define SYSV4_PTYS | |
267 #define open sys_open | |
268 #define close sys_close | |
269 #define read sys_read | |
270 #define write sys_write | |
271 | |
3544
a1ccd96244f3
(INTERRUPTIBLE_*): Fix spelling of macros.
Richard M. Stallman <rms@gnu.org>
parents:
3318
diff
changeset
|
272 #define INTERRUPTIBLE_OPEN |
a1ccd96244f3
(INTERRUPTIBLE_*): Fix spelling of macros.
Richard M. Stallman <rms@gnu.org>
parents:
3318
diff
changeset
|
273 #define INTERRUPTIBLE_CLOSE |
457 | 274 /* can't hurt to define these, even though read/write should auto restart */ |
3544
a1ccd96244f3
(INTERRUPTIBLE_*): Fix spelling of macros.
Richard M. Stallman <rms@gnu.org>
parents:
3318
diff
changeset
|
275 #define INTERRUPTIBLE_IO |
457 | 276 |
277 /* Can't use sys_signal because then etc/server.c would need sysdep.o. */ | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
278 extern struct sigaction act, oact; |
457 | 279 #define signal(SIG,FUNC) berk_signal(SIG,FUNC) |
280 | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
281 #else /* THIS_IS_YMAKEFILE */ |
457 | 282 /* force gcc to be used */ |
283 CC=gcc | |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
284 #endif /* not THIS_IS_YMAKEFILE */ |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
285 |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
286 #define LD_SWITCH_SYSTEM |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
287 /* Cannot depend on /lib/crt0.o because make does not understand an elink(1) */ |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
288 #define START_FILES pre-crt0.o |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
289 #define LIBS_SYSTEM -ldgc /lib/crt0.o |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
290 #define LIB_GCC /usr/lib/gcc/libgcc.a |
3005
8a5b38421850
(NO_GET_LOAD_AVG): Define, if __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents:
2318
diff
changeset
|
291 |
3046
965eb3b38ba2
(NO_GET_LOAD_AVG): Test _M88KBCS_TARGET, not __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents:
3005
diff
changeset
|
292 #ifdef _M88KBCS_TARGET |
3005
8a5b38421850
(NO_GET_LOAD_AVG): Define, if __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents:
2318
diff
changeset
|
293 /* Karl Berry says: the environment |
8a5b38421850
(NO_GET_LOAD_AVG): Define, if __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents:
2318
diff
changeset
|
294 recommended by gcc (88/open, a.k.a. m88kbcs) doesn't support some system |
8a5b38421850
(NO_GET_LOAD_AVG): Define, if __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents:
2318
diff
changeset
|
295 functions, and gcc doesn't make it easy to switch environments. */ |
8a5b38421850
(NO_GET_LOAD_AVG): Define, if __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents:
2318
diff
changeset
|
296 #define NO_GET_LOAD_AVG |
8a5b38421850
(NO_GET_LOAD_AVG): Define, if __GNUC__.
Richard M. Stallman <rms@gnu.org>
parents:
2318
diff
changeset
|
297 #endif |
2010
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
298 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
299 /* definitions for xmakefile production */ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
300 #ifdef COFF |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
301 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
302 #define C_COMPILER \ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
303 TARGET_BINARY_INTERFACE=m88kdguxcoff gcc -traditional |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
304 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
305 #define LINKER \ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
306 TARGET_BINARY_INTERFACE=m88kdguxcoff gcc -nostdlib |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
307 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
308 #define MAKE_COMMAND \ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
309 TARGET_BINARY_INTERFACE=m88kdguxcoff make |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
310 |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
311 #define C_DEBUG_SWITCH |
2010
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
312 #else /* not COFF */ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
313 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
314 #define C_COMPILER \ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
315 TARGET_BINARY_INTERFACE=m88kdguxelf gcc -traditional |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
316 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
317 #define LINKER \ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
318 TARGET_BINARY_INTERFACE=m88kdguxelf gcc -nostdlib |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
319 |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
320 #define MAKE_COMMAND \ |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
321 TARGET_BINARY_INTERFACE=m88kdguxelf make |
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
322 |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
323 #define C_DEBUG_SWITCH -g -V2 -mversion-03.00 -mstandard |
2010
50b1987ff38a
(ELF): Handle this parameter.
Richard M. Stallman <rms@gnu.org>
parents:
1549
diff
changeset
|
324 #endif /* COFF */ |
3600
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
325 /* Define switches affecting x/ymakefile */ |
c0b91ff8928a
* s/dgux.h: Changes from Paul M Reilly <pmr@rock.concert.net>:
Jim Blandy <jimb@redhat.com>
parents:
3591
diff
changeset
|
326 #define C_OPTIMIZE_SWITCH |
3601
d83673a740e8
* s/dgux.h (BROKEN_FASYNC): #define this.
Jim Blandy <jimb@redhat.com>
parents:
3600
diff
changeset
|
327 |
d83673a740e8
* s/dgux.h (BROKEN_FASYNC): #define this.
Jim Blandy <jimb@redhat.com>
parents:
3600
diff
changeset
|
328 /* Paul M Reilly <pmr@rock.concert.net> writes: |
d83673a740e8
* s/dgux.h (BROKEN_FASYNC): #define this.
Jim Blandy <jimb@redhat.com>
parents:
3600
diff
changeset
|
329 On some systems (DGUX comes to mind real fast) FASYNC causes |
d83673a740e8
* s/dgux.h (BROKEN_FASYNC): #define this.
Jim Blandy <jimb@redhat.com>
parents:
3600
diff
changeset
|
330 background writes to the terminal to stop all processes in the |
d83673a740e8
* s/dgux.h (BROKEN_FASYNC): #define this.
Jim Blandy <jimb@redhat.com>
parents:
3600
diff
changeset
|
331 process group when invoked under the csh (and probably any shell |
d83673a740e8
* s/dgux.h (BROKEN_FASYNC): #define this.
Jim Blandy <jimb@redhat.com>
parents:
3600
diff
changeset
|
332 with job control). This stops Emacs dead in its tracks when coming |
d83673a740e8
* s/dgux.h (BROKEN_FASYNC): #define this.
Jim Blandy <jimb@redhat.com>
parents:
3600
diff
changeset
|
333 up under X11. */ |
d83673a740e8
* s/dgux.h (BROKEN_FASYNC): #define this.
Jim Blandy <jimb@redhat.com>
parents:
3600
diff
changeset
|
334 #define BROKEN_FASYNC |