CHAPTER 6

image

Designing Dynamic Libraries: Basics

Chapter 5 covered the details of the basic ideas behind the static libraries concept, so now it’s time to examine the details of dealing with dynamic libraries. This is important because these details affect the everyday work of the programmer/software designer/software architect.

Creating the Dynamic Library

The compilers and linkers typically provide a rich variety of flags which may ultimately provide a lot of flavors to the process of building a dynamic library. For things to be really interesting, even the simplest, widely used recipe that requires one compiler and one linker flag may not be ...

Get Advanced C and C++ Compiling now with O’Reilly online learning.

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