2011/03/29

Linux Library

There are two kinds of libs in Linux:
Static Library & Shared Library

code from Static Library is actually included in final executable.
code from Shared Library is not included in final executable.

For Shared Library, we can use it in two ways:
1. explicit linking (during compile time, designate which lib to link)
2. dynamic loading (during run time, good for plugin)

No comments:

Post a Comment

Post Code on Blogger

Simplest way to post code to blogger for me: <pre style="background: #f0f0f0; border: 1px dashed #CCCCCC; color: black;overflow-x:...