Cygwin Problem

Charles S. Wilson cwilson@ece.gatech.edu
Fri Feb 9 10:21:00 GMT 2001


windows.h and friends now live in /usr/include/w32api/ and not
/usr/include/.  Just add -I/usr/include/w32api.

--Chuck


Norman Vine wrote:
> I do not think that this is the same problem
> Hopefully this dumb example will illustrate my point better
> 
> Cheers
> 
> Norman Vine
> 
> /* jnk.c -- -mwin32 switch test
> $ gcc -DWIN32 jnk.c
> jnk.c:1: windows.h: No such file or directory
> 
> $ gcc -mwindows jnk.c
> jnk.c:1: windows.h: No such file or directory
> 
> $ gcc -mwin32 jnk.c
> $ a
> A dumb test
> */
> 
> #include <windows.h>
> 
> int main(int argc, char **argv)
> {
>         printf("A dumb test\n");
>         return 0;
> }



More information about the Cygwin-apps mailing list