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:

83464

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
2026-02-28
nwjs - 0.108.0
Ebuild name:

dev-libs/nwjs-0.108.0

Description

Framework that lets you call all Node.js modules directly from the DOM

Added to portage

2026-02-28

samba - 4.23.6
Ebuild name:

net-fs/samba-4.23.6

Description

Samba Suite Version 4

Added to portage

2026-02-28

tls - 2.0
Ebuild name:

dev-tcltk/tls-2.0

Description

TLS OpenSSL extension to Tcl

Added to portage

2026-02-28

udiskie - 2.6.2
Ebuild name:

sys-fs/udiskie-2.6.2

Description

An automatic disk mounting service using udisks

Added to portage

2026-02-28

vanilla-sources - 6.18.15
Ebuild name:

sys-kernel/vanilla-sources-6.18.15

Description

Full sources for the Linux kernel

Added to portage

2026-02-28

vanilla-sources - 6.19.5
Ebuild name:

sys-kernel/vanilla-sources-6.19.5

Description

Full sources for the Linux kernel

Added to portage

2026-02-28

vivaldi - 7.8.3925.74
Ebuild name:

www-client/vivaldi-7.8.3925.74

Description

A browser for our friends

Added to portage

2026-02-28

vivaldi-snapshot - 7.9.3960.3
Ebuild name:

www-client/vivaldi-snapshot-7.9.3960.3

Description

A browser for our friends

Added to portage

2026-02-28

2026-02-27
aflplusplus - 4.35c
Ebuild name:

app-forensics/aflplusplus-4.35c

Description

Fork of AFL, the popular compile-time instrumentation fuzzer

Added to portage

2026-02-27

array-api-compat - 1.14.0
Ebuild name:

dev-python/array-api-compat-1.14.0

Description

Array API standard compatibility wrapper over NumPy and others

Added to portage

2026-02-27

awscli - 1.44.48
Ebuild name:

app-admin/awscli-1.44.48

Description

Universal Command Line Environment for AWS

Added to portage

2026-02-27

boto3 - 1.42.58
Ebuild name:

dev-python/boto3-1.42.58

Description

The AWS SDK for Python

Added to portage

2026-02-27

botocore - 1.42.58
Ebuild name:

dev-python/botocore-1.42.58

Description

Low-level, data-driven core of boto 3

Added to portage

2026-02-27

castxml - 0.7.0
Ebuild name:

dev-libs/castxml-0.7.0

Description

C-family abstract syntax tree XML output tool

Added to portage

2026-02-27

chrome-binary-plugins - 146.0.7680.31_beta
Ebuild name:

www-plugins/chrome-binary-plugins-146.0.7680.31_beta

Description

Binary plugins from Google Chrome for use in C

Added to portage

2026-02-27

chromium - 146.0.7680.31
Ebuild name:

www-client/chromium-146.0.7680.31

Description

Open-source version of Google Chrome web browser

Added to portage

2026-02-27

dracut - 110-r1
Ebuild name:

sys-kernel/dracut-110-r1

Description

Generic initramfs generation tool

Added to portage

2026-02-27

duckdb - 1.4.4
Ebuild name:

dev-db/duckdb-1.4.4

Description

high-performance analytical database system

Added to portage

2026-02-27

element-desktop-bin - 1.12.11
Ebuild name:

net-im/element-desktop-bin-1.12.11

Description

