This is the mail archive of the cygwin-apps@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cygwin Problem


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;
> }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]