CmdID

CmdID / Commands

ccache

C/C++ compiler cache. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

C/C++ compiler cache. Note: Packages usually provide symlinks for compilers in /usr/lib/ccache/bin. Prepend this directory to $PATH to automatically use ccache for them.

Show current cache statistics

ccache --show-statsIdentify

Clear all cache

ccache --clearIdentify

Reset statistics (but not cache itself)

ccache --zero-statsIdentify

Compile C code and cache compiled output (to use ccache on all gcc invocations, see the note above)

ccache gcc path/to/file.cIdentify