mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
5305776d45
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com>
581 B
581 B
ccache
C/C++ compiler cache. Note: Packages usually provide symlinks for compilers in
/usr/lib/ccache/bin. Prepend this directory to$PATHto automatically useccachefor them. More information: https://ccache.dev/manual/latest.html.
- Show current cache statistics:
ccache {{[-s|--show-stats]}}
- Clear all cache:
ccache {{[-C|--clear]}}
- Reset statistics (but not cache itself):
ccache {{[-z|--zero-stats]}}
- Compile C code and cache compiled output (to use
ccacheon allgccinvocations, see the note above):
ccache gcc {{path/to/file.c}}