|
Boost Users : |
Subject: Re: [Boost-users] Use of ccache with Boost
From: Mathieu Malaterre (mathieu.malaterre_at_[hidden])
Date: 2009-10-05 10:27:58
On Mon, Oct 5, 2009 at 10:45 AM, Dalton, Tom <tom.dalton_at_[hidden]> wrote:
> Further to my questions from last week:
>
> I've tried both methods - first I tried changing the toolset to make the
> gcc toolset use "ccache g++" as the compiler executable. I had some
> problems with that, so I tried the symlink approach suggested by Roland.
> This is also failing, with some seemingly very subtle bug that I can't
> suss out.
Use cmake.
apt-get install ccache
cd /path/to/boost
mkdir bincache
cd bincache
export CC="ccache gcc"
export CXX="ccache g++"
cmake ..
make -j8
cheers
-- Mathieu
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net