From owner-freebsd-emulation@FreeBSD.ORG Tue Oct 18 20:29:55 2005 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 14BA416A41F for ; Tue, 18 Oct 2005 20:29:55 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from mail.ambrisko.com (mail.ambrisko.com [64.174.51.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FD8D43D5D for ; Tue, 18 Oct 2005 20:29:51 +0000 (GMT) (envelope-from ambrisko@ambrisko.com) Received: from server2.ambrisko.com (HELO www.ambrisko.com) ([192.168.1.2]) by mail.ambrisko.com with ESMTP; 18 Oct 2005 13:29:50 -0700 Received: from ambrisko.com (localhost [127.0.0.1]) by www.ambrisko.com (8.12.11/8.12.9) with ESMTP id j9IKToL9064370; Tue, 18 Oct 2005 13:29:50 -0700 (PDT) (envelope-from ambrisko@ambrisko.com) Received: (from ambrisko@localhost) by ambrisko.com (8.12.11/8.12.11/Submit) id j9IKTosJ064369; Tue, 18 Oct 2005 13:29:50 -0700 (PDT) (envelope-from ambrisko) From: Doug Ambrisko Message-Id: <200510182029.j9IKTosJ064369@ambrisko.com> In-Reply-To: <43551412.30002.9AA194B1@localhost> To: Dan Langille Date: Tue, 18 Oct 2005 13:29:50 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Cc: freebsd-emulation@freebsd.org Subject: Re: cross platform building under emulation 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: Tue, 18 Oct 2005 20:29:55 -0000 Dan Langille writes: | I'm asking these questions now because I'm about to implement this at | home and document it on http://www.freebsddiary.org/ (see the teaser | at http://www.freebsddiary.org/cross-compiling-teaser.php). My main | concern is I don't want to be misleading people or giving them a | build that contains real problems. My test installs have resulted in | a box that runs, but more information is always useful. Yes, it has always just worked for me when target <= host and I didn't want to build ports etc. It's sometimes tempting to jump ahead and do more withing initially noticing problems. So if someone tries to build a port within the chroot then they might have random breakage. That is mostly what my warning is for. I made a few mis steps along the way to what I have now and it will get better in the future. I would suggest that you mention the hooks of UNAME_s UNAME_r UNAME_v UNAME_m UNAME_p OSVERSION to point people in the right direction even if they are only partially implemented. Looks like I will be commiting my changes to osreldate and uname(3) to make this stuff work through out. Only after some other hacks did I discover these hooks :-( Doug A.