Static Linking - CI/CD Glossary Definition
Static linking copies the machine code of needed library functions directly into the final executable at build time, producing a self-contained binary with no external runtime dependencies.
Trade-offs
Static binaries are larger but run anywhere without matching shared libraries, which makes them convenient for containers and ephemeral runners.
Related guides
Dynamic Linking - CI/CD Glossary DefinitionDynamic Linking: Dynamic linking resolves library references at load time or run time rather than build time,…
Linking - CI/CD Glossary DefinitionLinking: Linking is the build step that combines compiled object files and libraries into a single executable…
ABI (Application Binary Interface) - CI/CD Glossary DefinitionABI (Application Binary Interface): An ABI (application binary interface) is the low-level contract between b…