Mercurial > emacs
comparison src/s/dgux.h @ 2010:50b1987ff38a
(ELF): Handle this parameter.
[! COFF] (UNEXEC, USG_SHARED_LIBRARIES): New definitions.
(_BSD_TTY_FLAVOR): Don't define if already defined.
(C_COMPILER, LINKER, MAKE_COMMAND): New definitions.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Thu, 04 Mar 1993 19:50:30 +0000 |
parents | a83000ceb5df |
children | 560f7fcb759c |
comparison
equal
deleted
inserted
replaced
2009:755588575884 | 2010:50b1987ff38a |
---|---|
114 under most USG systems. */ | 114 under most USG systems. */ |
115 | 115 |
116 #define subprocesses | 116 #define subprocesses |
117 | 117 |
118 /* If your system uses COFF (Common Object File Format) then define the | 118 /* If your system uses COFF (Common Object File Format) then define the |
119 preprocessor symbol "COFF". */ | 119 preprocessor symbol "COFF". |
120 | 120 |
121 DGUX can use either COFF or ELF. To use ELF format, define ELF. */ | |
122 | |
123 #ifndef ELF | |
121 #define COFF | 124 #define COFF |
125 #endif | |
126 | |
127 #ifndef COFF /* People will probably find this apparently unreliable | |
128 till the NFS dumping bug is fixed. */ | |
129 | |
130 /* It is possible to undump to ELF with DG/UX 5.4, but for revisions below | |
131 5.4.1 the undump MUST be done on a local file system, or the kernel will | |
132 panic. ELF executables have the advantage of using shared libraries, | |
133 while COFF executables will still work on 4.2x systems. */ | |
134 | |
135 #define UNEXEC unexelf.o | |
136 | |
137 /* This makes sure that all segments in the executable are undumped, | |
138 not just text, data, and bss. In the case of Mxdb and shared | |
139 libraries, additional information is stored in other sections. | |
140 It does not hurt to have this defined if you don't use Mxdb or | |
141 shared libraries. In fact, it makes no difference. */ | |
142 | |
143 /* Necessary for shared libraries and Mxdb debugging information. */ | |
144 #define USG_SHARED_LIBRARIES | |
145 #endif | |
122 | 146 |
123 /* define MAIL_USE_FLOCK if the mailer uses flock | 147 /* define MAIL_USE_FLOCK if the mailer uses flock |
124 to interlock access to /usr/spool/mail/$USER. | 148 to interlock access to /usr/spool/mail/$USER. |
125 The alternative is that a lock file named | 149 The alternative is that a lock file named |
126 /usr/spool/mail/$USER.lock. */ | 150 /usr/spool/mail/$USER.lock. */ |
199 /* | 223 /* |
200 * DG/UX 4.10 needs the following to turn on berkeley ioctl's. | 224 * DG/UX 4.10 needs the following to turn on berkeley ioctl's. |
201 */ | 225 */ |
202 | 226 |
203 #ifndef HAVE_TERMIO | 227 #ifndef HAVE_TERMIO |
228 #ifndef _BSD_TTY_FLAVOR /* Already defined, in dgux 4.30. */ | |
204 #define _BSD_TTY_FLAVOR | 229 #define _BSD_TTY_FLAVOR |
230 #endif | |
205 #endif | 231 #endif |
206 | 232 |
207 /* | 233 /* |
208 * Use a Berkeley style sys/wait.h. | 234 * Use a Berkeley style sys/wait.h. |
209 * This makes WIF* macros operate on structures instead of ints. | 235 * This makes WIF* macros operate on structures instead of ints. |
250 | 276 |
251 #else /* MAKING_MAKEFILE */ | 277 #else /* MAKING_MAKEFILE */ |
252 /* force gcc to be used */ | 278 /* force gcc to be used */ |
253 CC=gcc | 279 CC=gcc |
254 #endif /* not MAKING_MAKEFILE */ | 280 #endif /* not MAKING_MAKEFILE */ |
281 | |
282 /* definitions for xmakefile production */ | |
283 #ifdef COFF | |
284 | |
285 #define C_COMPILER \ | |
286 TARGET_BINARY_INTERFACE=m88kdguxcoff gcc -traditional | |
287 | |
288 #define LINKER \ | |
289 TARGET_BINARY_INTERFACE=m88kdguxcoff gcc -nostdlib | |
290 | |
291 #define MAKE_COMMAND \ | |
292 TARGET_BINARY_INTERFACE=m88kdguxcoff make | |
293 | |
294 #else /* not COFF */ | |
295 | |
296 #define C_COMPILER \ | |
297 TARGET_BINARY_INTERFACE=m88kdguxelf gcc -traditional | |
298 | |
299 #define LINKER \ | |
300 TARGET_BINARY_INTERFACE=m88kdguxelf gcc -nostdlib | |
301 | |
302 #define MAKE_COMMAND \ | |
303 TARGET_BINARY_INTERFACE=m88kdguxelf make | |
304 | |
305 #endif /* COFF */ |