www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/09/23/23:25:23

Date: Tue, 23 Sep 1997 20:23:47 -0700 (PDT)
Message-Id: <199709240323.UAA02044@adit.ap.net>
Mime-Version: 1.0
To: vischne AT ibm DOT net-nospam (root), djgpp AT delorie DOT com
From: Nate Eldredge <eldredge AT ap DOT net>
Subject: Re: Creating User Libraries

At 03:26  9/20/1997 GMT, root wrote:
>In article <874753897snz AT genesis DOT demon DOT co DOT uk>, fred AT genesis DOT demon DOT co DOT uk 
>says...
>>
>>In article <3422F186 DOT 76D2 AT geocities DOT com>
>>           wizkids_online AT geocities DOT com "MaStEr Of WiZDoM" writes:
>>
>>>Hi Everyone,
>>>
>>>I have a question for you guys.  Ok, I have a couple of math functions
>>>that I've 
>>>created with DJGPP's C/C++ V2 compiler.  And now, I would like to know
>>>the steps
>>>that I need to take to turn all these functions (about 45) in a
>>>library?
>>
>>Since this is purely a compiler/implementation issue I've redirected
>>followups to comp.os.msdos.djgpp only.
>>
>gcc -o lib.a xx1.o xx2.o ... xxN.o
>ranlib lib.a
Sorry, but that's wrong. It's like this:
ar -qc lib.a xx1.o xx2.o ... xxN.o
ranlib lib.a

Read the info docs for more useful flags to `ar'.

Nate Eldredge
eldredge AT ap DOT net



- Raw text -


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