O'Reilly logo

Just Enough C/C++ Programming by Guy W. Lecky-Thompson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Libraries and Linking

For readers who will be going on to more complex environments, including all kinds of specialized libraries and platforms, I’ll just take a few moments to look at the background of libraries and the linking process. The examples you’ve seen thus far all assume that you’ll be linking with the libraries that provide the functions you need at build time.

In other words, these libraries will be statically linked. We cannot change the functionality included in the application without recompiling the libraries (into object code) and the application before linking the object code for the libraries and the application.

Build tools typically provide a way to create a special kind of object code, called a lib file, which contains ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required