Mail Archives: djgpp/1993/10/11/13:31:53
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.
- Raw text -