Chapter 7. Libraries and Linking


Linking is the final step in generating an application. This chapter discusses how to link to existing libraries and how to develop new libraries. There are two types of libraries: static and dynamic. Static libraries are typically used as part of the build process, whereas dynamic libraries are usually shipped as part of the final product. When dynamic libraries are used as part of an application it is necessary to specify how those libraries are to be located at runtime. Another useful type of library is an interposing library. These libraries fit between an application and its original libraries and provide replacement code to be called instead of the code in the original libraries. By the end of ...

Get Solaris™ Application Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.