qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Kazu" <kazoo@r3.dion.ne.jp>
To: Alexander Voropay <alec@nwpi.ru>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu on Cygwin
Date: Sun, 4 Feb 2007 19:27:54 +0900	[thread overview]
Message-ID: <002b01c74847$21915900$0464a8c0@athlon> (raw)
In-Reply-To: 0b9101c747b7$05d28b20$e90d11ac@spb.in.rosprint.ru

[-- Attachment #1: Type: text/plain, Size: 863 bytes --]

Hi,

Sent: Sunday, February 04, 2007 2:16 AM Alexander Voropay wrote:

> "Johannes Schindelin" <Johannes.Schindelin@gmx.de> 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

[-- Attachment #2: qemu-20070204-cygwin.patch --]
[-- Type: application/octet-stream, Size: 525 bytes --]

Index: Makefile.target
===================================================================
RCS file: /sources/qemu/qemu/Makefile.target,v
retrieving revision 1.144
diff -u -r1.144 Makefile.target
--- Makefile.target	2 Feb 2007 03:13:18 -0000	1.144
+++ Makefile.target	4 Feb 2007 10:19:03 -0000
@@ -177,6 +177,7 @@
 BASE_LDFLAGS+=-Wl,-segaddr,__STD_PROG_ZONE,0x1000 -image_base 0x0e000000
 endif
 
+BASE_CFLAGS+=$(OS_CFLAGS)
 OP_CFLAGS+=$(OS_CFLAGS)
 
 #########################################################

      reply	other threads:[~2007-02-04 10:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-31 19:35 [Qemu-devel] qemu on Cygwin Alexander Voropay
2007-01-31 22:33 ` Stefan Weil
2007-02-01  8:57 ` Johannes Schindelin
2007-02-03 17:16   ` Alexander Voropay
2007-02-04 10:27     ` Kazu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002b01c74847$21915900$0464a8c0@athlon' \
    --to=kazoo@r3.dion.ne.jp \
    --cc=alec@nwpi.ru \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).