DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
C compilation system

Guidelines for building dynamically linked libraries

This section gives coding guidelines and maintenance tips for development of dynamically linked libraries. Before getting down to specifics, we should emphasize that if you plan to develop a commercial dynamic shared library, you ought to consider providing a compatible archive as well. As noted previously, some users may not find a dynamically linked library appropriate for their applications. Others may want their applications to run on UNIX operating system releases without shared library support. Dynamically linked (or shared) library code is completely compatible with archive library code. You can use the same source files to build archive and dynamically linked library versions of a library. You can use dynamically linked libraries for the following reasons:

To enhance performance of a dynamically linked library, you should:

  1. Minimize the library's data segment

  2. Minimize paging activity

Next topic: Minimize the library's data segment
Previous topic: -1

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