www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/21/06:36:54

Date: Sun, 21 Sep 1997 13:33:49 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: root <vischne AT ibm DOT net>
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: <Pine.SUN.3.91.970921133321.9556V-100000@is>
MIME-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019