1 .\" cgcc manpage by Josh Triplett
5 cgcc \- Compiler wrapper to run Sparse after compiling
9 [\fISPARSE OPTIONS\fR]... [\fICOMPILER OPTIONS\fR]... [\fIINPUT FILES\fR]...
14 \fBcgcc\fR provides a wrapper around a C compiler (\fBcc\fR by
15 default) which also invokes the Sparse static analysis tool.
17 \fBcgcc\fR accepts all Sparse command-line options, such as warning
18 options, and passes all other options through to the compiler.
20 By providing the same interface as the C compiler, \fBcgcc\fR allows
21 projects to run Sparse as part of their build without modifying their
22 build system, by using \fBcgcc\fR as the compiler. For many projects,
23 setting \fBCC=cgcc\fR on the \fBmake\fR command-line will work.
28 If set, \fBcgcc\fR will use this as the compiler to invoke, rather
29 than the default \fBcc\fR.
33 If set, \fBcgcc\fR will use this as the Sparse program to invoke,
34 rather than the default \fBsparse\fR.