[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: is ccache working?
From:       Michael Zanetti <michael_zanetti () gmx ! net>
Date:       2010-08-01 11:56:22
Message-ID: 201008011356.31450.michael_zanetti () gmx ! net
[Download RAW message or body]


On Sunday 01 August 2010 13:36:22 fabio de francesco wrote:
> On Sunday 01 August 2010 13:27:03 Michael Zanetti wrote:
> > It's been a while since I last used gentoo, but IIRC you need to enable
> > ccache in your PATH to be used system-wide. Enabling it in make.conf only
> > enables it for portage.
> > 
> > The handbook seems to confirm that:
> > http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=3
> > 
> > 
> > Hope that helps,
> > Michael
> 
> Please, re-read my latest post. I've made symlinks in ~/KDE/bin (that is
> the first in $PATH for the user but it is still not working.
> 

Try changing your path for user kdevel to this:

PATH="/usr/lib/ccache/bin:/opt/bin:${PATH}"

I guess the two symlinks for g++ and gcc aren't enough. Depending on your 
system, make usually calls something like x86_64-unknown-linux-gnu-cpp. You 
should either make symlinks for all files in /usr/lib/ccache/bin/ or simply 
change your path according to the handbook.

If this still doesn't help, try compiling a file manually and see if ccache 
works.

Cheers,
Michael

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic