Mercurial > emacs
comparison src/s/dgux.h @ 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 | 560f7fcb759c |
children | 8a5b38421850 |
comparison
equal
deleted
inserted
replaced
2317:4fb5b10c0f10 | 2318:50737ca2fd45 |
---|---|
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. */ | 121 DGUX can use either COFF or ELF; the default is ELF. |
122 | 122 To compile for COFF (or BCS) use the TARGET_BINARY_INTERFACE |
123 environment variable. */ | |
124 | |
125 #if defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) | |
126 #undef ELF | |
127 #ifndef COFF | |
128 #define COFF | |
129 #endif /* COFF */ | |
130 #else /* defined(_DGUXCOFF_TARGET) || defined(_DGUXBCS_TARGET) */ | |
131 #undef COFF | |
123 #ifndef ELF | 132 #ifndef ELF |
124 #define COFF | 133 #define ELF |
125 #endif | 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. */ |
129 | 139 |
130 /* It is possible to undump to ELF with DG/UX 5.4, but for revisions below | 140 /* It is possible to undump to ELF with DG/UX 5.4, but for revisions below |