www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/01/18:11:55

From: Andrew Crabtree <andrewc AT typhoon DOT rose DOT hp DOT com>
Message-Id: <199704012301.AA047635672@typhoon.rose.hp.com>
Subject: Re: Can't link non standard library. FAQ not enough.
To: jordivid AT mx2 DOT redestb DOT es (Jordi Vida\qa Caball\i)
Date: Tue, 01 Apr 1997 15:01:12 PST
Cc: djgpp AT delorie DOT com
In-Reply-To: <01bc3ec5$8456ed20$86e04cc3@10.0.1.1.inf>; from "Jordi Vida\qa Caball\i" at Apr 1, 97 5:49 pm

Its unlikely that you could use a turbo C library directly as 
it uses a different object file format then DJGPP uses.

If you have the source code then you could rebuild that, which although
not trivial may be the easiest way.  

There are also some obj->lib converters but they only work on certain 
types of files.

Last - to attempt what you did you need to prepend a lib to the front of 
 the file name

IE

foo.lib -> libfoo.a

which is why it couldn'y find the file at all (not that this would 
link properly though)

Andrew



- Raw text -


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