Find Dedicated Server Forums

Dedicated Server Web Hosting => General Dedicated Server Hosting Discussion => Topic started by: afsal on July 20, 2014, 08:25:00 AM

Title: How can i create shared and dynamic libraries?
Post by: afsal on July 20, 2014, 08:25:00 AM

sir,

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

Thanks
afsal
Modify message