Re: [Qemu-devel] qemu on Cygwin

2007-02-04 Thread Kazu
Hi,

Sent: Sunday, February 04, 2007 2:16 AM Alexander Voropay wrote:

> "Johannes Schindelin" <[EMAIL PROTECTED]> wrote:
>
>>>  Did anyone try the latest CVS qemu on Cygwin ?
>
>> AFAICT this is due to SDL. I did not succeed in compiling any SDL related
>> stuff in cygwin, but then, I did not really try, since the MinGW
>> compilation is easy enough.
>
> I've successfully compiled SDL 1.2.11 on the fresh-installed Cygwin
1.5.24.
> The following test SDL application works:
> http://www.cse.nd.edu/courses/cse20211/www/code/sdl.html
>
> The SDL/test contains a bunch of SDL testing applications.
> Most of them works too, even sound- and OpenGL related.
>

sdl-config adds -mno-cygwin option so that SDL on Cygwin uses MinGW
compiler.
An attached patch makes compile on Cygwin. But I have to downgrade
mingw-runtime from 3.11 to 3.10.

Regards,
Kazu


qemu-20070204-cygwin.patch
Description: Binary data
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] qemu on Cygwin

2007-02-03 Thread Alexander Voropay

"Johannes Schindelin" <[EMAIL PROTECTED]> wrote:


 Did anyone try the latest CVS qemu on Cygwin ?


AFAICT this is due to SDL. I did not succeed in compiling any SDL related 
stuff in cygwin, but then, I did not really try, since the MinGW 
compilation is easy enough.


I've successfully compiled SDL 1.2.11 on the fresh-installed Cygwin 1.5.24.
The following test SDL application works:
http://www.cse.nd.edu/courses/cse20211/www/code/sdl.html

The SDL/test contains a bunch of SDL testing applications.
Most of them works too, even sound- and OpenGL related.

--
-=AV=-


___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] qemu on Cygwin

2007-02-01 Thread Johannes Schindelin
Hi,

On Wed, 31 Jan 2007, Alexander Voropay wrote:

>  Did anyone try the latest CVS qemu on Cygwin ?
> 
>  The build environment adds spacial "-mno-cygwin" option
> which among other effects removes defaul *.h path (/usr/include/)
> >from the search list.

AFAICT this is due to SDL. I did not succeed in compiling any SDL related 
stuff in cygwin, but then, I did not really try, since the MinGW 
compilation is easy enough. (Also, the executables are slightly faster, 
since they don't have to emulate a POSIX layer on top of the Windows 
crAPI.)

Ciao,
Dscho



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] qemu on Cygwin

2007-01-31 Thread Stefan Weil

> Hi!
>  
>  Did anyone try the latest CVS qemu on Cygwin ?
>  
>  The build environment adds spacial "-mno-cygwin" option
> which among other effects removes defaul *.h path (/usr/include/)
> from the search list.

Default path with -mno-cygwin is /usr/include/mingw,
so zlib.h must be installed there...

You can see the search list with "gcc -mno-cygwin -E -v -".

Stefan



___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


[Qemu-devel] qemu on Cygwin

2007-01-31 Thread Alexander Voropay
Hi!

 Did anyone try the latest CVS qemu on Cygwin ?

 The build environment adds spacial "-mno-cygwin" option
which among other effects removes defaul *.h path (/usr/include/)
from the search list.

 For example:

-- a.c --
#include 
main () {}


$ gcc -c a.c--- OK

$ gcc -mno-cygwin -c a.c
a.c:1:18: zlib.h: No such file or directory



--
-=AV=-___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel