Mail Archives: djgpp/1997/08/26/09:41:53
On Tue, 26 Aug 1997, Chirayu Krishnappa wrote:
> Also, I hear a lot that elf binaries r better. I want to use them. I
> could'nt find references to elf in the faq. If gcc can generate such object
> files and I use them, will I be missing out on anything. Also, can I link
> together, elf & coff object files together?
It's a very non-trivial task. You need to reconfigure and rebuild
Binutils and the debuggers (assuming you want debugging) so that they
support ELF. Then you need to change the stub loader (the 2KB-long DOS
program that sets things up for DJGPP before it passes control to the
COFF image) so that it knows about ELF. I'm not sure if you can mix COFF
and ELF, but I think you can't; if I'm right, you will have to recompile
all the libraries so that they are in ELF format.
- Raw text -