From: Filip Navara <filip.navara@gmail.com>
To: Anthony Liguori <aliguori@us.ibm.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: [Qemu-devel] Re: [Qemu-commits] [COMMIT 537fe2d] Make sure to use SDL_CFLAGS everywhere we includeSDL headers
Date: Sun, 21 Jun 2009 12:15:41 +0200 [thread overview]
Message-ID: <5b31733c0906210315w60a40e85r3e5a11372c8ddd9@mail.gmail.com> (raw)
In-Reply-To: <5b31733c0906210302i5b633454w6f2954d7fb5cfeee@mail.gmail.com>
On Sun, Jun 21, 2009 at 12:02 PM, Filip Navara <filip.navara@gmail.com> wrote:
>
> On Tue, Jun 16, 2009 at 10:33 PM, Anthony Liguori <aliguori@us.ibm.com> wrote:
>>
>> From: Anthony Liguori <aliguori@us.ibm.com>
>>
>> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
>>
>> diff --git a/Makefile b/Makefile
>> index 3177616..209b21f 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -208,7 +208,7 @@ keymaps.o: keymaps.c keymaps.h
>>
>> sdl.o: sdl.c keymaps.h sdl_keysym.h
>>
>> -sdl.o audio/sdlaudio.o: CFLAGS += $(SDL_CFLAGS)
>> +sdl.o audio/sdlaudio.o baum.o: CFLAGS += $(SDL_CFLAGS)
>>
>> acl.o: acl.h acl.c
>>
>> diff --git a/Makefile.target b/Makefile.target
>> index 27de4b9..0159bf7 100644
>> --- a/Makefile.target
>> +++ b/Makefile.target
>> @@ -730,6 +730,8 @@ LDFLAGS+=-p
>> main.o: CFLAGS+=-p
>> endif
>>
>> +vl.o: CFLAGS+=$(SDL_CFLAGS)
>> +
>> vl.o: qemu-options.h
>>
>> monitor.o: qemu-monitor.h
>>
>>
>
> Please note that this commits breaks the Win32 port in several ways. First problem is the SDL_main definition as already pointed out on the mailing list. The other problem is that default mingw32 builds of SDL redirect stderr/stdout through the SDL_main hack (and in incorrect way too, but I will leave that for the SDL folks), so it's nearly impossible to get console output - ie. error messages or help.
> The only workaround I know is to build SDL with the --disable-stdio-redirect, which is a bit annoying.
Or rather "./configure --enable-stdio-redirect=no".
F.
next prev parent reply other threads:[~2009-06-21 10:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200906162031.n5GKVkTW025657@d01av03.pok.ibm.com>
2009-06-21 10:02 ` [Qemu-devel] Re: [Qemu-commits] [COMMIT 537fe2d] Make sure to use SDL_CFLAGS everywhere we includeSDL headers Filip Navara
2009-06-21 10:15 ` Filip Navara [this message]
2009-06-21 23:45 ` Anthony Liguori
2009-06-22 5:02 ` Filip Navara
2009-06-22 5:17 ` Filip Navara
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=5b31733c0906210315w60a40e85r3e5a11372c8ddd9@mail.gmail.com \
--to=filip.navara@gmail.com \
--cc=aliguori@us.ibm.com \
--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).