static linking

0001-01-01

Static linking occurs during the compilation of a program. A static-linked program copies all of the necessary libraries used in the program’s code into the final executable file, whereas dynamic linking loads Dynamic Link Libraries (DLLs) or shared objects (.so) at runtime.