is ccache working?

Kevin Krammer kevin.krammer at gmx.at
Sun Aug 1 11:59:45 BST 2010


On Sunday, 2010-08-01, Andreas Pakulat wrote:
> On 01.08.10 11:19:19, fabio de francesco wrote:
> > Hi all,
> > 
> > I have the line "export CCACHE_DIR=/home/kdevel/var/tmp/ccache" in my
> > /home/kdevel/.bashrc but I don't find any file in that directory. Did I
> > miss something needed to make ccache properly working?
> 
> This doesn't really have anything to do with KDE, you need to make sure
> that gcc/g++/... are pointing to ccache and not the real compiler.
> Usually this is done by setting up apropriate symlinks called gcc/g++
> somewhere in a directory and putting that directory first in PATH.

Usually it also works to set the CC and CXX environment variables accordingly.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100801/20bc0d49/attachment.sig>


More information about the kde-core-devel mailing list