Mail Archives: djgpp/1997/05/08/10:58:15
On Thu, 8 May 1997, Chris Matrakidis wrote:
> > For PE we'd have to write code to output M$ COFF format, a linker for it and
> > a loader.
>
> As of binutils 2.7 the PE format is supported in the standard distribution.
> And now binutils 2.8 are out, where this support should be more stable.
Ah... didn't know that, sorry!
> > With ELF we'd only have to add a new target to DJGPP and write a loader.
> > Adding new target is just a matter of enabling the new format support in BFD
> > and recompiling the compiler.
>
> I agree that ELF support is easy as a target for the linker. However, the
> support that is necessary in the library and the djgpp utilities (like symify)
> is harder.
Hmm... wouldn't it be equally hard for PE (it is COFF, but not quite compliant
with the original specs)
> My point was that in the MSDOS/Windows world there are many tools that support
> PE executables. Compatibility with them can only benefit DJGPP.
True, but I'm also thinking about the benefits of a format itself. ELF is much
more modern and better designed than COFF in general and PE in particular. If
changing/adding the output format, why not to use the best one?
- Raw text -