Linker
A linker is a software tool that combines compiled program components, resolves references among them, and produces an executable or library.
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.
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.
Also covered in
- Systems Programming with ZigIn early access (MEAP)
- Rust in Action: Systems programming concepts and techniques
What to know first
- memory locationA memory location is an addressable unit or region of computer memory identified for storing or accessing data or instructions.
Related concepts
- external linkageused by · External linkage is the property that allows declarations in different translation units to designate the same entity.
- global_asm!used by · global_asm! is a Rust macro that emits module-level assembler text as standalone symbols in the resulting object or executable.
- go commandused by · The go command is Go’s standard command-line interface for compiling, building, testing, formatting, analyzing, and managing Go programs and dependencies.
- libraryuses · A software library is a reusable collection of code or components that provides functionality for other programs to incorporate or invoke.
- memory locationuses · A memory location is an addressable unit or region of computer memory identified for storing or accessing data or instructions.
Questions about linker
What is linker?
A linker is a software tool that combines compiled program components, resolves references among them, and produces an executable or library.
Which Manning books explain linker?
Modern C and Modern C, Third Edition.
What should I know before learning linker?
Manning books that teach linker usually introduce memory location first.
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.

