From owner-freebsd-questions@FreeBSD.ORG Mon Oct 10 14:37:45 2005 Return-Path: X-Original-To: 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 148AC16A420 for ; Mon, 10 Oct 2005 14:37:45 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from smtpout1.ywave.com (ycomradius.yelmtel.com [216.227.100.60]) by mx1.FreeBSD.org (Postfix) with SMTP id A2B5B43D48 for ; Mon, 10 Oct 2005 14:37:44 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: (qmail 5333 invoked by uid 502); 10 Oct 2005 14:01:44 -0000 Received: from dsl28217.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@216.227.115.217) by 0 with SMTP; 10 Oct 2005 14:01:44 -0000 X-CLIENT-IP: 216.227.115.217 X-CLIENT-HOST: dsl28217.ywave.com Message-ID: <434A7447.8090209@ywave.com> Date: Mon, 10 Oct 2005 07:01:43 -0700 From: Micah User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050930) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Andrew P." References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: distcc and cross-compiling for FreeBSD on Linux/Solaris 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: Mon, 10 Oct 2005 14:37:45 -0000 Andrew P. wrote: > We've got some mostly idle, but powerful sparc64 > servers running Solaris 9/10, as well as a host of > Linux servers (x86 and x86_64). Of course, all the > real work is done on a pack of FreeBSD boxes :-) > > Some days ago I started using ccache and distcc, > and I really love these tools. Now I want to get the > Solaris and Linux servers to do something useful > and compile world, kernels and ports for the > FreeBSD boxes. Is there a somewhat > comprehensive guide to this? Can somebody > share his experience with me? I'm now looking > into crosstool how-to's, but I have no knowledge > of gcc intrinsics, and some points are very hard > for me to understand. > > Thanks, > Andrew P. Have you looked at http://www.opensource.apple.com/darwinsource/projects/other/distcc-31.0.81/linuxdoc/html/distcc-5.html It hints that you need to install a gcc that was built for your target system on all machines that you're using. I think distcc handles library inconsitencies for you (at least it claims that you need not have the same libraries installed on all machines). HTH, Micah