ARM Ltd. Windows GCC Assembler > Preprocessor

Use the Preprocessor panel to specify the preprocessor behavior. You can specify whether to search system directories or preprocess only based on the options available in this panel.

The following table lists and describes the various options available on the Preprocessor panel.

Table 1. ARM Ltd. Windows GCC Assembler > Preprocessor
Option Description
Use preprocessor (-x assembler) Check this option to use the preprocessor for the assembler.
Do not search system directories (-nostdinc) Check this option if you do not want the assembler to search the system directories. By default, this checkbox is clear. The assembler performs a full search that includes the system directories.
Preprocess only (-E) Check this option if you want the assembler to preprocess source files and not to run the compiler. By default, this checkbox is clear and the source files are not preprocessed.
Defined symbols (-D) Use this option to specify the substitution strings that the assembler applies to all the assembly-language modules in the build target. Enter just the string portion of a substitution string. The IDE prepends the -D token to each string that you enter. For example, entering opt1 x produces this result on the command line: -Dopt1 xNote: This option is similar to the DEFINE directive, but applies to all assembly-language modules in a build target.
Undefined symbols (-U) Undefines the substitution strings you specify in this panel.