2.1.42. -E

This option instructs the compiler to execute only the preprocessor step.

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, .o, .s, and .txt.


armcc -E source.c > raw.c

See also

Copyright © 2007, 2010 ARM Limited. All rights reserved.ARM DUI 0348A