from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

82229

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Tutorials per portage category->dev-util->ccache

The tool ccache is able to speed up recompilations of the same sources by caching the gcc outputs into cache files. If ccache detects a recompilation of a file it has in cache, the cache files get returned.
The use of ccache is transparent to the end user except that some compiles are faster.
It uses ~/.ccache as its storage place.
If you want to speed up ccache, mount a reiserfs partition to that ccache directory.
Reiserfs is very fast when dealing with small files and this makes it very usefull for ccache.

From the ccache man-page

INSTALLATION

There are two ways to use ccache. You can either prefix your compile commands with "ccache" or you can create a symbolic link between ccache and the names of your compilers. The first method is most convenient if you just want to try out ccache or wish to use it for some specific projects. The second method is most useful for when you wish to use ccache for all your compiles.


To install for usage by the first method just copy ccache to somewhere in your path.


To install for the second method do something like this:

   
cp ccache /usr/local/bin/
ln -s /usr/local/bin/ccache /usr/local/bin/gcc
ln -s /usr/local/bin/ccache /usr/local/bin/g++
ln -s /usr/local/bin/ccache /usr/local/bin/cc


This will work as long as /usr/local/bin comes before the path to gcc (which is usually in /usr/bin). After installing you may wish to run "which gcc" to make sure that the correct link is being used.

Note! Do not use a hard link, use a symbolic link. A hardlink will cause "interesting" problems.
rate this article:
current rating: average rating: 1.9 (40 votes) (1=very good 6=terrible)
Your rating:
Very good (1) Good (2) ok (3) average (4) bad (5) terrible (6)

back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2025-12-01
beniget - 0.5.0
Ebuild name:

dev-python/beniget-0.5.0

Description

Extract semantic information about static Python code

Added to portage

2025-12-01

buffer - 1.19-r5
Ebuild name:

sys-block/buffer-1.19-r5

Description

A tapedrive tool for speeding up reading from and writing to tape

Added to portage

2025-12-01

cryptodev - 1.14
Ebuild name:

sys-kernel/cryptodev-1.14

Description

device that allows access to Linux kernel cryptographic drivers

Added to portage

2025-12-01

gpa - 0.11.0-r2
Ebuild name:

app-crypt/gpa-0.11.0-r2

Description

GNU Privacy Assistant (GPA) a graphical user interface for GnuPG

Added to portage

2025-12-01

irqbalance - 1.9.4-r3
Ebuild name:

sys-apps/irqbalance-1.9.4-r3

Description

Distribute hardware interrupts across processors on a multiprocessor s

Added to portage

2025-12-01

meson - 1.10.0_rc1
Ebuild name:

dev-build/meson-1.10.0_rc1

Description

Open source build system

Added to portage

2025-12-01

mtx - 1.3.12-r1
Ebuild name:

sys-block/mtx-1.3.12-r1

Description

Utilities for controlling SCSI media changers and tape drives

Added to portage

2025-12-01

plz - 0.7.2
Ebuild name:

app-emacs/plz-0.7.2

Description

HTTP library with curl backend for GNU Emacs

Added to portage

2025-12-01

radicale - 3.5.9
Ebuild name:

www-apps/radicale-3.5.9

Description

A simple CalDAV calendar server

Added to portage

2025-12-01

socklog - 2.1.2
Ebuild name:

app-admin/socklog-2.1.2

Description

Small secure replacement for syslogd with automatic log rotation

Added to portage

2025-12-01

zerotier - 1.16.0-r2
Ebuild name:

net-misc/zerotier-1.16.0-r2

Description

A software-based managed Ethernet switch for planet Earth

Added to portage

2025-12-01

2025-11-30
abiword - 3.0.7
Ebuild name:

app-office/abiword-3.0.7

Description

Fully featured yet light and fast cross platform word processor

Added to portage

2025-11-30

b2 - 5.3.3
Ebuild name:

dev-build/b2-5.3.3

Description

A system for large project software construction, simple to use and powerful

Added to portage

2025-11-30

beartype - 0.22.7
Ebuild name:

dev-python/beartype-0.22.7

Description

Unbearably fast runtime type checking in pure Python

Added to portage

2025-11-30

catch - 3.11.0
Ebuild name:

dev-cpp/catch-3.11.0

Description

Modern C++ header-only framework for unit-tests

Added to portage

2025-11-30

cpik - 0.7.4_p4-r1
Ebuild name:

dev-embedded/cpik-0.7.4_p4-r1

Description

C compiler for PIC18 devices

Added to portage

2025-11-30

