From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 21 06:12:56 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 B8F8416A407 for ; Thu, 21 Sep 2006 06:12:56 +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 F24A243D55 for ; Thu, 21 Sep 2006 06:12:55 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5F41D.dip.t-dialin.net [84.165.244.29]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.6/8.13.6) with ESMTP id k8L5nKBi060547; Thu, 21 Sep 2006 07:49:20 +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 k8L6Co7H017945; Thu, 21 Sep 2006 08:12:50 +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; Thu, 21 Sep 2006 08:12:39 +0200 Message-ID: <20060921081239.golv9vl58gococko@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Thu, 21 Sep 2006 08:12:39 +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> <20060920102554.mxditjplogkscw44@webmail.leidinger.net> <20060920182156.GA83026@xor.obsecurity.org> <20060920212442.41c9ed0f@Magellan.Leidinger.net> <20060920200215.GA84299@xor.obsecurity.org> In-Reply-To: <20060920200215.GA84299@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: 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: Thu, 21 Sep 2006 06:12:56 -0000 Quoting Kris Kennaway (from Wed, 20 Sep 2006 =20 16:02:15 -0400): > Actually none of these seem to be critical for typical compilation > needs, except for /dev and /tmp. The former you'll have to mount > devfs to supply (in principle linux_devtools can do this > automatically, by startup script), and you can make linux_devtools > create a /compat/linux/tmp to handle that problem too (it's not ideal > to have it use a private /tmp, but not a big deal either). Try to print something in acroread while having /compat/linux/tmp. =20 Acroread will use the linux tmp while the FreeBSD native lpr command =20 (configured in acroread to be able to print something) searches in the =20 FreeBSD tmp. Currently you don't need to mount anything for a lot of linux programs =20 to work just fine. I like to keep it this way as long as possible. The common case is that people just use the linux base to run linux =20 programs, and not to cross-develop something. What's the problem to =20 tell those people which want to cross-develop something to use the =20 linux_dist ports? Maintaining linux_base as it is is not hard (if you =20 know the pitfalls and some design decissions). Maintaining linux_dist =20 is easy too (it borrows a lot of knowledge from linux_base). =20 Maintaining a linux_base and a linux_devtools port which uses the =20 linux_base port is much harder than maintaining distinct linux_base =20 and linux_dist ports. And distinct ports don't cause as much problems =20 (see the icc part below for an example) as a combination. > Kris > > P.S. I'm not sure that falling through some of the etc/ files will > DTRT, since Linux may require a different file format. Passwd seems to be compatible enough for GTK to not complain (it =20 complains when someone uses NIS but hasn't setup the corresponding =20 linux config file, I don't know if this NIS config is compatible so =20 that we could depend upon a fallthrough). The printer configuration is =20 not necessary to be compatible, we use the FreeBSD native print =20 commands. BTW: ATM we have CONFLICTS between icc and linux_devtools. Icc is a =20 linux binary which generates FreeBSD native binaries. When =20 linux_devtools is installed icc picks up linux stuff and can't =20 generate FreeBSD native binaries. Not a major problem, but a nuisance =20 for those which want to use both. Bye, Alexander. --=20 I've always made it a solemn practice to never drink anything stronger than tequila before breakfast. =09=09-- R. Nesson http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137