Expert C Programming

(Jeff_L) #1

Even with static linking, the whole of libc. a is not brought into the executable, just the routines
needed.


The Benefits of Dynamic Linking


Dynamic linking is the more modern approach, and has the advantage of much smaller executable size.
Dynamic linking trades off more efficient use of the disk and a quicker link-edit phase for a small
runtime penalty (since some of the linker's work is deferred until loadtime).


Handy Heuristic

Free download pdf