Phase 5: Loading

Phase 5 is called loading. Before a program can be executed, it must first be placed in memory (Fig. 1.5). This is done by the loader, which takes the executable image from disk and transfers it to memory. Additional components from shared libraries that support the program are also loaded.


Fig. 1.5. Typical C++ development environment—loading phase.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

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