A glossy Matrix collaboration client for desktop (binary package

Added to portage

2026-02-27

file - 5.47
Ebuild name:

sys-apps/file-5.47

Description

Identify a file's format by scanning binary data for patterns

Added to portage

2026-02-27

framework-tool-tui - 0.8.0
Ebuild name:

app-laptop/framework-tool-tui-0.8.0

Description

TUI for controlling and monitoring Framework Computers hardware

Added to portage

2026-02-27

freerdp - 3.23.0
Ebuild name:

net-misc/freerdp-3.23.0

Description

Free implementation of the Remote Desktop Protocol

Added to portage

2026-02-27

gawk - 5.4.0-r1
Ebuild name:

sys-apps/gawk-5.4.0-r1

Description

GNU awk pattern-matching language

Added to portage

2026-02-27

gentoo-sources - 5.10.249-r1
Ebuild name:

sys-kernel/gentoo-sources-5.10.249-r1

Description

Full sources including the Gentoo patchset for the . kernel t

Added to portage

2026-02-27

gentoo-sources - 5.10.250-r1
Ebuild name:

sys-kernel/gentoo-sources-5.10.250-r1

Description

Full sources including the Gentoo patchset for the . kernel t

Added to portage

2026-02-27

gentoo-sources - 5.10.251
Ebuild name:

sys-kernel/gentoo-sources-5.10.251

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-02-27

gentoo-sources - 6.18.14
Ebuild name:

sys-kernel/gentoo-sources-6.18.14

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-02-27

gentoo-sources - 6.19.4
Ebuild name:

sys-kernel/gentoo-sources-6.19.4

Description

Full sources including the Gentoo patchset for the . kernel tree

Added to portage

2026-02-27

google-chrome-beta - 146.0.7680.31
Ebuild name:

www-client/google-chrome-beta-146.0.7680.31

Description

The web browser from Google

Added to portage

2026-02-27

gopls - 0.21.1
Ebuild name:

dev-go/gopls-0.21.1

Description

Added to portage

2026-02-27

heroic-bin - 2.20.1
Ebuild name:

games-util/heroic-bin-2.20.1

Description

GOG and Epic Games Launcher for Linux

Added to portage

2026-02-27

kafka-bin - 4.2.0
Ebuild name:

net-misc/kafka-bin-4.2.0

Description

A high-throughput distributed messaging system

Added to portage

2026-02-27

linux-firmware - 20260221
Ebuild name:

sys-kernel/linux-firmware-20260221

Description

Linux firmware files

Added to portage

2026-02-27

lutris - 0.5.22
Ebuild name:

games-util/lutris-0.5.22

Description

An open source gaming platform for GNU/Linux

Added to portage

2026-02-27

microsoft-edge - 145.0.3800.82
Ebuild name:

www-client/microsoft-edge-145.0.3800.82

Description

The web browser from Microsoft

Added to portage

2026-02-27

mpd - 0.24.8-r1
Ebuild name:

media-sound/mpd-0.24.8-r1

Description

The Music Player Daemon (mpd)

Added to portage

2026-02-27

mu-cite - 8.1_p202011031127
Ebuild name:

app-emacs/mu-cite-8.1_p202011031127

Description

Message citation utilities for emacsen

Added to portage

2026-02-27

ngtcp2 - 1.21.0
Ebuild name:

net-libs/ngtcp2-1.21.0

Description

Implementation of the IETF QUIC Protocol

Added to portage

2026-02-27

openapi-schema-validator - 0.7.3
Ebuild name:

dev-python/openapi-schema-validator-0.7.3

Description

OpenAPI schema validation for Python

Added to portage

2026-02-27

openapi-schema-validator - 0.8.0
Ebuild name:

dev-python/openapi-schema-validator-0.8.0

Description

OpenAPI schema validation for Python

Added to portage

2026-02-27

opera - 128.0.5807.25
Ebuild name:

www-client/opera-128.0.5807.25

Description

A fast and secure web browser

Added to portage

2026-02-27

phonenumbers - 9.0.25
Ebuild name:

dev-python/phonenumbers-9.0.25

Description

Python port of Google's libphonenumber

Added to portage

2026-02-27

postgresql - 14.22
Ebuild name:

dev-db/postgresql-14.22

Description

PostgreSQL RDBMS

Added to portage

2026-02-27

postgresql - 15.17
Ebuild name:

dev-db/postgresql-15.17

Description

PostgreSQL RDBMS

Added to portage

2026-02-27

postgresql - 16.13
Ebuild name:

dev-db/postgresql-16.13

Description

PostgreSQL RDBMS

Added to portage

2026-02-27

postgresql - 17.9
Ebuild name:

dev-db/postgresql-17.9

Description

PostgreSQL RDBMS

Added to portage

2026-02-27

postgresql - 18.3
Ebuild name:

dev-db/postgresql-18.3

Description

PostgreSQL RDBMS

Added to portage

2026-02-27

protobuf - 7.34.0
Ebuild name:

dev-python/protobuf-7.34.0

Description

Google's Protocol Buffers - Python bindings

Added to portage

2026-02-27

python-discovery - 1.1.0
Ebuild name:

dev-python/python-discovery-1.1.0

Description

Python interpreter discovery

Added to portage

2026-02-27

rssguard - 5.0.0
Ebuild name:

net-news/rssguard-5.0.0

Description

Simple (yet powerful) news feed reader

Added to portage

2026-02-27

ruff - 0.15.4
Ebuild name:

dev-util/ruff-0.15.4

Description

An extremely fast Python linter, written in Rust

Added to portage

2026-02-27

scikit-build-core - 0.12.1
Ebuild name:

dev-python/scikit-build-core-0.12.1

Description

Build backend for CMake based projects

Added to portage

2026-02-27

signal-desktop-bin - 8.0.0
Ebuild name:

net-im/signal-desktop-bin-8.0.0

Description

Allows you to send and receive messages of Signal Messenger on your

Added to portage

2026-02-27

synapse - 1.148.0
Ebuild name:

net-im/synapse-1.148.0

Description

Reference implementation of Matrix homeserver

Added to portage

2026-02-27

tdom - 0.9.6
Ebuild name:

dev-tcltk/tdom-0.9.6

Description

A XML/DOM/XPath/XSLT Implementation for Tcl

Added to portage

2026-02-27

tempest - 46.1.1
Ebuild name:

dev-python/tempest-46.1.1

Description

OpenStack Integration Testing

Added to portage

2026-02-27

tkcvs - 9.3.3
Ebuild name:

dev-vcs/tkcvs-9.3.3

Description

Tcl/Tk-based graphical interface to CVS with Subversion support

Added to portage

2026-02-27

tkdiff - 6.0
Ebuild name:

dev-util/tkdiff-6.0

Description

Graphical front end to the diff program

Added to portage

2026-02-27

tklib - 0.9
Ebuild name:

dev-tcltk/tklib-0.9

Description

Collection of utility modules for Tk, and a companion to Tcllib

Added to portage

2026-02-27

ttl - 0.19.0
Ebuild name:

net-analyzer/ttl-0.19.0

Description

Modern traceroute/mtr-style TUI with hop stats and optional ASN/geo enrichm

Added to portage

2026-02-27

u-boot-tools - 2024.01-r3
Ebuild name:

dev-embedded/u-boot-tools-2024.01-r3

Description

utilities for working with Das U-Boot

Added to portage

2026-02-27

u-boot-tools - 2025.01-r3
Ebuild name:

dev-embedded/u-boot-tools-2025.01-r3

Description

utilities for working with Das U-Boot

Added to portage

2026-02-27

virtualenv - 21.0.0
Ebuild name:

dev-python/virtualenv-21.0.0

Description

Virtual Python Environment builder

Added to portage

2026-02-27

xvfbwrapper - 0.2.21
Ebuild name:

dev-python/xvfbwrapper-0.2.21

Description

Python wrapper for running a display inside X virtual framebuffer

Added to portage

2026-02-27

zfs - 2.3.6
Ebuild name:

sys-fs/zfs-2.3.6

Description

Userland utilities for ZFS Linux kernel module

Added to portage

2026-02-27

zfs - 2.4.1
Ebuild name:

sys-fs/zfs-2.4.1

Description

Linux kernel module and userland utilities for ZFS

Added to portage

2026-02-27

zfs-kmod - 2.3.6
Ebuild name:

sys-fs/zfs-kmod-2.3.6

Description

Linux ZFS kernel module for sys-fs/zfs

Added to portage

2026-02-27

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