Builing a library

sundaresh venugopal sundaresh@mail.com
Mon Jun 16 06:01:00 GMT 2003


This is a basic beginners question.How do I build a library from a collection of
.o files.I thought ar -rcs library.a files.o might work.But linking with this
library return's undefined reference errors.If however I compile and link directly
with the .o files ,the program compiles and works properly.
-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup



More information about the Gcc-help mailing list