delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/12/03:29:43

From: G DOT DegliEsposti AT ads DOT it
To: djgpp AT delorie DOT com
Message-ID: <C12565C5.002DE305.00@vega.ads.it>
Date: Thu, 12 Mar 1998 09:28:10 +0100
Subject: Re: other people's libs
Mime-Version: 1.0




>Is it possible to link in libraries compiled for other development
>environments (i.e Watcom, Borland)? I have the *.h but _they_ won't give
>me *.c, just *.lib.

According to my personal experience, mixing .obj or .lib from different
compilers is nearly impossible.

In this case, there are even more difficulties because djgpp uses a
different object file format then other dos compilers. More
then this, your libs can contain 16 bit code while djgpp needs 32 bit.

Anyway it is possible in some situations to convert 32 bit .obj files
to coff format.

For more info you can have a look at the faq list, IIRC section 17.5

ciao
  Giacomo


- Raw text -


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