Looking for webhosting sites? Use Statsdom cloud computing. Also you can be interested in Chanterelle Info Webhosting.

Author Topic: How can i create shared and dynamic libraries?  (Read 1307 times)

afsal

  • Guest
How can i create shared and dynamic libraries?
« 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