|Non-Confidential||PDF version||ARM DUI0472J|
|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
C++ implicit inclusion does not take place when using the
preprocessor. Normally, compilation expands all explicit
files. In addition, some C++ files such as .cc files are added implicitly. However, using
-E prevents implicit inclusion of these files. Therefore, if template
entities are defined in a .cc file,
armcc -E fails to include such
armcc -E source.c > raw.c