aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1993-03-22 19:50:35 +0000
committerRichard M. Stallman1993-03-22 19:50:35 +0000
commita100548014c325e06d360997c9a305932d909cfc (patch)
tree7542e1e9e6b08970377ee1ebf87bd21abe097ee7 /src
parent0d5761c4370bfe9249dceaa1caca305ab2706d4c (diff)
downloademacs-a100548014c325e06d360997c9a305932d909cfc.tar.gz
emacs-a100548014c325e06d360997c9a305932d909cfc.zip
Decide automatically whether to use COFF or ELF.
Diffstat (limited to 'src')
-rw-r--r--src/s/dgux.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/s/dgux.h b/src/s/dgux.h
index 437e1106f78..47f5e2f6952 100644
--- a/src/s/dgux.h
+++ b/src/s/dgux.h
@@ -118,11 +118,21 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
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. */ 121 DGUX can use either COFF or ELF; the default is ELF.
122 To compile for COFF (or BCS) use the TARGET_BINARY_INTERFACE
123 environment variable. */
122 124
123#ifndef ELF 125#if defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET)
126#undef ELF
127#ifndef COFF
124#define COFF 128#define COFF
125#endif 129#endif /* COFF */
130#else /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */
131#undef COFF
132#ifndef ELF
133#define ELF
134#endif /* ELF */
135#endif /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */
126 136
127#ifndef COFF /* People will probably find this apparently unreliable 137#ifndef COFF /* People will probably find this apparently unreliable
128 till the NFS dumping bug is fixed. */ 138 till the NFS dumping bug is fixed. */