News | About | Get Frugalware | Packages | Documentation | Discussion Forums | Bug Tracker | Wiki | Community | Development

Ccache

From FrugalWiki

Jump to: navigation, search



Contents

Introduction

There's a wonderful tool for gcc called ccache. You can read about it at their home page.

If you're always compiling the same programs over and over again — such as trying out several kernel patches, or testing your own development — then ccache is perfect. While it may take a few seconds longer to compile a program the first time with ccache, subsequent compiles will be much, much faster.

Installation

ccache is available as a package in the extra repository. In order to install it, run

Root terminal 48px.png
# pacman -S ccache


Enable ccache for makepkg

After installing ccache, makepkg will automagically uses it.

Misc

CLI

You can use the command line utility ccache to...

Show statistics summary:

User terminal 48px.png
$ ccache -s

Clear the cache completely:

User terminal 48px.png
$ ccache -C

Additional Resources

ccache homepage

ccache documentation

Personal tools
Namespaces
Variants
Actions