How to create a shared library in unix/linux

Create the object file with -fPIC for position-independent code, then run gcc with -shared option.

No comments:

Post a Comment

comment on this post

Note: Only a member of this blog may post a comment.