Date: Sun, 17 Mar 1996 19:14:18 +0300 (MSK) From: "Alexander V. Lukyanov" Message-Id: <199603171614.TAA03974@video.yars.free.net> To: jcaser01 AT ns DOT fiu DOT edu, kuku AT gilberto DOT physik DOT RWTH-Aachen DOT DE Cc: djgpp AT delorie DOT com Subject: Re: Object libraries? > > Can someone please let me know how to create a "library" of object > > files for use with djgpp. I remember a while ago someone posted this > > info but I've been out of the loop for a couple of months and I > > forgot the procedure. > > Normally you do that using ld like: > > ld -r -x -o yourlib.o *.o > > (note the command line length limit so you might want to use some > indirect file technique/response file depending on the type of make > you are using). ndmake uses: > > >respfile *.o > ld -r -x -o yourlib.o @respfile This is not quite that was needed, I think. This will produce one large object file, not a library. To create a library use ar. See info for more details.