|
|
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: