1 |
Hello, |
2 |
|
3 |
I have installed ccache and followed the instructions in the official |
4 |
documentation to set it up. Specifically I have this in my |
5 |
/etc/make.conf: |
6 |
|
7 |
MAKEOPTS="-j6" |
8 |
FEATURES="ccache" |
9 |
# Probably not required but... |
10 |
CCACHE_DIR="/var/tmp/ccache" |
11 |
CCACHE_SIZE="2G" |
12 |
FEATURES="distcc" |
13 |
DISTCC_DIR="/var/tmp/portage/.distcc" |
14 |
|
15 |
I edited /etc/env.d to put /usr/lib/ccache/bin before /opt/bin in the |
16 |
PATH. I ran env-update %% source /etc/profile. |
17 |
|
18 |
ccache is not being used and emerge --info shows it as disabled: |
19 |
|
20 |
# emerge --info |
21 |
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, |
22 |
glibc-2.3.5-r2, 2.6.13-gentoo-r5 i686) |
23 |
================================================================= |
24 |
System uname: 2.6.13-gentoo-r5 i686 Celeron (Mendocino) |
25 |
Gentoo Base System version 1.6.13 |
26 |
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port |
27 |
3632) [enabled] |
28 |
ccache version 2.3 [disabled] |
29 |
dev-lang/python: 2.3.5, 2.4.2 |
30 |
sys-apps/sandbox: 1.2.12 |
31 |
sys-devel/autoconf: 2.13, 2.59-r6 |
32 |
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 |
33 |
sys-devel/binutils: 2.15.92.0.2-r10 |
34 |
sys-devel/libtool: 1.5.20 |
35 |
virtual/os-headers: 2.6.11-r2 |
36 |
ACCEPT_KEYWORDS="x86" |
37 |
AUTOCLEAN="yes" |
38 |
CBUILD="i686-pc-linux-gnu" |
39 |
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer" |
40 |
CHOST="i686-pc-linux-gnu" |
41 |
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config |
42 |
/usr/lib/X11/xkb /usr/share/config /var/qmail/control" |
43 |
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" |
44 |
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer" |
45 |
DISTDIR="/usr/portage/distfiles" |
46 |
FEATURES="autoconfig distcc distlocks sandbox sfperms strict" |
47 |
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ |
48 |
ftp://gentoo.risq.qc.ca/ ftp://gentoo.arcticnetwork.ca/pub/gentoo/ |
49 |
ftp://gentoo.mirrored.ca/" |
50 |
MAKEOPTS="-j6" |
51 |
PKGDIR="/usr/portage/packages" |
52 |
PORTAGE_TMPDIR="/var/tmp" |
53 |
PORTDIR="/usr/portage" |
54 |
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" |
55 |
USE="x86 X Xaw3d apm berkdb bitmap-fonts bzip2 cdb crypt cups expat |
56 |
foomaticdb fortran gdbm gif gpm gtk gtk2 imlib ipv6 jpeg libg++ libwww |
57 |
mikmod motif ncurses nls opengl pam pdflib perl png python qt |
58 |
quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts |
59 |
type1-fonts udev xml2 xv zlib userland_GNU kernel_linux elibc_glibc" |
60 |
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, |
61 |
PORTDIR_OVERLAY |
62 |
|
63 |
What must I do to get ccache working? |
64 |
|
65 |
Thanks, |
66 |
|
67 |
Roger Mason |
68 |
-- |
69 |
gentoo-user@g.o mailing list |