Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 2006 14:21:56 -0400
From:      Kris Kennaway <kris@obsecurity.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        freebsd-emulation@freebsd.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: linux cross-development (was: Re: /dev/null: No such file or directory)
Message-ID:  <20060920182156.GA83026@xor.obsecurity.org>
In-Reply-To: <20060920102554.mxditjplogkscw44@webmail.leidinger.net>
References:  <20060918230348.I1031@ganymede.hub.org> <20060919022530.GA44301@lor.one-eyed-alien.net> <20060919092117.8asq42ers44w4wgg@webmail.leidinger.net> <20060920014127.GA52449@xor.obsecurity.org> <20060920102554.mxditjplogkscw44@webmail.leidinger.net>

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

[-- Attachment #1 --]
On Wed, Sep 20, 2006 at 10:25:54AM +0200, Alexander Leidinger wrote:
> Quoting Kris Kennaway <kris@obsecurity.org> (from Tue, 19 Sep 2006  
> 21:41:27 -0400):
> 
> >What happened to the linux_devtools port (which is supposed to take
> >care of this) - was it never updated to parity with linux_base?
> 
> No. There are several reasons.
> 
> The current devtools port is a mess and interfered with the old  
> linux_base port in undesirable ways (can't remember exactly how, I  
> would have to have a look at it again). Bringing it into shape would  
> be a lot of work (nobody stepped up so far, but I didn't asked for  
> help for this because of the next reason).
> 
> To cross-develop you need a full system, the linux_base port is a lean  
> and mean system. The current linux_base port is designed to extend the  
> FreeBSD system and to provide a good user experience for those ports  
> which are available in the ports collection (and most probably for a  
> lot of other applications). We rely on the fallthrough to the native  
> stuff in various places (e.g. we have symlinks to the corresponding  
> FreeBSD configs where it applies). Doing a chroot into /compat/linux  
> may work for some use cases, but not for all (and you need to do a  
> chroot for cross-compiling, else you may pickup FreeBSD native stuff  
> and get a lot of trouble) and it is not advised to to a chroot into it  
> (I should add a note about this to the port...).

OK, but under linux_base-8 it was enough to install the linux_devtools
and then chroot, in order to compile linux stuff; in fact this was
precisely the purpose of the linux_devtools port.

Hopefully this will be addressed soon, it would be a shame to lose
this functionality.  Is anyone working on it?

Kris

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFEYbEWry0BWjoQKURAtgLAJ9n3aWo/3i+tmjIdFjKGaSgNSHumQCghyaL
9fXqcy4YzZsyJ28PnAL1lkE=
=XZju
-----END PGP SIGNATURE-----

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