Search notes:

gcc -E

gcc -E only invokes the preprocessor without compiling or using the linker.
Without -o, output is sent to stdout.
By default, comments are removed. This can be overwritten with -C and -CC (uppercase C).

See also

gcc -P to exclude the line markers in the output.
-S
GCC options
The equivalent Visual Compiler options /E, /P and /EP.

Index