Training
×

Sharing code – Static Library

First let us refresh some basics on sharing code with libraries.
It is quite common that the same code ends up in more than one application. Usually, this code is then collected in a library and linked with each application that needs one or more of the functions. In this way the common source and object code in the library only needs to be maintained in one place.
But when some of this common code changes, all applications that use this common code must be rebuilt in order to get linked again to the library.
When thinking about sharing code, it is just logical to imagine sharing data as well.