C.1 Linkers

In any real-life application development, the total software is divided into a number of modules, which are developed, debugged and tested separately and then joined together. Each module may be made up of several sub-modules, etc. All these modules need to be linked up to form a single executable program. At the minimum, even for a student's single module learning program, at least the run-time library need to be linked with it.

Linkers are programs that link together several object modules and libraries to form a single, coherent program. Object modules are the machine code output from an assembler or a compiler and contain executable machine code and data together with information that allows the linker to combine the modules together ...

Get Compilers: Principles and Practice now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.