[Top][All Lists]

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

Re: [Qemu-discuss] Native 32bit Windows Compile of QEMU 2.1.1 and/or QEM

From: Peter Maydell
Subject: Re: [Qemu-discuss] Native 32bit Windows Compile of QEMU 2.1.1 and/or QEMU 2.0.2
Date: Mon, 15 Sep 2014 12:22:34 -0700

On 15 September 2014 12:07, Paul Gydos <address@hidden> wrote:
> Again I have my reasons, I'm hoping not to be convinced away from QEMU but
> I'm hoping someone might help me get started with Natively Compiling QEMU
> in W32. So now that I'm clear that I'm staying with QEMU for now. Who is up
> to the bizzaro challenge of doing this - knows the ins and outs of Mingw32
> vs Mingw-w64 32 bit version (without the auto installer but rumored to be
> preferred amongst QEMU experts who apparently don't want to let their secret
> sauce on how to do this out of the bag). So lets try this again. Without all
> the reasons why I should look elsewhere does anybody out there think they
> can successfully natively compile a newer QEMU soure on W32 and share the
> details so its reproducible by someone else? This is not an easy task for
> many and if it were then it would already be documented (its not btw - all
> documentation is old) Right now I am using GTK+ all-in-one bundle as my base
> for the dependencies that whichever Mingw might need. That stopped some of
> my problems. Anybody else have advice in this area?

Your fundamental problem here is you're trying to do something
which is an obscure corner case so it's not very well documented.
In order of what kinds of QEMU compile people most often do:
 * Native compilation on a Linux system (usually x86)
   [this is the most common and every other setup is much rarer]
 * Cross compilation of one Linux system to another
 * Cross compilation from a Linux system to Windows
 * Native compilation of Windows

If you want to make your life easier you should move what
you're trying to do somewhere further up this list, so you're
trying something that's well supported and well tested.
Otherwise you're going to have to figure it out for yourself
based on looking at out of date wiki pages, finding suitable
dependent libraries, working out what the native-compile
equivalent of a cross-compile set of libraries needs to be,
and so on. That's all entirely possible, but it's not going to be
easy, especially if you're a relative novice.

PS: there is no "secret special sauce" used by QEMU experts
unless you think "cross compile from Linux rather than using
a native Windows build" is secret sauce...

-- PMM

reply via email to

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