Date: Tue, 23 Sep 1997 20:23:47 -0700 (PDT) Message-Id: <199709240323.UAA02044@adit.ap.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: vischne AT ibm DOT net-nospam (root), djgpp AT delorie DOT com From: Nate Eldredge Subject: Re: Creating User Libraries Precedence: bulk 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