Adding Shared Libraries to Jupiter

Now that I've presented the background information, let's take a look at how we might add a Libtool shared library to the Jupiter project. First, let's consider what functionality we could add to Jupiter using a shared library. Perhaps we wish to provide our users with some library functionality that their own applications could use. Or we might have several applications in a package that need to share the same functionality. A shared library is a great tool for both of these scenarios because you get to reuse code and save memory—the cost of the memory used by shared code is amortized across multiple applications, both internal and external to the project.

Let's add a shared library to Jupiter that provides Jupiter's ...

Get Autotools 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.