This article needs additional citations for verification. (October 2013) |
A static library or statically linked library contains functions and data that can be included in a consuming computer program at build-time such that the library does not need to be accessible in a separate file at run-time.[1] If all libraries are statically linked, then the resulting executable will be stand-alone, a.k.a. a static build.
A static library is either merged with other static libraries and object files at build-time to form a single executable or loaded at run-time into the address space of their corresponding executable at a static memory offset determined at compile-time/link-time.