From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BX0ye-0001yy-Ms for qemu-devel@nongnu.org; Sun, 06 Jun 2004 12:58:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BX0yd-0001yg-QJ for qemu-devel@nongnu.org; Sun, 06 Jun 2004 12:58:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BX0yd-0001yP-Mc for qemu-devel@nongnu.org; Sun, 06 Jun 2004 12:58:31 -0400 Received: from [216.254.0.205] (helo=mail5.speakeasy.net) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BX0xZ-0001aB-4K for qemu-devel@nongnu.org; Sun, 06 Jun 2004 12:57:25 -0400 Subject: Re: [Qemu-devel] WINE with QEMU on non-86x processor? From: "John R. Hogerhuis" In-Reply-To: <200406061434.46109.trunks-carracho@planet.nl> References: <1086483144.29235.173.camel@aragorn> <200406061358.35817.trunks-carracho@planet.nl> <200406061434.46109.trunks-carracho@planet.nl> Content-Type: text/plain Message-Id: <1086541045.14163.217.camel@aragorn> Mime-Version: 1.0 Date: Sun, 06 Jun 2004 09:57:25 -0700 Content-Transfer-Encoding: 7bit Reply-To: jhoger@pobox.com, qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sander Nagtegaal Cc: qemu-devel@nongnu.org The first thing you need to accomplish is get x86 ls to work. WINE is really complex, so at best it should be the second thing you run. QEMU doesn't require much in the way of installation. I'd guess it is more likely that your x86 libraries are not being found. Did you try these instructions from the web page? On non x86 CPUs, you need first to download at least an x86 glibc (`qemu-runtime-i386-XXX-.tar.gz' [FILENAME IS DIFFERENT] on the QEMU web page). Ensure that LD_LIBRARY_PATH is not set: unset LD_LIBRARY_PATH Then you can launch the precompiled `ls' x86 executable: qemu-i386 tests/i386/ls Now the previous command shows a -L / option for X86 which is how you tell QEMU where to look for libraries. You probably should unset the library path as above, and when you invoke QEMU give an -L command but with the path to your x86 libraries. I'm not sure why this is not shown in the documentation, I could be wrong or it could be an oversight. Someone experienced with qemu AND has a PPC (or actually any non x86 arch), please help Sander out by trying this... and then post to the list exactly what you did so that the doco can be updated. -- John.