|Non-Confidential||PDF version||ARM DUI0472M|
|Home > Compiler Command-line Options > -E|
Executes the preprocessor step only.
By default, output from the preprocessor is sent to the standard output stream and can be redirected to a file using standard UNIX and MS-DOS notation.
You can also use the
-o option to specify a file for the preprocessed
output. By default, comments are stripped from the output. The preprocessor accepts source
files with any extension, for example,
To generate interleaved macro definitions and preprocessor output, use
armcc -Epreprocessor. Normally, compilation expands all explicit
#includeheader files. In addition, some C++ files such as .cc files are added implicitly. However, using
-Eprevents implicit inclusion of these files. Therefore, if template entities are defined in a .cc file,
armcc -Efails to include such definitions.
source.c > raw.c