From owner-freebsd-questions@FreeBSD.ORG Mon Oct 10 10:06:35 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 B42D116A41F for ; Mon, 10 Oct 2005 10:06:35 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4180443D45 for ; Mon, 10 Oct 2005 10:06:35 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout1.cac.washington.edu (8.13.4+UW05.04/8.13.4+UW05.09) with ESMTP id j9AA6YcY030160 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 10 Oct 2005 03:06:34 -0700 X-Auth-Received: from [192.168.0.23] (c-24-18-246-211.hsd1.wa.comcast.net [24.18.246.211]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.4+UW05.04/8.13.4+UW05.09) with ESMTP id j9AA6Xo7006792 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 10 Oct 2005 03:06:33 -0700 Mime-Version: 1.0 (Apple Message framework v734) In-Reply-To: References: Message-Id: From: Garrett Cooper Date: Mon, 10 Oct 2005 03:07:52 -0700 To: FreeBSD Questions X-Mailer: Apple Mail (2.734) X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='HTML_50_70 0.1, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __MIME_HTML 0, __MIME_VERSION 0, __SANE_MSGID 0, __TAG_EXISTS_HTML 0' Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 10:06:35 -0000 On Oct 10, 2005, at 2:34 AM, 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. Good luck with that effort. Not to treat it as the feat is entirely impossible, but I'm not sure how you would approach it without using GNU lib stuff since linux runs via GNU libs whereas FreeBSD uses their own libc package. Not only that, you would have to have equivalent compiling tools, have the libs compiled for multiple archs, etc. It's a fairly large project that many companies are actually working on right now for making into reality since computing clusters are becoming so prevalent nowadays. Anyhow... not impossible (well, maybe for the kernel end of things, but not some of the packages in world or ports), but good luck ;)! -Garrett