From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HDebF-0008QB-J6 for qemu-devel@nongnu.org; Sun, 04 Feb 2007 05:27:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HDebE-0008P0-JY for qemu-devel@nongnu.org; Sun, 04 Feb 2007 05:27:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HDebE-0008Oq-EA for qemu-devel@nongnu.org; Sun, 04 Feb 2007 05:27:56 -0500 Received: from nm01mta.dion.ne.jp ([211.5.2.71] helo=nm01omta013.dion.ne.jp) by monty-python.gnu.org with smtp (Exim 4.52) id 1HDebD-0007zH-UK for qemu-devel@nongnu.org; Sun, 04 Feb 2007 05:27:56 -0500 Message-ID: <002b01c74847$21915900$0464a8c0@athlon> From: "Kazu" References: <06c101c7456f$0ae0a790$e90d11ac@spb.in.rosprint.ru> <0b9101c747b7$05d28b20$e90d11ac@spb.in.rosprint.ru> Subject: Re: [Qemu-devel] qemu on Cygwin Date: Sun, 4 Feb 2007 19:27:54 +0900 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0026_01C74892.912CB5C0" Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Voropay , qemu-devel@nongnu.org This is a multi-part message in MIME format. ------=_NextPart_000_0026_01C74892.912CB5C0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, Sent: Sunday, February 04, 2007 2:16 AM Alexander Voropay wrote: > "Johannes Schindelin" wrote: > >>> Did anyone try the latest CVS qemu on Cygwin ? > >> AFAICT this is due to SDL. I did not succeed in compiling any SDL related >> stuff in cygwin, but then, I did not really try, since the MinGW >> compilation is easy enough. > > I've successfully compiled SDL 1.2.11 on the fresh-installed Cygwin 1.5.24. > The following test SDL application works: > http://www.cse.nd.edu/courses/cse20211/www/code/sdl.html > > The SDL/test contains a bunch of SDL testing applications. > Most of them works too, even sound- and OpenGL related. > sdl-config adds -mno-cygwin option so that SDL on Cygwin uses MinGW compiler. An attached patch makes compile on Cygwin. But I have to downgrade mingw-runtime from 3.11 to 3.10. Regards, Kazu ------=_NextPart_000_0026_01C74892.912CB5C0 Content-Type: application/octet-stream; name="qemu-20070204-cygwin.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="qemu-20070204-cygwin.patch" Index: Makefile.target=0A= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A= RCS file: /sources/qemu/qemu/Makefile.target,v=0A= retrieving revision 1.144=0A= diff -u -r1.144 Makefile.target=0A= --- Makefile.target 2 Feb 2007 03:13:18 -0000 1.144=0A= +++ Makefile.target 4 Feb 2007 10:19:03 -0000=0A= @@ -177,6 +177,7 @@=0A= BASE_LDFLAGS+=3D-Wl,-segaddr,__STD_PROG_ZONE,0x1000 -image_base = 0x0e000000=0A= endif=0A= =0A= +BASE_CFLAGS+=3D$(OS_CFLAGS)=0A= OP_CFLAGS+=3D$(OS_CFLAGS)=0A= =0A= #########################################################=0A= ------=_NextPart_000_0026_01C74892.912CB5C0--