From owner-freebsd-emulation@FreeBSD.ORG Wed Sep 20 21:46:39 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 7220116A403 for ; Wed, 20 Sep 2006 21:46:39 +0000 (UTC) (envelope-from scrappy@freebsd.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0FEB43D46 for ; Wed, 20 Sep 2006 21:46:38 +0000 (GMT) (envelope-from scrappy@freebsd.org) Received: from localhost (unknown [200.46.204.128]) by hub.org (Postfix) with ESMTP id 57F513A4658; Wed, 20 Sep 2006 18:46:24 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 13574-05; Wed, 20 Sep 2006 21:45:15 +0000 (UTC) Received: from ganymede.hub.org (blk-137-86-60.eastlink.ca [24.137.86.60]) by hub.org (Postfix) with ESMTP id 383663A464C; Wed, 20 Sep 2006 18:44:59 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1027) id 261845C5B7; Wed, 20 Sep 2006 18:45:09 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 2173C5C57A; Wed, 20 Sep 2006 18:45:09 -0300 (ADT) Date: Wed, 20 Sep 2006 18:45:09 -0300 (ADT) From: "Marc G. Fournier" X-X-Sender: freebsd@ganymede.hub.org To: Alexander Leidinger In-Reply-To: <20060920102554.mxditjplogkscw44@webmail.leidinger.net> Message-ID: <20060920184438.I1031@ganymede.hub.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: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 21:46:39 -0000 On Wed, 20 Sep 2006, Alexander Leidinger wrote: > Quoting Kris Kennaway (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...). > > The linux_dist ports are full linux systems. You can chroot into them and you > already have all you need (and you can use the gentoo package-stuff to add > additional stuff). Just curious, but why are the linux_dist ports trying to create devices in the dev directory? shouldn't one be using devfs to mount devices? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664