GCC Compilation Stage
GCC is a collection of compilers.
The C compiler itself turns C code into an assembly code listing, and this is sent to the assembler to be converted into an object file and later linked into a target binary.
If you only want some of the stages of compilation, you can use -x
(or filename suffixes) to tell gcc where to start, and one of the options -c
, -S
, or -E
to say where gcc
is to stop.