From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C2Ls3-0001Un-2J for qemu-devel@nongnu.org; Tue, 31 Aug 2004 23:33:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C2Ls1-0001Ub-Hr for qemu-devel@nongnu.org; Tue, 31 Aug 2004 23:33:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C2Ls1-0001UY-F5 for qemu-devel@nongnu.org; Tue, 31 Aug 2004 23:33:13 -0400 Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1C2Lml-0001HP-VJ for qemu-devel@nongnu.org; Tue, 31 Aug 2004 23:27:48 -0400 Message-ID: <41354130.40903@gmx.com> Date: Wed, 01 Sep 2004 05:25:36 +0200 From: "Bochnig, Martin" MIME-Version: 1.0 Subject: Re: [Qemu-devel] port to netbsd References: <4134FC39.700@ecs.umass.edu> <41355CC5.5080908@fastmail.fm> In-Reply-To: <41355CC5.5080908@fastmail.fm> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: bochnig@pool.math.tu-berlin.de, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org David Howland wrote: > Well, I managed to get it to compile on NetBSD. I had to use gcc 2.95 > to do it, because of the dyngen errors. > > So, NetBSD can run Linux binaries, and at first, I was trying to run the > 0.6.0 binaries from the frontpage. Congrats! I don't run *BSD (I downloaded FreeBSD but it didn't install on my AMD32 PC due to IDE controller probing hangs). BTW: I started with running the prebuilt QEMU 0.6.0 Linux_i386 binary on my Solaris10_x86 host too. I used the user space Linux_x86<<--->>Solaris_x86 ELF system call translator 'lxrun0.9.5' for that purpose. It has no support for LKM (loadable kernel modules) nor does it support too kernel specific system calls. LXrun runs most linux binaries - but unfortunately neither wine nor VMware or old Plex86. *But it does run QEMU - thanx to Fabrice's brilliant design.* Luckily did I get QEMU 0.6.0 compiled for Solaris10_x86 (with the help of Eric's patch - slightly upgraded and applied by hand [version mismatch]). Yes - either supply the diffs or offer your source tree including the built files as package. I assume the NetBSD would be very happy about that. '/usr/local/bin/qemu' runs perfectly, stable and as fast as under Fedora core 2. The other targets (qemu-fast, qemu-ppc and so on) did compile even under Solaris10_x86. But they crash with a segfault when run. Slirp didn't compile and needed to be disabled. -- Martin