How would you create shared and dynamic libraries

Well shared libraries have 2 types 1) Static 2) Dynamic. u can create library by ar cr -o sharedobj.a file1.o file2.o while file1 and file2 are headfiles (obj) now put this sharedobj.a into /usr/lib directory

No comments: