From owner-freebsd-questions@FreeBSD.ORG Tue Mar 25 14:45:11 2008 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 165471065671 for ; Tue, 25 Mar 2008 14:45:11 +0000 (UTC) (envelope-from mla@nasreddine.com) Received: from server1.nasreddine.com (server1.nasreddine.com [82.225.70.234]) by mx1.freebsd.org (Postfix) with ESMTP id 85D888FC1C for ; Tue, 25 Mar 2008 14:45:10 +0000 (UTC) (envelope-from mla@nasreddine.com) Received: from localhost (unknown [192.168.2.5]) by server1.nasreddine.com (Postfix) with ESMTP id A1BB91231DA4 for ; Tue, 25 Mar 2008 15:45:09 +0100 (CET) X-Virus-Scanned: amavisd-new at nasreddine.info Received: from server1.nasreddine.com ([192.168.2.5]) by localhost (cadmus-mail.nasreddine.info [192.168.2.5]) (amavisd-new, port 10024) with LMTP id 8MwBvlDgrl3d for ; Tue, 25 Mar 2008 14:45:03 +0000 (UTC) Received: from phoenix.nasreddine.info (phoenix.nasreddine.info [192.168.1.3]) by server1.nasreddine.com (Postfix) with ESMTPA id 3A7581231DAD for ; Tue, 25 Mar 2008 15:45:03 +0100 (CET) Date: Tue, 25 Mar 2008 15:44:55 +0100 From: Wael Nasreddine To: FreeBSD Mailing List Message-ID: <20080325144455.GE19029@phoenix.nasreddine.info> Mail-Followup-To: FreeBSD Mailing List References: <20080325061753.GA6160@phoenix.nasreddine.info> <1206453827.28606.27.camel@p25dual1.lanl.gov> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SFyWQ0h3ruR435lw" Content-Disposition: inline In-Reply-To: <1206453827.28606.27.camel@p25dual1.lanl.gov> X-OS: Linux 2.6.24-tuxonice-r3 i686 X-Editor: VIM - Vi IMproved 7.1 (2007 May 12, compiled Mar 22 2008 15:41:28) X-PGP-Key: http://wael.nasreddine.com/files/Wael_Nasreddine.asc User-Agent: Mutt/1.5.16 (2007-06-09) Subject: Re: Distcc + cross compiling 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: Tue, 25 Mar 2008 14:45:11 -0000 --SFyWQ0h3ruR435lw Content-Type: multipart/mixed; boundary="TiqCXmo5T1hvSQQg" Content-Disposition: inline --TiqCXmo5T1hvSQQg Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This One Time, at Band Camp, James Harrison said, On Tue,= Mar 25, 2008 at 08:03:46AM -0600: > On Tue, 2008-03-25 at 07:17 +0100, Wael Nasreddine wrote: > > Hello, > > I have a FreeBSD x86 server, running FreeBSD 7.0-RELEASE, I'd like to > > create a new jail with distcc and gcc to help my laptop compiling > > gentoo x86 stuff, I'm using GCC 4.2.3 on my laptop... > > is it possible to use FreeBSD for compiling gentoo's stuff?? I heard > > of cross-compiling but I have never tried it... if so, any guide > > please ?? > > Thanks :) > Cross compiling refers to the practice of compiling on one hardware > architecture for another hardware architecture, typically going from x86 > to ARM I'd imagine. > In this case, FreeBSD and gentoo put libraries in different places, call > libraries by different names, and use an entirely different system of > makefiles for packages. As such, I imagine that either you'd be better > off making a virtual machine with gentoo installed in it on your FreeBSD > box and compiling from there, or it's possible you could compile static > binaries and use those. > I'm not an expert on jails by any means, but my understanding is that > the only OS you can use within a jail is FreeBSD, as all jailees share a > common kernel. > Best > James Oh, I didn't know the difference thanks, I'll try working on a gentoo chroot inside a Jail, and create a new rc.d to start the distcc of that chroot, thx :) P.S: isn't there a Reply to List in evolution?? emails sent to the mailing list with evolution ( I'm not sure if all of them but yours did and a lot before has the same issue. ) doesn'tpass the checks I have in my procmail setting (attached) and end up in a wrong folder... --=20 Wael Nasreddine http://wael.nasreddine.com PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724 DE12 5565 3945 C8DD 18A2 /=C3=B6\ "I'm a cat person, myself," she said, vaguely. A low-level voice s= aid: /=C3=B6\ "Yeah? Yeah? Wash in your own spit, do you?" /=C3=B6\ -- It's a dog's life /=C3=B6\ (Terry Pratchett, Moving Pictures) --TiqCXmo5T1hvSQQg Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="rc.lists" # vim:ft=procmail:fenc=UTF-8:ts=4:sts=4:sw=4:expandtab: # # $Id: rc.lists 60 2007-05-28 07:26:19Z wael $ # Mailing Lists (misc rules found here and there) :0 * ^X-Mailing-List-Name: \/[^@]+ $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^Sender: owner-\/[^@]+ $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^X-BeenThere: \/[^@]+ $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^Delivered-To: mailing list \/[^@]+ $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^X-Mailing-List: <\/[^@]+ $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^X-Loop: \/[^@]+ $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^X-List-ID: <\/[^@\.]+ $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^X-list: \/[^@\.]+ $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ :0 * ^List-ID: <\/[^@\.]+ $MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/ --TiqCXmo5T1hvSQQg-- --SFyWQ0h3ruR435lw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iD8DBQFH6Q/nVWU5RcjdGKIRAkbmAJoDO8v1S2iGuP2J7zjldDmMxavtxQCfXjp5 WIvYtYvRLqKNfGlAcQ0HvVY= =fKs1 -----END PGP SIGNATURE----- --SFyWQ0h3ruR435lw--