Chapter 8: Creating Shared Libraries
In this chapter, we will learn what libraries are and why they are such a big part of Linux. We also learn the differences between static libraries and dynamic libraries. When we know what libraries are, we start to write our own—both static and dynamic ones. We also take a quick peek inside a dynamic library.
The use of libraries has many benefits—for example, a developer doesn't need to reinvent functions over and over again as there's often an existing function already in a library. A big advantage with dynamic libraries is that the resulting program gets much smaller in size, and the libraries are upgradable even after the program has been compiled.
In this chapter, we'll learn how to make our own libraries ...
Get Linux System Programming Techniques 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.