From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 20 18:22:00 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7F45416A407 for ; Wed, 20 Sep 2006 18:22:00 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id C62D343D6B for ; Wed, 20 Sep 2006 18:21:57 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id ABAF11A4D91; Wed, 20 Sep 2006 11:21:57 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 1397D5164F; Wed, 20 Sep 2006 14:21:57 -0400 (EDT) Date: Wed, 20 Sep 2006 14:21:56 -0400 From: Kris Kennaway To: Alexander Leidinger Message-ID: <20060920182156.GA83026@xor.obsecurity.org> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EVF5PPMfhYS0aIcm" Content-Disposition: inline In-Reply-To: <20060920102554.mxditjplogkscw44@webmail.leidinger.net> User-Agent: Mutt/1.4.2.2i Cc: freebsd-emulation@freebsd.org, Kris Kennaway Subject: Re: linux cross-development (was: Re: /dev/null: No such file or directory) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Sep 2006 18:22:00 -0000 --EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 20, 2006 at 10:25:54AM +0200, Alexander Leidinger wrote: > Quoting Kris Kennaway (from Tue, 19 Sep 2006 =20 > 21:41:27 -0400): >=20 > >What happened to the linux_devtools port (which is supposed to take > >care of this) - was it never updated to parity with linux_base? >=20 > No. There are several reasons. >=20 > The current devtools port is a mess and interfered with the old =20 > linux_base port in undesirable ways (can't remember exactly how, I =20 > would have to have a look at it again). Bringing it into shape would =20 > be a lot of work (nobody stepped up so far, but I didn't asked for =20 > help for this because of the next reason). >=20 > To cross-develop you need a full system, the linux_base port is a lean = =20 > and mean system. The current linux_base port is designed to extend the = =20 > FreeBSD system and to provide a good user experience for those ports =20 > which are available in the ports collection (and most probably for a =20 > lot of other applications). We rely on the fallthrough to the native =20 > stuff in various places (e.g. we have symlinks to the corresponding =20 > FreeBSD configs where it applies). Doing a chroot into /compat/linux =20 > may work for some use cases, but not for all (and you need to do a =20 > chroot for cross-compiling, else you may pickup FreeBSD native stuff =20 > and get a lot of trouble) and it is not advised to to a chroot into it = =20 > (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 --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFEYbEWry0BWjoQKURAtgLAJ9n3aWo/3i+tmjIdFjKGaSgNSHumQCghyaL 9fXqcy4YzZsyJ28PnAL1lkE= =XZju -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--