cgcc(1)
cgcc(1) β General Commands Manual, but make it bestie energy π β¨
π NAME π
cgcc β compiler wrapper to run Sparse after compiling. no cap, that's the whole vibe.
β¨ SYNOPSIS β¨
cgcc [SPARSE OPTIONS]... [COMPILER OPTIONS]... [INPUT FILES]...
make CC=cgcc
πΈ DESCRIPTION πΈ
okay so cgcc is literally a wrapper around a C compiler β cc by default β that also invokes the Sparse static analysis tool. bestie behavior fr fr. π¦
It accepts all Sparse command-line options, such as warning options, and passes all other options straight through to the compiler. π
By providing the same interface as the C compiler, cgcc lets projects run Sparse as part of their build without modifying their build system β just by using cgcc as the compiler. For many projects, setting CC=cgcc on the make command line will work. iconic. π
π ENVIRONMENT π
REAL_CCβ if this is set,cgccwill use this as the compiler to invoke, rather than the defaultcc. πCHECKβ if this is set,cgccwill use this as the Sparse program to invoke, rather than the defaultsparse. β
π«Ά SEE ALSO π«Ά
that's the cgcc(1) page from the General Commands Manual β no version/date info in this footer, just the classic cgcc(1) stamp. bye bestie! πβ¨
π¦ where this page comes from
- alpine 3.24: sparse-doc 0.6.4-r2 Β· MIT
- arch rolling: sparse 0.6.5+rc1-3 Β· MIT
- debian bookworm: sparse 0.6.4-3 Β· MIT
- debian trixie: sparse 0.6.4-5 Β· MIT
- epel 9: sparse 0.6.4-3.el9 Β· MIT
- fedora 43: sparse 0.6.4-4.gce1a6720f69e.fc43.6 Β· MIT
- fedora 44: sparse 0.6.4-4.gce1a6720f69e.fc44.7 Β· MIT
- nixos 26.05: smatch 1.74
- nixos 26.05: sparse 0.6.4-unstable-2024-02-03
- nixpkgs unstable: smatch 1.75
- nixpkgs unstable: sparse 0.6.5-rc1-unstable-2025-12-18
- opensuse-leap 16.0: sparse 0.6.4+20240203-bp160.1.12 Β· MIT
- opensuse-leap 16.0: sparse 0.6.4+20240203-bp160.1.12 Β· MIT
- opensuse-leap 16.0: sparse 0.6.4+20240203-bp160.1.12 Β· MIT
- opensuse-leap 16.0: sparse 0.6.4+20240203-bp160.1.12 Β· MIT
- ubuntu jammy: sparse 0.6.4-2 Β· MIT
- ubuntu noble: sparse 0.6.4-4ubuntu3 Β· MIT
- ubuntu questing: sparse 0.6.4-5ubuntu2
- ubuntu resolute: sparse 0.6.4-5ubuntu3 Β· MIT
- ubuntu stonking: sparse 0.6.4-5ubuntu3 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms