Date: Mon, 11 Oct 93 11:48:37 CDT From: "Jeremy Mathers" To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Making libraries Just to clarify it beyond all doubt, I thought I would include some text DJ wrote some time ago on the subject: >> Can I make my own libraries of dgpp-compiled objects? What do I >> need? >Nothing you don't already have. Use "ar". >Example: DJ wrote: >This is how it's supposed to work: > gcc -c myfile.c > ar rv libme.a myfile.o > ranlib libme.a > copy libme.a \djgpp\lib > gcc -v prog.c -lme -o prog >Is this what you're doing? >Gcc sees -lXX and looks for libXX.a in $LIBRARY_PATH.