Mercurial > emacs
changeset 2318:50737ca2fd45
Decide automatically whether to use COFF or ELF.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 22 Mar 1993 19:50:35 +0000 |
parents | 4fb5b10c0f10 |
children | d98c49df2acd |
files | src/s/dgux.h |
diffstat | 1 files changed, 13 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/s/dgux.h Mon Mar 22 19:23:41 1993 +0000 +++ b/src/s/dgux.h Mon Mar 22 19:50:35 1993 +0000 @@ -118,11 +118,21 @@ /* If your system uses COFF (Common Object File Format) then define the preprocessor symbol "COFF". - DGUX can use either COFF or ELF. To use ELF format, define ELF. */ + DGUX can use either COFF or ELF; the default is ELF. + To compile for COFF (or BCS) use the TARGET_BINARY_INTERFACE + environment variable. */ +#if defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) +#undef ELF +#ifndef COFF +#define COFF +#endif /* COFF */ +#else /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */ +#undef COFF #ifndef ELF -#define COFF -#endif +#define ELF +#endif /* ELF */ +#endif /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */ #ifndef COFF /* People will probably find this apparently unreliable till the NFS dumping bug is fixed. */