Re: Distcc + cross compiling

2008-03-25 Thread James Harrison
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

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Distcc + cross compiling

2008-03-25 Thread Wael Nasreddine
This One Time, at Band Camp, James Harrison [EMAIL PROTECTED] 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...

-- 
Wael Nasreddine
http://wael.nasreddine.com
PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

/ö\ I'm a cat person, myself, she said, vaguely. A low-level voice said:
/ö\ Yeah? Yeah? Wash in your own spit, do you?
/ö\ -- It's a dog's life
/ö\(Terry Pratchett, Moving Pictures)
# 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: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^Sender: owner-\/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^X-BeenThere: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^Delivered-To: mailing list \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^X-Mailing-List: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^X-Loop: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^X-List-ID: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^X-list: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/

:0
* ^List-ID: \/[EMAIL PROTECTED]
$MAILDIR/.List.`echo $MATCH | sed -e 's/[\/]/_/g'`/


pgpx4J3FLkpM6.pgp
Description: PGP signature