Mail Archives: djgpp/1997/06/05/08:38:28
> From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
> On Tue, 3 Jun 1997, Peter Zijlstra wrote:
> > Why does the DJGPP port of GNU CC use the COFF object format ?
>
> The reason for this is mostly historical: the way that DJGPP started
> (from a hacked Unix libc that used COFF) and evolved, it was easier to
> keep compatibility between old and new tools by using the same object
> file format.
Actually, the first DJGPP was a.out format. The switch to COFF
happened with the support for DPMI, because a.out format had data
starting at the 4Mb mark (not configurable) and many DPMI hosts barfed
when we asked for 4+ Mb.
COFF format was the next best choice then, and it allows the data to
start right after the code, so we switched.
- Raw text -