diff options
author | Richard M. Stallman <rms@gnu.org> | 1993-03-04 19:50:30 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1993-03-04 19:50:30 +0000 |
commit | e2f4b44c398a4d6b577d6666a8ceea670881198c (patch) | |
tree | 8db639eed2dcd17b93a1f5b4f9c5e8224420d85c /src/s/dgux.h | |
parent | 08248fceabc92a8650d943cfa3f9bcb3e2a9f3ce (diff) | |
download | emacs-e2f4b44c398a4d6b577d6666a8ceea670881198c.tar.gz |
(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/s/dgux.h')
-rw-r--r-- | src/s/dgux.h | 53 |
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. */ #define subprocesses /* If your system uses COFF (Common Object File Format) then define the - preprocessor symbol "COFF". */ + preprocessor symbol "COFF". + DGUX can use either COFF or ELF. To use ELF format, define ELF. */ + +#ifndef ELF #define COFF +#endif + +#ifndef COFF /* People will probably find this apparently unreliable + till the NFS dumping bug is fixed. */ + +/* It is possible to undump to ELF with DG/UX 5.4, but for revisions below + 5.4.1 the undump MUST be done on a local file system, or the kernel will + panic. ELF executables have the advantage of using shared libraries, + while COFF executables will still work on 4.2x systems. */ + +#define UNEXEC unexelf.o + +/* This makes sure that all segments in the executable are undumped, + not just text, data, and bss. In the case of Mxdb and shared + libraries, additional information is stored in other sections. + It does not hurt to have this defined if you don't use Mxdb or + shared libraries. In fact, it makes no difference. */ + +/* Necessary for shared libraries and Mxdb debugging information. */ +#define USG_SHARED_LIBRARIES +#endif /* define MAIL_USE_FLOCK if the mailer uses flock to interlock access to /usr/spool/mail/$USER. @@ -201,8 +225,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ */ #ifndef HAVE_TERMIO +#ifndef _BSD_TTY_FLAVOR /* Already defined, in dgux 4.30. */ #define _BSD_TTY_FLAVOR #endif +#endif /* * Use a Berkeley style sys/wait.h. @@ -252,3 +278,28 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* force gcc to be used */ CC=gcc #endif /* not MAKING_MAKEFILE */ + +/* definitions for xmakefile production */ +#ifdef COFF + +#define C_COMPILER \ + TARGET_BINARY_INTERFACE=m88kdguxcoff gcc -traditional + +#define LINKER \ + TARGET_BINARY_INTERFACE=m88kdguxcoff gcc -nostdlib + +#define MAKE_COMMAND \ + TARGET_BINARY_INTERFACE=m88kdguxcoff make + +#else /* not COFF */ + +#define C_COMPILER \ + TARGET_BINARY_INTERFACE=m88kdguxelf gcc -traditional + +#define LINKER \ + TARGET_BINARY_INTERFACE=m88kdguxelf gcc -nostdlib + +#define MAKE_COMMAND \ + TARGET_BINARY_INTERFACE=m88kdguxelf make + +#endif /* COFF */ |