From owner-freebsd-questions@FreeBSD.ORG Sun Aug 7 14:43:20 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 31A2516A41F for ; Sun, 7 Aug 2005 14:43:20 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from opusnet.com (mail.opusnet.com [209.210.200.6]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5E6C43D45 for ; Sun, 7 Aug 2005 14:43:19 +0000 (GMT) (envelope-from garys@opusnet.com) Received: from localhost.localhost [70.98.246.232] by opusnet.com with ESMTP (SMTPD32-8.05) id ADFFB8E20140; Sun, 07 Aug 2005 07:43:11 -0700 Received: from localhost.localhost (localhost.localhost [127.0.0.1]) by localhost.localhost (8.13.3/8.13.3) with ESMTP id j77EjFMi010940; Sun, 7 Aug 2005 07:45:15 -0700 (PDT) (envelope-from garys@opusnet.com) Received: (from jojo@localhost) by localhost.localhost (8.13.3/8.13.3/Submit) id j77Ej9aE010937; Sun, 7 Aug 2005 07:45:09 -0700 (PDT) (envelope-from garys@opusnet.com) To: freebsd-questions@freebsd.org References: <7093dffb050807030255a2dbdd@mail.gmail.com> <42F5FB48.4020804@cs.tu-berlin.de> From: garys@opusnet.com (Gary W. Swearingen) Date: Sun, 07 Aug 2005 07:45:09 -0700 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 +0200") Message-ID: User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: Robert S , =?iso-8859-1?q?Bj=F6rn_K=F6nig?= Subject: Re: How do I use ccache and ports? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Aug 2005 14:43:20 -0000 Björn König 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?