niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Linux » embedded
shared libs
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Uday Mullangi
*nix forums beginner


Joined: 21 Feb 2005
Posts: 41

PostPosted: Wed Feb 16, 2005 2:24 pm    Post subject: shared libs Reply with quote

Hi,

What is the difference between *.a and *.so files.
I know that *.so is a shared library file and *.a is a tar'ed version(Am i
not correct??..Please clarify)
What advantage one get if we use *.a file instead of *.so file.?
Where can i get more details about this?


Thanks
Uday
Back to top
Rainer Lehrig
*nix forums beginner


Joined: 17 Feb 2005
Posts: 1

PostPosted: Thu Feb 17, 2005 6:19 am    Post subject: Re: shared libs Reply with quote

..so files are shared object libraries (dynamic linking)
..a files are static librarries

The advantage of .so files is, that they can be used by many applications.
The advantage of .a files is, that everything is linked into your
application. Thus you have no external dependencies.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Fri Jan 09, 2009 7:45 am | All times are GMT
navigation Forum index » *nix » Linux » embedded
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts database Share Memory Limit (2 GB ) in a Instance is tota... sadanjan@gmail.com IBM DB2 0 Fri Jul 21, 2006 12:57 pm
No new posts ImportError: libclntsh.so.10.1: cannot open shared object... gmax2006 python 2 Thu Jul 20, 2006 7:05 pm
No new posts Help! Shared memory is getting deleted after process is k... Anuradha apps 3 Thu Jul 20, 2006 8:42 am
No new posts Possible to do the equivalent of dlopen with an executabl... Kenny McCormack Solaris 14 Wed Jul 19, 2006 5:09 pm
No new posts shared objects cannot be overwritten even though the proc... prashantarane@gmail.com AIX 3 Wed Jul 19, 2006 6:33 am

Personal Loans | Debt Consolidation | Meeting Rooms | Mortgage | Magazine Subscriptions
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1251s ][ Queries: 16 (0.0548s) ][ GZIP on - Debug on ]