Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B8rtj-0005Dq-37 for qemu-devel@nongnu.org; Wed, 31 Mar 2004 21:25:39 -0500 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B8rtA-0004jY-N8 for qemu-devel@nongnu.org; Wed, 31 Mar 2004 21:25:36 -0500 Received: from [212.238.201.82] (helo=xi.wantstofly.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B8rt9-0004gh-PP for qemu-devel@nongnu.org; Wed, 31 Mar 2004 21:25:03 -0500 Date: Thu, 1 Apr 2004 04:25:02 +0200 From: Lennert Buytenhek Subject: Re: [Qemu-devel] Re: QEMU News: Win32 Port Message-ID: <20040401022502.GA28949@xi.wantstofly.org> References: <406B5612.5050701@bellard.org> <406B5836.7020503@bellard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <406B5836.7020503@bellard.org> Reply-To: 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 On Thu, Apr 01, 2004 at 01:45:58AM +0200, Fabrice Bellard wrote: > >I commited an experimental win32 port of QEMU. I did not test it yet, > >but it compiles. It is based on Kazu port, but I made heavy > >modifications to minimize the number of ifdefs and to factorize the > >"dyngen" utility code. > > > >In order to compile it, look at > >http://www.h7.dion.ne.jp/~qemu-win/PortingTips-en.html. > > I should not have given this URL because Cygwin is _not_ needed to > compile QEMU. Instead use the following steps (taken from the FFmpeg > project doc): I guess cross-compiling for Windows from a linux host isn't supported? These are the problems I stumble over when I try to do just that: * The SDL probe in 'configure' uses the host's CC instead of the target CC, causing the probe to fail. * After hacking around that, it appears that dyngen is compiled as a .exe instead of a host binary, causing Wine to launch whenever dyngen is used in the build process. * -lutil is used for final linking, but libutil.a is a component of glibc, and I didn't dare trying to build it for Windows (does that even work? :) It doesn't even seem to be needed -- removing the '-lutil' causes a qemu.exe to be built anyway. After qemu.exe is built, it doesn't seem to work. It does run, but simply refuses to output anything: F:\>qemu.exe F:\> cheers, Lennert