‑‑preprocess
In this section:
Syntax
‑‑preprocess=[c][n][s]{filename|directory}
Parameters
No parameter | A preprocessed file. |
| Preserves C and C++ style comments that otherwise are removed by the preprocessor. Assembler style comments are always preserved. |
| Preprocess only. |
| Suppress |
| The output is stored in the specified file. |
| The output is stored in a file (filename extension |
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:
iasmriscv sourcefile ‑‑preprocess=c outputCaution
Project>Options>Assembler >Preprocessor>Preprocessor output to file