Everything

 

-xcref


< Compile Options / Other Options >

[Format]

-xcref=path

 

-

[Default]

The static analysis information file is not output.

[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]

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

> ccrx -xcref=info.cref -isa=rxv3 main.c