delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/07/07/09:14:48

From: kunst AT prl DOT philips DOT nl
Subject: Re: Libraries
To: frankie AT si DOT upc DOT es (Francesc Guasch-Ortiz)
Date: Thu, 7 Jul 1994 14:28:37 +0100 (METDST)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu (DJGPP users list)

> 
> I got a :
> 386sx, running on MS-DOS 5.0 and 4dos 5.0, 5 Megs of RAM and 40 Megs of HD
> 
> I want to :
> 
> 	Link CODEBASE 5.0 libraries with my GNU C programs
> 
> I know that :
> 
> 	the gnu linker expects libXXX.a files, so I renamed the commercial
> (not pirate !, was bought)  codebase .libs such like :
> 
> 	c4def.lib   --->  libc4def.a
> 
> so the gnu linker gets to the file but it doesn't like the format and tells me
> not a rel format library !. I guess that the rename i did was almost like
> rename COFFs to EXEs. I've been looking at the info if there is some kind of
> way to translate (not just rename LIBs) but i didnt find it.
> 
> 	Please, if there is someone who knows how to do it or where in the
> info can i find how, or what book should I buy, or wanna cheer me up I will
> appreciate your help.
> 

c4def.lib means the library is to be used with Microsoft C or Turbo C etc.
(Check the CODEBASE 5.0 manual to see for which compiler the library is made.)

Note: DJGPP is not able to use .OBJ files (from .LIB files) directly.

You must either obtain the CODEBASE 5.0 library compiled with DJGPP,
or get the sources and do it yourself.

Pieter Kunst (kunst AT prl DOT philips DOT nl)


- Raw text -


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