qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v2] w32: Build windows and console executables


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH v2] w32: Build windows and console executables
Date: Fri, 13 Jan 2012 22:57:34 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20111110 Iceowl/1.0b1 Icedove/3.0.11

Am 13.01.2012 22:31, schrieb Andreas Färber:
Am 13.01.2012 22:13, schrieb Stefan Weil:
Am 22.12.2011 11:20, schrieb Stefan Weil:
System emulation executables with SDL are typically windows
executables. Sometimes console executables are more useful,
so create both variants if linker option -mwindows was detected.

v2:
This version uses QEMU_PROGW / QEMU_PROG instead of QEMU_PROG /
QEMU_PROGC.

Signed-off-by: Stefan Weil<address@hidden>
---
Makefile.target | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)

Ping? All open questions were solved, so this patch can be committed.

No objection to this patch, just raising the question whether we might
want to compile code differently for the two targets? For example, does
-nographic make sense for the *w.exe?

Andreas

Yes, it makes sense.

It's possible to run a *w.exe with stdin/stdout redirected
to a pipe. The msys rxvt terminal works like that and allows
-nographics.

And even without such tricks, the commonly used SDL
implementations redirect stdout to a file, so it is possible
to run a *w.exe with -nographic and use the file (for example
in automated tests which boot a Linux kernel).

So I see no reason to compile both executables differently.

Having executables which are binary compatible has also
advantages for installers (compressing twice the same binary
data should be easy).

Regards,
Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]