Everything

 

-Xcref


This option outputs the static analysis information file.

[Specification format]

-Xcref=path

 

-

Interpretation when omitted

The static analysis information file is not output.

[Detailed description]

-

This option specifies the location where the static analysis information file to be generated during compilation as path.

-

If an existing folder is specified as path, the static analysis information file is saved under the C source file name with the extension replaced by ".cref" to path.

-

If an existing file name is specified or a non-existing folder or file name is specified, the static analysis information file is output with path as the file name when one static analysis information file is output.
If two or more static analysis information files are output, an error will occur.

-

An error will occur if "=path" is omitted.

-

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

[Example of use]

-

To output the static analysis information file as file name "info.cref", describe as:

>ccrh -Xcref=info.cref -Xcommon=rh850 main.cs