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

Shared libraries

Efficient use of disk storage space, memory, and computing power is becoming increasingly important. A shared library can offer savings in all three areas. For example, if constructed properly, a shared library can make a.out files (executable object files) smaller on disk storage and processes (a.out files that are executing) smaller in memory.

The section ``What is a shared library?'', describes what a shared library is and how to use one to build a.out files. It also offers suggestions about when and when not to use a shared library and how to determine whether an a.out uses a shared library.

The section ``Building a shared library'', describes how to build a shared library. Specifically, this section describes how to use mkshlib(CP) and how to write C code for shared libraries. Also described is how to use the tool chkshlib(CP), which checks the compatibility of versions of shared libraries.

This chapter is organized as follows:


Next topic: What is a shared library?

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