Skip to main content

IAR Embedded Workbench for RH850 3.20.x

‑‑preprocess

In this section:
Syntax
‑‑preprocess=[c][n][s] {filename|directory} 
Parameters

No parameter

A preprocessed file.

c

Preserves C and C++ style comments that otherwise are removed by the preprocessor. Assembler style comments are always preserved.

n

Preprocess only.

s

Suppress #line directives.

filename

The output is stored in the specified file.

directory

The output is stored in a file (filename extension i) which is stored in the specified directory. The filename is the same as the name of the assembled source file.

For information about specifying a filename or directory, see Specifying parameters.

Description

Use this option to direct preprocessor output to a named file.

Example

To store the assembler output with preserved comments to the file output.i, use:

iasmrh850 sourcefile ‑‑preprocess=c output

Caution

Project>Options>Assembler >Preprocessor>Preprocessor output to file