11 How the compiler works
This chapter describes in more detail how GCC transforms source files to
an executable file. Compilation is a multi-stage process involving
several tools, including the GNU Compiler itself (through the gcc
or g++
frontends), the GNU Assembler as
, and the GNU
Linker ld
. The complete set of tools used in the compilation
process is referred to as a toolchain.