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. Use the
-C option to keep comments in the preprocessed
-E -dD to generate interleaved
macro definitions and preprocessor output:
armclang --target=aarch64-arm-none-eabi -E -dD source.c > raw.c
-E -dM to list all the macros
that are defined at the end of the translation unit, including the predefined
armclang --target=arm-arm-none-eabi -E -dM source.c