All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <sw@weilnetz.de>
To: Mike Levin <miklevin@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Curses enabled for Windows 32 binary
Date: Wed, 13 Nov 2013 06:47:20 +0100	[thread overview]
Message-ID: <52831268.9040505@weilnetz.de> (raw)
In-Reply-To: <CABD-Jgh=yh3bUx8GVPfO_Z-1giX42XBX_rDou02sU=9L-PgKWA@mail.gmail.com>

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

Am 12.11.2013 23:28, schrieb Mike Levin:
> Hello QEMU developers,
>
> I'm trying to do the closes thing to a static linked compile with
> curses enabled of qemu-system32.exe for the Windows platform as possible.
>
> I've resisted mailing this developer mailing list for a year before I
> decided to turn here for help. I've made a self-contained QEMU/Linux
> distro that doesn't require an install, and runs with a double-click
> from Dropbox or a USB pendrive on Linux, Mac or Windows. Look here for
> details: MikeLev.in/UX/
>
> Lately, I've been trying to get the magic cocktail of files under
> control so I can modernize and better control the project and come
> into license compliance. To that end, I've successfully compiled 1.6.1
> for Linux with --enable-curses and static linking. For Mac, I did the
> close equivalent with Homebrew. You can see these both working in
> Levinux 2.3.
>
> However, whenever I try to get the Windows version into parity, I fail
> each time - usually having something to do with unfulfilled
> dependencies. Over the year, I've tried compiling under MinGW, Cygwin,
> cross-compiling from Linux, all with insurmountable obstacles (for me).
>
> And so I turn to you QEMU developer gurus to see if this
> project/challenge sparks anyone's interest? It's mostly about
> eliminating the pointer-grabbing. I can live with SDL. But the ideal
> is curses, so you can get something that looks color vim in an xterm
> window without pointer grabbing (confuses newbies).
>
> Feel free to email me directly at miklevin@gmail.com
> <mailto:miklevin@gmail.com> if interested helping me with this project.
>
> Thanks.
>
> Mike Levin


Hello Mike,

for MinGW or MinGW-w64, pdcurses is a good choice which worked the last
time when I tried it.
If you generate binaries which support both curses and SDL, you have to
set SDL_STDIO_REDIRECT=no
in the environment - otherwise the curses output will be sent to a file
(no screen output)!

MinGW or MinGW-w64 (which is better) both can be used native or for
cross development.
Cygwin is not supported and will currently fail.

Cheers,

Stefan Weil


[-- Attachment #2: Type: text/html, Size: 3455 bytes --]

      reply	other threads:[~2013-11-13  5:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-12 22:28 [Qemu-devel] Curses enabled for Windows 32 binary Mike Levin
2013-11-13  5:47 ` Stefan Weil [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=52831268.9040505@weilnetz.de \
    --to=sw@weilnetz.de \
    --cc=miklevin@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.