www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/18/07:31:33

Date: Sun, 18 Oct 1998 13:31:40 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: djgpp AT delorie DOT com
Subject: Re: Porting UNIX-compiled libs to djgpp
In-Reply-To: <3626d05f.25905240@news.cybersurf.net>
Message-ID: <Pine.SUN.3.91.981018132940.2705R-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Fri, 16 Oct 1998, it was written:

> I've got a really handy custom library that works with gcc/++ on a
> Linux box. I've only got the header files and the bins (i.e. no
> source). I'd like to get this library into a form that djgpp can use.
> Is this possible?

The only way I know of to get this done is to find a version of
`objcopy' (it's part of GNU Binutils) that supports both ELF and
COFF-GO32 targets, and use it to convert the library.  If you cannot
find such a version of `objcopy', you should be able to configure and
rebuild Binutils so that these formats are supported.

Note that even if you do the above, you might have some problems linking 
against that library, because the C and C++ headers used by the version 
of Linux used to compile the original sources were different from what 
DJGPP has.  The way this manifests itself is that you get undefined 
reference errors from the linker.

- Raw text -


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