From: Robert Hoehne Newsgroups: comp.os.msdos.djgpp Subject: Re: Building library Date: Fri, 14 Feb 1997 10:10:26 +0100 Organization: TU Chemnitz-Zwickau Lines: 30 Message-ID: <33042C02.16B7@Mathematik.tu-chemnitz.de> References: <5dvp77$5ma$1 AT wagner DOT spc DOT videotron DOT ca> NNTP-Posting-Host: errno.hrz.tu-chemnitz.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp abacon AT videotron DOT ca wrote: > > something that I have not yet figured out... How do I create a library > from a pool of object files. I have read somthing about the AR command > but it says that it does not know the format of my object file. Have I > missed something ( surely :-) ) Probably you have used the correct ar command (it should ar rcs LIBRARY object1.o object2.o .... ) But if ar complains the format of you object files, then you should post here, from where these object files come. If they are created with gcc, then the above command should work otherwise the files are probably incompatible with DJGPP. And at last: To help you more, you should post here at least the command you used to create the library, the exact generated errors something more about the object files. Robert -- ***************************************************************** * Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau * * Post: Am Berg 3, D-09573 Dittmannsdorf * * e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE * * WWW: http://www.tu-chemnitz.de/~rho * *****************************************************************