Creating a lib...
Submitted by Anonymous on Mon, 12/30/2002 - 15:52.
I have a bunch of Objects that I want to place in a lib and include into projects during compilation and via a header include. I have done a man on ar and ranlib; however, I am still at a loss. Any help would be greatly appreciated.
In conclusion...
How do I archive a group of objects into one lib?
Thanks.
C. Lamb
Tue, 12/31/2002 - 16:41#1
Anonymous
Creating a lib...
Use ar.
ar -r libname objectfile.o
to list contents of lib
ar -t libname
Sat, 01/04/2003 - 19:56#2
Anonymous
Creating a lib...
Read the following page
http//www.tldp.org/HOWTO/Program-Library-HOWTO/
Dusan Peterc