www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/12/15/03:46:49

To: Greg Treece <gatreece AT esy DOT com>
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: GCC and DOS libraries
Date: Thu, 15 Dec 94 08:25:00 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>

> I have a dos library (xx.lib) that I wish to use with GCC. I do not have
> the source to recompile it. Is there any way to convert or otherwise have
> GCC recognize this library?

There is a difference between the structure of .lib and .a, but
that's not the *real* problem, because you always can extract
the .obj files from a .lib library.  The *real* problem is that
the linker-loader supplied with DJGPP doesn't understand the
format of .obj files, it must have COFF .o files to link them.
And there is no way (AFAIK) to convert .obj file to COFF.
Sorry, you just can't do it.

- Raw text -


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