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:

58770

userrating:

average rating: 1.5 (4 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: 2.0 (5 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
2021-09-28
Text-WrapI18N - 0.60.0-r2
Ebuild name:

dev-perl/Text-WrapI18N-0.60.0-r2

Description

Internationalized substitute of Text

Added to portage

2021-09-28

Text-Wrapper - 1.50.0-r1
Ebuild name:

dev-perl/Text-Wrapper-1.50.0-r1

Description

Word wrap text by breaking long lines

Added to portage

2021-09-28

TheSchwartz - 1.160.0
Ebuild name:

dev-perl/TheSchwartz-1.160.0

Description

Reliable job queue

Added to portage

2021-09-28

Thread-SigMask - 0.4.0-r1
Ebuild name:

dev-perl/Thread-SigMask-0.4.0-r1

Description

Thread specific signal masks

Added to portage

2021-09-28

Throwable - 1.0.0
Ebuild name:

dev-perl/Throwable-1.0.0

Description

A role for classes that can be thrown

Added to portage

2021-09-28

Tie-Array-Sorted - 1.410.0-r2
Ebuild name:

dev-perl/Tie-Array-Sorted-1.410.0-r2

Description

An array which is kept sorted

Added to portage

2021-09-28

Tie-CPHash - 2.0.0-r1
Ebuild name:

dev-perl/Tie-CPHash-2.0.0-r1

Description

Added to portage

2021-09-28

Tie-Cache - 0.210.0-r2
Ebuild name:

dev-perl/Tie-Cache-0.210.0-r2

Description

In memory size limited LRU cache

Added to portage

2021-09-28

Tie-Cache-LRU - 20150301.0.0-r1
Ebuild name:

dev-perl/Tie-Cache-LRU-20150301.0.0-r1

Description

A Least-Recently Used cache

Added to portage

2021-09-28

Tie-Cache-LRU-Expires - 0.550.0-r2
Ebuild name:

dev-perl/Tie-Cache-LRU-Expires-0.550.0-r2

Description

Extends Tie with expiring

Added to portage

2021-09-28

acpi_call - 1.2.2
Ebuild name:

sys-power/acpi_call-1.2.2

Description

A linux kernel module that enables calls to ACPI

Added to portage

2021-09-28

argyllcms - 2.2.1
Ebuild name:

media-gfx/argyllcms-2.2.1

Description

Open source, ICC compatible color management system

Added to portage

2021-09-28

feh - 3.7.2
Ebuild name:

media-gfx/feh-3.7.2

Description

A fast, lightweight imageviewer using imlib2

Added to portage

2021-09-28

luaposix - 35.1
Ebuild name:

dev-lua/luaposix-35.1

Description

Bindings for POSIX APIs

Added to portage

2021-09-28

nicotine+ - 3.1.1
Ebuild name:

net-p2p/nicotine+-3.1.1

Description

A fork of nicotine, a Soulseek client in Python

Added to portage

2021-09-28

opera-developer - 81.0.4189.0
Ebuild name:

www-client/opera-developer-81.0.4189.0

Description

A fast and secure web browser

Added to portage

2021-09-28

spyder - 5.1.5-r1
Ebuild name:

dev-python/spyder-5.1.5-r1

Description

The Scientific Python Development Environment

Added to portage

2021-09-28

vidcutter - 6.0.5.1
Ebuild name:

media-video/vidcutter-6.0.5.1

Description

FFmpeg-based simple video cutter & joiner with a modern PyQt5 GUI

Added to portage

2021-09-28

yt-dlp - 2021.9.25
Ebuild name:

net-misc/yt-dlp-2021.9.25

Description

A youtube-dl fork with additional features and fixes

Added to portage

2021-09-28

2021-09-27
android-studio - 2020.3.1.24
Ebuild name:

dev-util/android-studio-2020.3.1.24

Description

Android development environment based on IntelliJ IDEA

Added to portage

2021-09-27

ca-certificates - 20210119.3.70
Ebuild name:

app-misc/ca-certificates-20210119.3.70

Description

Common CA Certificates PEM files

Added to portage

2021-09-27

catfish - 4.16.3
Ebuild name:

dev-util/catfish-4.16.3

Description

A frontend for find, (s)locate, doodle, tracker, beagle, strigi and pinot

Added to portage

2021-09-27

chrome-remote-desktop - 94.0.4606.27
Ebuild name:

net-misc/chrome-remote-desktop-94.0.4606.27

Description

access remote computers via Chrome

Added to portage

2021-09-27

codec2 - 1.0.1
Ebuild name:

media-libs/codec2-1.0.1

Description

Low bit rate speech codec

Added to portage

2021-09-27

curtsies - 0.3.6
Ebuild name:

dev-python/curtsies-0.3.6

Description

Curses-like terminal wrapper, with colored strings

Added to portage

2021-09-27

dist-kernel - 5.10.69
Ebuild name:

virtual/dist-kernel-5.10.69

Description

Virtual to depend on any Distribution Kernel

Added to portage

2021-09-27

dist-kernel - 5.14.8
Ebuild name:

virtual/dist-kernel-5.14.8

Description

Virtual to depend on any Distribution Kernel

Added to portage

2021-09-27

dist-kernel - 5.4.149
Ebuild name:

virtual/dist-kernel-5.4.149

Description

Virtual to depend on any Distribution Kernel

Added to portage

2021-09-27

django-mailman3 - 1.3.7
Ebuild name:

net-mail/django-mailman3-1.3.7

Description

Django-based interfaces interacting with Mailman 3

Added to portage

2021-09-27

element - 1.9.0
Ebuild name:

www-apps/element-1.9.0

Description

A glossy Matrix collaboration client for the web

Added to portage

2021-09-27

etcd - 3.4.16
Ebuild name:

dev-db/etcd-3.4.16

Description

Highly-available key value store for shared configuration and service discovery

Added to portage

2021-09-27

flufl-testing - 0.8
Ebuild name:

dev-python/flufl-testing-0.8

Description

Small collection of test tool plugins

Added to portage

2021-09-27

gentoo-kernel - 5.10.69
Ebuild name:

sys-kernel/gentoo-kernel-5.10.69

Description

Linux kernel built with Gentoo patches

Added to portage

2021-09-27

gentoo-kernel - 5.14.8
Ebuild name:

sys-kernel/gentoo-kernel-5.14.8

Description

Linux kernel built with Gentoo patches

Added to portage

2021-09-27

gentoo-kernel - 5.4.149
Ebuild name:

sys-kernel/gentoo-kernel-5.4.149

Description

Linux kernel built with Gentoo patches

Added to portage

2021-09-27

gentoo-kernel-bin - 5.10.69
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.10.69

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-09-27

gentoo-kernel-bin - 5.14.8
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.14.8

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-09-27

gentoo-kernel-bin - 5.4.149
Ebuild name:

sys-kernel/gentoo-kernel-bin-5.4.149

Description

Pre-built Linux kernel with genpatches

Added to portage

2021-09-27

git-sources - 5.15_rc3
Ebuild name:

sys-kernel/git-sources-5.15_rc3

Description

The very latest -git version of the Linux kernel

Added to portage

2021-09-27

indilib - 1.9.2
Ebuild name:

sci-libs/indilib-1.9.2

Description

INDI Astronomical Control Protocol library

Added to portage

2021-09-27

loop-aes - 3.7v
Ebuild name:

sys-fs/loop-aes-3.7v

Description

Linux kernel module to encrypt disk partitions with AES cipher

Added to portage

2021-09-27

mailman - 3.3.4
Ebuild name:

net-mail/mailman-3.3.4

Description

Mailman -- the GNU mailing list manager

Added to portage

2021-09-27

mailmanclient - 3.3.3
Ebuild name:

net-mail/mailmanclient-3.3.3

Description

Python bindings for the GNU Mailman 3 REST API

Added to portage

2021-09-27

pkgcheck - 0.10.7-r1
Ebuild name:

dev-util/pkgcheck-0.10.7-r1

Description

pkgcore-based QA utility for ebuild repos

Added to portage

2021-09-27

pkgcheck - 0.10.8
Ebuild name:

dev-util/pkgcheck-0.10.8

Description

pkgcore-based QA utility for ebuild repos

Added to portage

2021-09-27

pkgcore - 0.12.8
Ebuild name:

sys-apps/pkgcore-0.12.8

Description

a framework for package management

Added to portage

2021-09-27

portage - 3.0.24
Ebuild name:

sys-apps/portage-3.0.24

Description

The package management and distribution system for Gentoo

Added to portage

2021-09-27

prettytable - 2.2.1
Ebuild name:

dev-python/prettytable-2.2.1

Description

Easily displaying tabular data in a visually appealing ASCII table for

Added to portage

2021-09-27

python-slugify - 5.0.2
Ebuild name:

dev-python/python-slugify-5.0.2

Description

A Python Slugify application that handles Unicode

Added to portage

2021-09-27

qtads - 3.2.0-r1
Ebuild name:

games-engines/qtads-3.2.0-r1

Description

Multimedia interpreter for TADS text adventures

Added to portage

2021-09-27

rack-cache - 1.13.0
Ebuild name:

dev-ruby/rack-cache-1.13.0

Description

Enable HTTP caching for Rack-based applications that produce freshness i

Added to portage

2021-09-27

requests-cache - 0.8.1-r1
Ebuild name:

dev-python/requests-cache-0.8.1-r1

Description

Persistent cache for requests library

Added to portage

2021-09-27

rr - 5.5.0
Ebuild name:

dev-util/rr-5.5.0

Description

Record and Replay Framework

Added to portage

2021-09-27

thunar - 4.17.6
Ebuild name:

xfce-base/thunar-4.17.6

Description

File manager for the Xfce desktop environment

Added to portage

2021-09-27

vanilla-kernel - 5.10.69
Ebuild name:

sys-kernel/vanilla-kernel-5.10.69

Description

Linux kernel built from vanilla upstream sources

Added to portage

2021-09-27

vanilla-kernel - 5.14.8
Ebuild name:

sys-kernel/vanilla-kernel-5.14.8

Description

Linux kernel built from vanilla upstream sources

Added to portage

2021-09-27

vanilla-kernel - 5.4.149
Ebuild name:

sys-kernel/vanilla-kernel-5.4.149

Description

Linux kernel built from vanilla upstream sources

Added to portage

2021-09-27

vm - 9999
Ebuild name:

app-emacs/vm-9999

Description

The VM mail reader for Emacs

Added to portage

2021-09-27

zim - 0.74.1
Ebuild name:

x11-misc/zim-0.74.1

Description

A desktop wiki

Added to portage

2021-09-27

rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2020 Sascha Nitsch Unternehmensberatung GmbH
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 74.0 ms