This is the mail archive of the
cygwin-apps@sources.redhat.com
mailing list for the Cygwin project.
Re: Cygwin Problem
- To: nhv at cape dot com
- Subject: Re: Cygwin Problem
- From: "Charles S. Wilson" <cwilson at ece dot gatech dot edu>
- Date: Fri, 09 Feb 2001 13:21:12 -0500
- CC: 'Jason Tishler' <Jason dot Tishler at dothill dot com>, cygwin-apps at sources dot redhat dot com
- References: <000401c092b1$80db5b60$a300a8c0@nhv>
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;
> }