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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.