Everything

 

-prep_path


This option specifies the folder to save the preprocessed C source file.

[Specification format]

-prep_path[=path]

 

-

Interpretation when omitted

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

[Detailed description]

-

This option specifies the folder to save a preprocessed C source file generated by specifying the -P option as path.

-

If an existing folder is specified as path, the preprocessed C source 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 C source file is output, it will be saved with path as the file name.
If two or more preprocessed C source files are output, an error will occur.
An error will occur if a nonexistent file is specified.

-

If "=path" is omitted, the preprocessed C source file is saved under the C source file name with the extension replaced by ".i".

-

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 C source file is only saved for the last source file to be specified.

[Example of use]

-

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

>ccrl -prep_path=D:\sample -P -cpu=S2 -dev=dr5f100pj.dvf main.c