From owner-freebsd-current@FreeBSD.ORG Wed Aug 25 19:13:52 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDD7F16A4CE; Wed, 25 Aug 2004 19:13:52 +0000 (GMT) Received: from web.portaone.com (mail.russia.cz [195.70.151.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 42C4843D2D; Wed, 25 Aug 2004 19:13:52 +0000 (GMT) (envelope-from sobomax@web.portaone.com) Received: from web.portaone.com (localhost [127.0.0.1]) by web.portaone.com (8.12.8p2/8.12.8) with ESMTP id i7PJDo5U061790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 25 Aug 2004 21:13:50 +0200 (CEST) (envelope-from sobomax@web.portaone.com) Received: (from sobomax@localhost) by web.portaone.com (8.12.8p2/8.12.8/Submit) id i7PJDoLX061789; Wed, 25 Aug 2004 21:13:50 +0200 (CEST) (envelope-from sobomax) Date: Wed, 25 Aug 2004 21:13:49 +0200 From: Maxim Sobolev To: Michael Nottebrock Message-ID: <20040825191349.GE57354@www.portaone.com> References: <412CBC91.3070900@portaone.com> <412CD983.2040700@cronyx.ru> <20040825183342.GA81434@xor.obsecurity.org> <200408252104.25460.michaelnottebrock@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200408252104.25460.michaelnottebrock@gmx.net> User-Agent: Mutt/1.4.1i cc: portmgr@freebsd.org cc: freebsd-current@freebsd.org cc: Roman Kurakin cc: Kris Kennaway Subject: Re: ccache support for make buildworld/make release X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2004 19:13:53 -0000 Not quite. It just alters environment so that version in /usr/obj is picked up first before one on /usr/bin. Therefore, altering CC/CXX with absolute path should work. -Maxim On Wed, Aug 25, 2004 at 09:04:22PM +0200, Michael Nottebrock wrote: > On Wednesday 25 August 2004 20:33, Kris Kennaway wrote: > > > BTW, I don't think there's anything to set up..you just set > > CC="ccache cc" or similar. > > buildworld would need special support for ccache (or distcc for that matter), > since it bootstraps gcc and subsequently uses that, ignoring the value of CC > for the biggest part of the build. > > -- > ,_, | Michael Nottebrock | lofi@freebsd.org > (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org > \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org