From: "John R. Hogerhuis" <jhoger@speakeasy.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: QEMU News: Win32 Port
Date: Wed, 31 Mar 2004 23:09:36 -0800 [thread overview]
Message-ID: <1080803376.29534.42.camel@aragorn> (raw)
In-Reply-To: <20040401022502.GA28949@xi.wantstofly.org>
[-- Attachment #1: Type: text/plain, Size: 2921 bytes --]
I get the same behavior... qemu that is built just silently exits, with
no output.
The SDL probe can be fixed by moving it down just after cc is redefined
to include the cross compiler prefix.
I did the same thing you did and removed the -lutil prefix to get the
last step to compile.
There does seem to be one more issue in the install for the main
Makefile... it wants to copy a the qemu-mkcow utility but the TOOLS
macro is already set to nothing because CONFIG_WIN32 is defined.
Some details:
I am using the following to build SDL:
./configure --host=i586-mingw32msvc --disable-nasm
--prefix=/home/john/projects/SDL-1.2.7
I added /home/john/projects/SDL-1.2.7 to beginning of my path so that
sdl-config would be found there.
Then I configured QEMU to make the cross compiler prefix under the
--enable-mingw32 option to match my compiler. I ran
./configure --enable-mingw32 --prefix=/home/john/projects/qemu
make install
qemu.exe gets created in i386-softmmu
I copied qemu.exe and SDL.dll from the SDL build to my vmware Win2K, and
upon running it fails as described above.
I wonder if I am missing copying over some library to the windows box.
-- John.
On Wed, 2004-03-31 at 18:25, Lennert Buytenhek wrote:
> On Thu, Apr 01, 2004 at 01:45:58AM +0200, Fabrice Bellard wrote:
>
> > >I commited an experimental win32 port of QEMU. I did not test it yet,
> > >but it compiles. It is based on Kazu port, but I made heavy
> > >modifications to minimize the number of ifdefs and to factorize the
> > >"dyngen" utility code.
> > >
> > >In order to compile it, look at
> > >http://www.h7.dion.ne.jp/~qemu-win/PortingTips-en.html.
> >
> > I should not have given this URL because Cygwin is _not_ needed to
> > compile QEMU. Instead use the following steps (taken from the FFmpeg
> > project doc):
>
> I guess cross-compiling for Windows from a linux host isn't supported?
> These are the problems I stumble over when I try to do just that:
> * The SDL probe in 'configure' uses the host's CC instead of the target
> CC, causing the probe to fail.
> * After hacking around that, it appears that dyngen is compiled as a .exe
> instead of a host binary, causing Wine to launch whenever dyngen is used
> in the build process.
> * -lutil is used for final linking, but libutil.a is a component of glibc,
> and I didn't dare trying to build it for Windows (does that even work? :)
> It doesn't even seem to be needed -- removing the '-lutil' causes a
> qemu.exe to be built anyway.
>
> After qemu.exe is built, it doesn't seem to work. It does run, but simply
> refuses to output anything:
>
> F:\>qemu.exe
>
> F:\>
>
>
> cheers,
> Lennert
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://mail.nongnu.org/mailman/listinfo/qemu-devel
>
>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-04-01 7:09 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-31 23:36 [Qemu-devel] QEMU News: Win32 Port Fabrice Bellard
2004-03-31 23:45 ` [Qemu-devel] " Fabrice Bellard
2004-04-01 2:25 ` Lennert Buytenhek
2004-04-01 4:07 ` John R. Hogerhuis
2004-04-01 8:07 ` Lennert Buytenhek
2004-04-01 7:09 ` John R. Hogerhuis [this message]
2004-04-01 8:39 ` John R. Hogerhuis
2004-03-31 23:51 ` [Qemu-devel] " John R. Hogerhuis
2004-04-01 0:06 ` Fabrice Bellard
2004-04-01 7:43 ` [Qemu-devel] QEMU News: Win32 Port - Release Schedule Rudi Lippert
2004-04-01 8:06 ` Hetz Ben Hamo
2004-04-01 8:25 ` Rudi Lippert
2004-04-01 9:24 ` John R. Hogerhuis
2004-04-01 9:30 ` Gaël Varoquaux
2004-04-01 9:58 ` Rudi Lippert
2004-04-01 22:01 ` Fabrice Bellard
2004-04-01 8:55 ` Jean-Michel POURE
2004-04-01 12:26 ` Lionel Ulmer
2004-04-01 13:42 ` Rudi Lippert
2004-04-02 23:26 ` Mark IJbema
2004-04-03 9:35 ` Wesley Parish
2004-04-01 16:31 ` [Qemu-devel] FreeBSD port (was: QEMU News: Win32 Port) Markus Niemistö
2004-04-03 17:11 ` [Qemu-devel] QEMU News: Win32 Port kazu
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=1080803376.29534.42.camel@aragorn \
--to=jhoger@speakeasy.net \
--cc=jhoger@pobox.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).