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, cgcc will use this as the compiler to invoke, rather than the default cc. 🌈
  • CHECK β€” if this is set, cgcc will use this as the Sparse program to invoke, rather than the default sparse. ⭐

🫢 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! πŸ’–βœ¨