Mail Archives: djgpp/1997/09/21/06:36:54
On 20 Sep 1997, root wrote:
> I recently downloaded some Lunux libxxx.a library files (same CPU) and
> ran DJGPP ranlib on them with no complaints. I'm wondering if that
> proves they work, assuming they don't call the Linux kernel.
Bad idea. First, how do you know they don't issue any Linux system
call (aka kernel)? And second, the object file format is different:
Linux uses ELF AFAIK, while DJGPP uses COFF. The DJGPP linker doesn't
support ELF, so you cannot link these files with DJGPP programs.
But since Linux is free software, there should be no problems to find
the sources of those libraries and compile them with DJGPP.
- Raw text -