dino - 0.5.1
Ebuild name:

net-im/dino-0.5.1

Description

Modern Jabber/XMPP Client using GTK+/Vala

Added to portage

2025-11-30

dos2unix - 7.5.3
Ebuild name:

app-text/dos2unix-7.5.3

Description

Convert DOS or MAC text files to UNIX format or vice versa

Added to portage

2025-11-30

evolution - 3.58.2
Ebuild name:

mail-client/evolution-3.58.2

Description

Integrated mail, addressbook and calendaring functionality

Added to portage

2025-11-30

evolution-data-server - 3.58.2
Ebuild name:

gnome-extra/evolution-data-server-3.58.2

Description

Evolution groupware backend

Added to portage

2025-11-30

evolution-ews - 3.56.2-r1
Ebuild name:

gnome-extra/evolution-ews-3.56.2-r1

Description

Evolution module for connecting to Microsoft Exchange Web Servi

Added to portage

2025-11-30

evolution-ews - 3.58.2
Ebuild name:

gnome-extra/evolution-ews-3.58.2

Description

Evolution module for connecting to Microsoft Exchange Web Services

Added to portage

2025-11-30

fzy - 1.1
Ebuild name:

app-text/fzy-1.1

Description

Fuzzy text selector (interactive grep) for console

Added to portage

2025-11-30

gast - 0.7.0
Ebuild name:

dev-python/gast-0.7.0

Description

A generic AST to represent Python2 and Python3's Abstract Syntax Tree (AST)

Added to portage

2025-11-30

gcc - 15.2.1_p20251129
Ebuild name:

sys-devel/gcc-15.2.1_p20251129

Description

The GNU Compiler Collection

Added to portage

2025-11-30

gnome-user-share - 48.2
Ebuild name:

gnome-extra/gnome-user-share-48.2

Description

Personal file sharing for the GNOME desktop

Added to portage

2025-11-30

graphviz - 14.0.5-r1
Ebuild name:

media-gfx/graphviz-14.0.5-r1

Description

Open Source Graph Visualization Software

Added to portage

2025-11-30

gtk - 4.20.3-r2
Ebuild name:

gui-libs/gtk-4.20.3-r2

Description

GTK is a multi-platform toolkit for creating graphical user interfaces

Added to portage

2025-11-30

jaconv - 0.4.1
Ebuild name:

dev-python/jaconv-0.4.1

Description

Pure-Python Japanese character interconverter

Added to portage

2025-11-30

ktechlab - 0.51.0_p20251122
Ebuild name:

sci-electronics/ktechlab-0.51.0_p20251122

Description

IDE for microcontrollers and electronics

Added to portage

2025-11-30

kube-apiserver - 1.32.10
Ebuild name:

sys-cluster/kube-apiserver-1.32.10

Description

Kubernetes API server

Added to portage

2025-11-30

kube-apiserver - 1.33.6
Ebuild name:

sys-cluster/kube-apiserver-1.33.6

Description

Kubernetes API server

Added to portage

2025-11-30

kube-apiserver - 1.34.2
Ebuild name:

sys-cluster/kube-apiserver-1.34.2

Description

Kubernetes API server

Added to portage

2025-11-30

kube-controller-manager - 1.32.10
Ebuild name:

sys-cluster/kube-controller-manager-1.32.10

Description

Kubernetes Controller Manager

Added to portage

2025-11-30

kube-controller-manager - 1.33.6
Ebuild name:

sys-cluster/kube-controller-manager-1.33.6

Description

Kubernetes Controller Manager

Added to portage

2025-11-30

kube-controller-manager - 1.34.2
Ebuild name:

sys-cluster/kube-controller-manager-1.34.2

Description

Kubernetes Controller Manager

Added to portage

2025-11-30

kube-proxy - 1.32.10
Ebuild name:

sys-cluster/kube-proxy-1.32.10

Description

Kubernetes Proxy service

Added to portage

2025-11-30

kube-proxy - 1.33.6
Ebuild name:

sys-cluster/kube-proxy-1.33.6

Description

Kubernetes Proxy service

Added to portage

2025-11-30

kube-proxy - 1.34.2
Ebuild name:

sys-cluster/kube-proxy-1.34.2

Description

Kubernetes Proxy service

Added to portage

2025-11-30

kube-scheduler - 1.32.10
Ebuild name:

sys-cluster/kube-scheduler-1.32.10

Description

Kubernetes Scheduler

Added to portage

2025-11-30

kube-scheduler - 1.33.6
Ebuild name:

sys-cluster/kube-scheduler-1.33.6

Description

