liveBook · Manning

Linker

A linker is a software tool that combines compiled program components, resolves references among them, and produces an executable or linkable program image.

How 2 Manning books explain it

Modern C

A linker is a tool that combines translated program components, resolves references, and produces an executable or linkable program image.

How it is used
Coordinates references among object files, libraries, and program-startup initialization.
How deep it goes
Explains external linkage and startup initialization, but stops short of platform-specific linker invocation details.
Examples
Uses extern references, C library functions in libc.so, and static initialization involving another object’s address.
What you can do after
Understand why cross-file references and some startup initialization require linker involvement.

Read how Modern C explains linker →

Modern C, Third Edition

A linker is a tool that combines compiled program components and resolves references to produce an executable or other linked program image.

How it is used
Connects externally linked identifiers across object files and system libraries, often behind the compiler frontend.
How deep it goes
Explains cross-object correspondence, library residence, and startup timing, but does not detail linker algorithms or command usage.
Examples
Uses extern declarations, file-scope static identifiers, object files, and the system library libc.so.
What you can do after
Evaluate/understand why declarations in different object files can designate one shared function or object.

Read how Modern C, Third Edition explains linker →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.