aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-03-04 19:50:30 +0000
committerRichard M. Stallman1993-03-04 19:50:30 +0000
commite2f4b44c398a4d6b577d6666a8ceea670881198c (patch)
tree8db639eed2dcd17b93a1f5b4f9c5e8224420d85c /src
parent08248fceabc92a8650d943cfa3f9bcb3e2a9f3ce (diff)
downloademacs-e2f4b44c398a4d6b577d6666a8ceea670881198c.tar.gz
emacs-e2f4b44c398a4d6b577d6666a8ceea670881198c.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/s/dgux.h53
1 files changed, 52 insertions, 1 deletions
diff --git a/src/s/dgux.h b/src/s/dgux.h
index e85c24219b6..f42a2a83d79 100644
--- a/src/s/dgux.h
+++ b/src/s/dgux.h
@@ -116,9 +116,33 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
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.
@@ -201,8 +225,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
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
205#endif 230#endif
231#endif
206 232
207/* 233/*
208 * Use a Berkeley style sys/wait.h. 234 * Use a Berkeley style sys/wait.h.
@@ -252,3 +278,28 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
252/* force gcc to be used */ 278/* force gcc to be used */
253CC=gcc 279CC=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 */