0

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?

1
  • You should provide more context, it's not clear what you are trying to link. Commented Oct 14, 2010 at 9:01

1 Answer 1

1

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

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.