Date: Thu, 13 Feb 1997 20:59:07 -0600 (CST) From: Andrew Deren To: abacon AT videotron DOT ca cc: djgpp AT delorie DOT com Subject: Re: Building library In-Reply-To: <5dvp77$5ma$1@wagner.spc.videotron.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Try using something like this: ar rvs libmylib.a file1.o file2.o file3.o and then to compile your program use gcc myprog.c -lmylib On Thu, 13 Feb 1997 abacon AT videotron DOT ca wrote: > Hi, I am new to DJGPP and I have read the FAQ files, but there is > 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 :-) ) > > > >