Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Aug 2005 07:45:09 -0700
From:      garys@opusnet.com (Gary W. Swearingen)
To:        freebsd-questions@freebsd.org
Cc:        Robert S <robert.spam.me.senseless@gmail.com>, =?iso-8859-1?q?Bj=F6rn_K=F6nig?= <bkoenig@cs.tu-berlin.de>
Subject:   Re: How do I use ccache and ports?
Message-ID:  <d5r7d5lsay.7d5@mail.opusnet.com>
In-Reply-To: <42F5FB48.4020804@cs.tu-berlin.de>  =?iso-8859-1?q?=28Bj=F6rn_K=F6nig's?= message of "Sun, 07 Aug 2005 14:15:04 %2B0200")
References:  <7093dffb050807030255a2dbdd@mail.gmail.com> <42F5FB48.4020804@cs.tu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Björn König <bkoenig@cs.tu-berlin.de> writes:

> Robert S wrote:
>
>> A freebsd n00b question.  How do I set ports up to use ccache [...]
>> Presumably I put something into /etc/make.conf.
>
> Yes, add the following lines to /etc/make.conf
>
> CC="/usr/local/libexec/ccache/cc"
> CXX="/usr/local/libexec/ccache/c++"

/usr/ports/devel/ccache/pkg-descr
makes that sound like A Good Thing.

Any ideas why it's not built into cc/c++, or FreeBSD scripts?

Should we all be using it?  Reasons not to?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d5r7d5lsay.7d5>