From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 21 15:27:07 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 D9A4416A40F for ; Thu, 21 Sep 2006 15:27:07 +0000 (UTC) (envelope-from saper@SYSTEM.PL) Received: from mail01.ish.de (pip250.ish.de [80.69.98.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B4BD43D78 for ; Thu, 21 Sep 2006 15:27:04 +0000 (GMT) (envelope-from saper@SYSTEM.PL) Received: from [80.69.97.9] (HELO saperski.saper.info) by mail-fe-02.mail01.ish.de (CommuniGate Pro SMTP 5.0.6) with ESMTPS id 67499341; Thu, 21 Sep 2006 17:27:03 +0200 Received: from [127.0.0.1] (saperski.saper.info [127.0.0.1]) by saperski.saper.info (8.13.8/8.13.8) with ESMTP id k8LDen4b006975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 21 Sep 2006 15:40:56 +0200 (CEST) (envelope-from saper@SYSTEM.PL) Message-ID: <45129661.40704@SYSTEM.PL> Date: Thu, 21 Sep 2006 15:40:49 +0200 From: Marcin Cieslak User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.6) Gecko/20060912 SeaMonkey/1.0.4 MIME-Version: 1.0 To: Alexander Leidinger 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> <20060921081239.golv9vl58gococko@webmail.leidinger.net> In-Reply-To: <20060921081239.golv9vl58gococko@webmail.leidinger.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, Kris Kennaway Subject: Re: linux cross-development 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 15:27:08 -0000 Alexander Leidinger wrote: > Quoting Kris Kennaway (from Wed, 20 Sep 2006 > 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. > Acroread will use the linux tmp while the FreeBSD native lpr command > (configured in acroread to be able to print something) searches in the > FreeBSD tmp. > > Currently you don't need to mount anything for a lot of linux programs > 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 > programs, and not to cross-develop something. What's the problem to tell > those people which want to cross-develop something to use the linux_dist > ports? Maintaining linux_base as it is is not hard (if you know the > pitfalls and some design decissions). Maintaining linux_dist is easy too > (it borrows a lot of knowledge from linux_base). Maintaining a > linux_base and a linux_devtools port which uses the linux_base port is > much harder than maintaining distinct linux_base and linux_dist ports. > And distinct ports don't cause as much problems (see the icc part below > for an example) as a combination. I would like to second Alexander on this. linux_base-fc-4 is the first fully-working-for-me Linux emulation port since almost two years. Finally I have everything running as it should (acroread, skype, etc.) and you can have Oracle 10 Express Edition fully up and running - that's considerable achievement. I would like to thank Alexander and all project participants for making this possible. I was a bit reluctant to give linux_dist ports a try because I misread CONFLICTS_* Makefile clauses. It runs perfectly completely independent from the base package and provides full chroot Linux-like environment. I even got a color "ls" there to remind me it's Linux (although no vi by default). And I *do* mind cluttering my nicely working small /compat/linux with more mis-versioned crap libraries needed for hacking. This setup really encouraged me to join development of the linuxolator since once I got Oracle running you can see that real compatibility is achievable. Alex: more patches to fix small issues in LTP tests are ready, in the meantime I try to improve my style(9) skills... :-) -- << Marcin Cieslak // saper@system.pl >>