GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Operating System  >  Unix Programming
Next Question 
 Unix Programming  |  Question 1 of 43    Print  
What are the differences between Shared and Dynamic libraries?

  
Total Answers and Comments: 3 Last Update: May 28, 2006   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 16, 2005 05:17:11   #1  
Chethan        

RE: What are the differences between Shared and Dynami...
Shared libraries are loaded into memory before compilation during parsing whereas dynamic libraries are loaded during compilation time itself.
 
Is this answer useful? Yes | No
April 26, 2006 01:40:40   #2  
dinesh        

RE: What are the differences between Shared and Dynami...

: There are two ways in which a library is shared. Static and dynamic

In statically linked library the code of library is referenced at compile time and the result executable will be bigger.

I dynamically linked libraries the code of library is referenced at run time and resulting executable will be smaller. But drwaback is that at run time this will need the library to reference the library related symbols.


 
Is this answer useful? Yes | No
May 27, 2006 18:26:59   #3  
malathi        

RE: What are the differences between Shared and Dynami...
system allow us to create and use two kinds of libraries - static libraries and shared (or dynamic) libraries.shared and dynamic libraries are one and the same. the object files from the dynamic(shared ) library are not inserted into the executable file unlike static lib...
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape