DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Shared libraries

Guidelines for writing shared library code

The main advantage of a shared library over an archive library is sharing and the space it saves. These guidelines stress ways to increase sharing while avoiding the disadvantages of a shared library. The guidelines also stress upward compatibility.

We recommend that you read these guidelines once to get a perspective of the concepts involved in building a shared library.

When building a shared library there are a few restrictions involving static linking that should be considered. For example:


Next topic: Choosing library members
Previous topic: Step 6: using mkshlib to build the host and target

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003