-P


This option executes only preprocessing for the input file.

[Specification format]

-P

 

-

Interpretation when omitted

Processing is continued after preprocessing.

The preprocessed file are not output.

[Detailed description]

-

This option executes only preprocessing for the input file and outputs the results to a file.

-

The output file name will be the input file name with the extension replaced by ".i".

-

The output file name can be specified by specifying this option and the -o option.

-

The contents of the output file can be controlled by specifying the -Xpreprocess option.

[Example of use]

-

To execute only preprocessing for the input file and output the results to file "main.i", describe as:

>ccrh -P -Xcommon=rh850 main.c