Date: Sun, 21 Sep 1997 13:33:49 +0300 (IDT) From: Eli Zaretskii To: root cc: djgpp AT delorie DOT com Subject: Re: Is there a way to import Linux libs to DJGPP? In-Reply-To: <3423eb6b.0@news3.ibm.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.