Hi,
I have an libf.so in which i want to add a .o file say function.o without deleting the library and then again creating it.I just want to add function.o in libf.so.Help expected.....
Regards,
Arka
Hi,
I have an libf.so in which i want to add a .o file say function.o without deleting the library and then again creating it.I just want to add function.o in libf.so.Help expected.....
Regards,
Arka
Look up the "ar" command.
Hi,
Thanks for your reply.But ar will work with .a static libs.I tried it with .so shared objects.It didn't work.
Ah, sorry. I'm a little tired. .so files are produced with the linker (or with the compiler driver and appropriate options). AFAIK, they need to be built from .o files, and cannot be added to incrementally.