From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 12:47:16 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2865F16A417 for ; Fri, 19 Oct 2007 12:47:16 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from mail.itu.dk (pluto.itu.dk [130.226.142.18]) by mx1.freebsd.org (Postfix) with ESMTP id E487F13C46A for ; Fri, 19 Oct 2007 12:47:15 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from localhost (unknown [10.0.0.3]) by mail.itu.dk (Postfix) with ESMTP id 52E7D32D03A for ; Fri, 19 Oct 2007 14:47:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at itu.dk Received: from superman.itu.dk ([130.226.142.5]) by localhost (daredevil.itu.dk [130.226.142.26]) (amavisd-new, port 10024) with ESMTP id l5AJx19XnC-S for ; Fri, 19 Oct 2007 14:47:10 +0200 (CEST) Received: from [192.168.1.149] (stud1-15.itu.dk [130.226.140.15]) by superman.itu.dk (Postfix) with ESMTP id 4DE2B9E6BE for ; Fri, 19 Oct 2007 14:47:10 +0200 (CEST) Message-ID: <4718A74E.5060905@cederstrand.dk> Date: Fri, 19 Oct 2007 14:47:10 +0200 From: Erik Cederstrand User-Agent: Thunderbird 2.0.0.6 (X11/20071008) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: ccache and DESTDIR for 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: Fri, 19 Oct 2007 12:47:16 -0000 Hi! I'm installing a small set of ports into lots of jails, using the DESTDIR support recently added to the ports system. Each jail contains a unique CVS revision of FreeBSD. I'd like to speed up compiles by using ccache, but as I understand it, I'll have to install ccache into each jail since the DESTDIR implementation chroot's into the jail. Can I install ccache in each jail first and simply hardlink /somejail/root/.ccache to /root/.cache before continuing compiling the other ports? Or is that asking for trouble, since each jail might have a different gcc installed? Thanks, Erik