Path: chuka.playstation.co.uk!news From: Toby Hutton Newsgroups: scea.yaroze.beginners Subject: Re: MAKING LIBS Date: 27 Jul 1998 13:24:38 +1000 Organization: PlayStation Net Yaroze (SCEE) Lines: 19 Sender: thutton@TECH10 Message-ID: References: <35B92AC3.8287CCA3@accessv.com> <01bdb7b8$ef0cc960$f30b0a0a@Angela1.intelligent-group.com> NNTP-Posting-Host: 203.103.154.235 X-Newsreader: Gnus v5.3/Emacs 19.34 "Craig Graham" writes: > Michael Briere wrote in article > <35B92AC3.8287CCA3@accessv.com>... > > Anyone ever made their own libs with ar.exe? I need some help as there > > are no docs on how to do this. > > I did. The GNU version of ARS is built as a lib. > > Cann't remember the command line, but it's standard GNU ar so just look at > the GNU docs on it... The simplest way to use ar is with just -r. ar -r libmylib.a myobj1.o myobj2.o... This will add the object files to the library if they don't exist, or replace them if they do. -- Toby.