2.2. Compile Stages

  • Preprocessor - expand code based on preprocessor directives (#include and #define).

  • Compiler - convert code to object code.

  • Loader or Linker - combine object code files and convert to executable machine code.