notes/education/software development/ECE1400/Compilation Steps.md
2024-09-04 15:03:35 -06:00

497 B

  1. Preprocessing: The preprocessor obeys commands that begin with #, also known as directives Commands for the preprocessor are called directives. Directives begin with a pound sign, and they do not end with a semicolon.

Example:

// 
#include <stdio.h>
  1. Compiling. A compiler translates then translates the program into machine instructions.
  2. Linking: The generated objects are combined to create a complete executable.

The preprocessor is typically integrated with the compiler.