Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Mar 2008 15:44:55 +0100
From:      Wael Nasreddine <mla@nasreddine.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Distcc + cross compiling
Message-ID:  <20080325144455.GE19029@phoenix.nasreddine.info>
In-Reply-To: <1206453827.28606.27.camel@p25dual1.lanl.gov>
References:  <20080325061753.GA6160@phoenix.nasreddine.info> <1206453827.28606.27.camel@p25dual1.lanl.gov>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <jamesh@lanl.gov> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080325144455.GE19029>