Mail Archives: djgpp/1997/02/13/22:13:56
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 :-) )
>
>
>
>
- Raw text -