C Code Review Compiler - crccc


The C Code Review Compiler compiles C source files for code review static analysis. It produces an .xob output file, which must be linked by using the C Code Review Linker crcld.


crccc <source> <xob> <def> <opp> [<options>]



Analyses the code and produces an .xob object file for use with the C Code Review Linker (crcld).


Command line options can be abbreviated to their shortest unambiguous number of characters and are not case-sensitive.


Specifies the code review rule configuration file. By default, a default internal configuration rule set is used



Specifies the locations of included files.



Specifies the location of additional system include directories.



By default, files from system include directories are not analyzed by Code Review. Use this options to force the analysis of system include files.


[-DEFINE=<ident>[=<value>] {[,<ident>[=<value>]}]

This option specifies conditions to be applied when the Code Review Compiler starts. These conditions allow you to define C symbols that apply conditions to the generation of any IF ... ELSE ... END IF blocks in the test script.

If the option is used with one of the conditions specified in the IF instruction, the IF ... ELSE block (if ELSE is present) or the ELSE ... END IF block (if ELSE is not present) is analyzed and generated. The ELSE ... END IF block is eliminated.

If the option is not used or if none of the conditions specified in the IF instruction are satisfied, the ELSE ... END IF block is analyzed and generated.

All symbols defined by this option are equivalent to the following line in C

-define <ident> [<value>]


By default, the ELSE ... END IF blocks are analyzed and generated.



Allows you to undefine symbols. This is equivalent to the -U option of the compiler.


crccc mysource.c output.xob atus_c.def atl.opp

Related Topics

Code review overviewRunning a code reviewC Code Review Linker - crcld