www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/12/11:03:54

From: kagel AT quasar DOT bloomberg DOT com
Date: Thu, 12 Dec 1996 10:49:21 -0500
Message-Id: <9612121549.AA08080@quasar.bloomberg.com >
To: mgmarcum AT worldnet DOT att DOT net
Cc: djgpp AT delorie DOT com
In-Reply-To: <01bbe584$f8246880$876a93cf@default> (mgmarcum@worldnet.att.net)
Subject: Re: newbie: how do i convert a .lib to a .a
Reply-To: kagel AT dg1 DOT bloomberg DOT com

   Errors-To: postmaster AT ns1
   From: "Matthew G. Marcum" <mgmarcum AT worldnet DOT att DOT net>
   Newsgroups: comp.os.msdos.djgpp
   Date: 9 Dec 1996 03:55:27 GMT
   Organization: AT&T WorldNet Services
   Lines: 5
   Nntp-Posting-Host: 207.147.106.135
   X-Newsreader: Microsoft Internet News 4.70.1155
   Dj-Gateway: from newsgroup comp.os.msdos.djgpp
   Content-Type: text
   Content-Length: 160

   subject pretty much says it all, i have some libs that i use with borland,
   how do i use them under djgpp?

You cannot.  The MS/INTEL .lib format and GCC ar/.a format ar incompatible 
and besides the .obj files contained in the .lib's are incompatible with
DJGPP's .o format.  There is a converter for .obj==>.o BUT the .obj MUST be 
32bit flat memory model code not large or even HUGE model 16bit code.

So the practical answer is: You cannot.  If you have the source you can 
convert the code to 32bit and recompile.  If not...

-- 
Art S. Kagel, kagel AT quasar DOT bloomberg DOT com

A proverb is no proverb to you 'till life has illustrated it.  -- John Keats

- Raw text -


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