[Top][All Lists]

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

Re: [Qemu-devel] [PATCH v2] Fix compilation of nbd on Windows

From: Jamie Lokier
Subject: Re: [Qemu-devel] [PATCH v2] Fix compilation of nbd on Windows
Date: Mon, 4 Aug 2008 14:23:46 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

Johannes Schindelin wrote:
> > > But then, I do not have a Windows computer myself, so I could not 
> > > really test QEmu itself.
> > 
> > BTW, QEMU seems to run just fine under wine.  Right now I'm building 
> > with mingw and testing with wine.  That seems to be working pretty well.
> In my experience, Wine only shows you so far what works on Windows and 
> what does not.  For example, MingW itself does not run properly in Wine.  
> At least last time I needed it.

Unfortunately, for testing, Wine is also _able_ to run some programs
that _don't_ run under Windows.

I cross-compiled my unix application using Mingw (GCC for native
Windows), and after a few fixes, it was working in Wine.

Unfortunately when I came to deliver the program to a real user, it
totally failed under Windows XP.

In that instance, it was because Wine allocates file descriptors with
small numbers (like unix) and Windows allocates large HANDLE values,
so my unix-friendly code ran ok under Wine but not under real Windows.

The only real test is running it under Windows - I use a virtual
machine (KVM) for that.

-- Jamie

reply via email to

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