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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.