delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/12/06/07:03:26

From: "Matthew Bennett" <bennett AT btinternet DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: using o2c to convert a .lib to a .a
Date: 6 Dec 1997 09:28:58 GMT
Organization: BT Internet
Lines: 40
Message-ID: <01bd0229$cece8e80$973763c3@mrbcomp>
NNTP-Posting-Host: host5-99-55-151.btinternet.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

After reading the FAQ, it seems the best (if not the only) way of
converting some .lib files to .a files was to use obj2coff (I'm trying to
eventually convert the directx lib's to a's).

I'm using o2c version 1.0 from o2cv10.arj.
I'm trying to convert cdx.lib to a .a file, for use in djgpp.  I
enter:

> o2c -C cdx.lib

But all that is outputted is:

> O2C - version 1.0
> (c)1996 RiCO/SPiRiT - Richard Spijkers...
>
> Reading : cdx.lib
>
> This SHAREWARE program is NOT REGISTERED and may only be used in
> a non-commercial environment! (see legal.txt)
>
> Press any key to continue...

Yet it does not create any .a file :(
It does the same for another .lib files.
I'm quite sure I've got a path pointing to go32-v2.exe etc.

What am I doing wrong? Surely someone else must have used it to convert
.lib to .a.  Also, if anyone has another way of converting a .lib to a .a
(that they *know* works) (yes I know it's hard and won't work for all libs
;) ) then feel free to reply too :)

Thanks,

Matt


-- 
Computers do what you *tell* them to do, not what you *want* them to do.

- Raw text -


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