-Xprep_path


This option specifies the folder to save the preprocessed file.

[Specification format]

-Xprep_path[=path]

 

-

Interpretation when omitted

A preprocessed file will not be output (except when specifying the -P option).

[Detailed description]

-

This option specifies the folder to save a preprocessed file as path.

-

If an existing folder is specified as path, the preprocessed file is saved under the C source file name with the extension replaced by ".i" to path.
An error will occur if a nonexistent folder is specified.

-

An existing file can be specified as path.
If one preprocessed file is output, it will be saved with path as the file name.
If two or more preprocessed files are output, an error will occur.
An error will occur if a nonexistent file is specified.


-

If two or more files with the same name (even if they are in different folders) are specified as source files, then a warning is output, and a preprocessed file is only saved for the last source file to be specified.

-

If two or more files with the same name (even if they are in different folders) are specified as source files, then a warning is output, and a preprocessed file is only saved for the last source file to be specified.

[Example of use]

-

To save the preprocessed file to folder "D:\sample", describe as:

>ccrh -Xprep_path=D:\sample -Xcommon=rh850 main.c