Mail Archives: djgpp/1993/12/10/06:09:00
> Exactly what kind of COFF is used by DJGPP 1.11 (COFF, or COFF
> encapsulated a.out), and where are the structures/magic numbers defined?
> I'm trying to port OEmacs to 1.11, and I can't get unexec.c to work (I
> can't find where the COFF structures/magic numbers are defined).
Standard COFF as far as I can see. I made it work by
#include <../go32/gotypes.h>
#include <../go32/ed/coff.h>
#define n_type e_type
/* and one more #define of the same kind */
struct aouthdr {
/* copy from ../go32/aout.h which for some reason only defines the
typedef AOUTHDR type */
}
This works fine except that I cannot debug the dumped Emacs. If you find out
why, let me know.
Morten Welinder
terra AT diku DOT dk
- Raw text -