Kubernetes Scheduler

Added to portage

2025-11-30

kube-scheduler - 1.34.2
Ebuild name:

sys-cluster/kube-scheduler-1.34.2

Description

Kubernetes Scheduler

Added to portage

2025-11-30

kubeadm - 1.32.10
Ebuild name:

sys-cluster/kubeadm-1.32.10

Description

CLI to Easily bootstrap a secure Kubernetes cluster

Added to portage

2025-11-30

kubeadm - 1.33.6
Ebuild name:

sys-cluster/kubeadm-1.33.6

Description

CLI to Easily bootstrap a secure Kubernetes cluster

Added to portage

2025-11-30

kubeadm - 1.34.2
Ebuild name:

sys-cluster/kubeadm-1.34.2

Description

CLI to Easily bootstrap a secure Kubernetes cluster

Added to portage

2025-11-30

kubectl - 1.32.10
Ebuild name:

sys-cluster/kubectl-1.32.10

Description

CLI to run commands against Kubernetes clusters

Added to portage

2025-11-30

kubectl - 1.33.6
Ebuild name:

sys-cluster/kubectl-1.33.6

Description

CLI to run commands against Kubernetes clusters

Added to portage

2025-11-30

kubelet - 1.32.10
Ebuild name:

sys-cluster/kubelet-1.32.10

Description

Kubernetes Node Agent

Added to portage

2025-11-30

kubelet - 1.33.6
Ebuild name:

sys-cluster/kubelet-1.33.6

Description

Kubernetes Node Agent

Added to portage

2025-11-30

kubelet - 1.34.2
Ebuild name:

sys-cluster/kubelet-1.34.2

Description

Kubernetes Node Agent

Added to portage

2025-11-30

lego - 4.29.0
Ebuild name:

app-crypt/lego-4.29.0

Description

Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go

Added to portage

2025-11-30

libtmux - 0.49.0
Ebuild name:

dev-python/libtmux-0.49.0

Description

Typed library that provides an ORM wrapper for tmux, a terminal multiplex

Added to portage

2025-11-30

link-grammar - 5.13.0
Ebuild name:

dev-libs/link-grammar-5.13.0

Description

A Syntactic English parser

Added to portage

2025-11-30

nuitka - 2.8.9
Ebuild name:

dev-python/nuitka-2.8.9

Description

Python to native compiler

Added to portage

2025-11-30

plz - 0.7.2
Ebuild name:

app-emacs/plz-0.7.2

Description

HTTP library with curl backend for GNU Emacs

Added to portage

2025-11-30

pyspellchecker - 0.8.4
Ebuild name:

dev-python/pyspellchecker-0.8.4

Description

Pure python spell checker based on work by Peter Norvig

Added to portage

2025-11-30

qutebrowser - 3.6.3
Ebuild name:

www-client/qutebrowser-3.6.3

Description

Keyboard-driven, vim-like browser based on Python and Qt

Added to portage

2025-11-30

renderdoc - 1.36-r1
Ebuild name:

media-gfx/renderdoc-1.36-r1

Description

Standalone graphics debugging tool

Added to portage

2025-11-30

sphinx - 9.0.0_rc3
Ebuild name:

dev-python/sphinx-9.0.0_rc3

Description

Python documentation generator

Added to portage

2025-11-30

stdio-mgr - 1.0.1.1
Ebuild name:

dev-python/stdio-mgr-1.0.1.1

Description

Context manager for mocking/wrapping stdin/stdout/stderr

Added to portage

2025-11-30

systemd - 259_rc2
Ebuild name:

sys-apps/systemd-259_rc2

Description

System and service manager for Linux

Added to portage

2025-11-30

types-psutil - 7.1.3.20251130
Ebuild name:

dev-python/types-psutil-7.1.3.20251130

Description

Typing stubs for psutil

Added to portage

2025-11-30

vivaldi - 7.7.3851.56
Ebuild name:

www-client/vivaldi-7.7.3851.56

Description

A browser for our friends

Added to portage

2025-11-30

vivaldi-snapshot - 7.8.3879.3
Ebuild name:

www-client/vivaldi-snapshot-7.8.3879.3

Description

A browser for our friends

Added to portage

2025-11-30

wcd - 6.0.6
Ebuild name:

app-misc/wcd-6.0.6

Description

Wherever Change Directory

Added to portage

2025-11-30

yq-go - 4.49.2
Ebuild name:

app-misc/yq-go-4.49.2

Description

yq is a lightweight and portable command-line YAML, JSON and XML processor

Added to portage

2025-11-30

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 61.6 ms