MrNewbie
02-19-2001, 09:54 AM
For Borland's Turbo C to create libraries I just needed to do this:
tlib LIBNAME +objfile
To remove files from the Library I did this:
tlib LIBNAME -objfile
An thats all I have needed to do with tlib so far, but I want to do it using gcc and ar and the help for ar is not very good and I can't properly understand it. What is the command to create a new lib and add an object file to it, and the command to remove an object from the library?
Thanks
MrNewbie
tlib LIBNAME +objfile
To remove files from the Library I did this:
tlib LIBNAME -objfile
An thats all I have needed to do with tlib so far, but I want to do it using gcc and ar and the help for ar is not very good and I can't properly understand it. What is the command to create a new lib and add an object file to it, and the command to remove an object from the library?
Thanks
MrNewbie