From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 20 08:26:12 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 2F3D516A47B for ; Wed, 20 Sep 2006 08:26:12 +0000 (UTC) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id A875543D60 for ; Wed, 20 Sep 2006 08:26:10 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D5BD.dip.t-dialin.net [84.165.213.189]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8K82jCZ054629; Wed, 20 Sep 2006 10:02:46 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from localhost (webmail.Leidinger.net [192.168.1.102]) by Andro-Beta.Leidinger.net (8.13.4/8.13.3) with ESMTP id k8K8Q503034186; Wed, 20 Sep 2006 10:26:05 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from psbru.cec.eu.int (psbru.cec.eu.int [158.169.131.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 20 Sep 2006 10:25:54 +0200 Message-ID: <20060920102554.mxditjplogkscw44@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 20 Sep 2006 10:25:54 +0200 From: Alexander Leidinger To: Kris Kennaway References: <20060918230348.I1031@ganymede.hub.org> <20060919022530.GA44301@lor.one-eyed-alien.net> <20060919092117.8asq42ers44w4wgg@webmail.leidinger.net> <20060920014127.GA52449@xor.obsecurity.org> In-Reply-To: <20060920014127.GA52449@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) / FreeBSD-7.0 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org Subject: 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 08:26:12 -0000 Quoting Kris Kennaway (from Tue, 19 Sep 2006 =20 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 =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). 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...). The linux_dist ports are full linux systems. You can chroot into them =20 and you already have all you need (and you can use the gentoo =20 package-stuff to add additional stuff). Bye, Alexander. --=20 Whatever carrousel you stand by, your baggage will come in on another one. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137