Possible Duplicates:
Static linking vs dynamic linking
C++ application – should I use static or dynamic linking for the libraries?
What point we should take care before selecting static and dynamic linking?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
static linking is used for libraries which are trivial and which needs to be linked in order to execute your binary.
dynamic linking is used when you can load library on demand and once task is done, you can unload it. To Apply patches or use updated versions, dynamic linking will be useful, if binary compatibility is taken care-off.
—
Cheers