static リンク - CI/CD用語集の定義
static リンクは、必要なライブラリ関数のマシンコードを build 時に最終的な実行可能ファイルへ直接コピーし、外部の runtime 依存を持たない自己完結型のバイナリを生成します。
トレードオフ
static バイナリはサイズが大きくなりますが、対応する共有ライブラリなしでどこでも実行できるため、container や ephemeral な runner にとって便利です。
関連ガイド
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…