| www.delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm |
| Sender: | cygwin-apps-owner AT sourceware DOT cygnus DOT com |
| List-Subscribe: | <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin-apps/> |
| List-Post: | <mailto:cygwin-apps AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs> |
| Delivered-To: | mailing list cygwin-apps AT sources DOT redhat DOT com |
| Message-ID: | <3A843518.105FC65A@ece.gatech.edu> |
| Date: | Fri, 09 Feb 2001 13:21:12 -0500 |
| From: | "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu> |
| X-Mailer: | Mozilla 4.75 [en] (WinNT; U) |
| X-Accept-Language: | en |
| MIME-Version: | 1.0 |
| To: | nhv AT cape DOT com |
| CC: | "'Jason Tishler'" <Jason DOT Tishler AT dothill DOT com>, |
| cygwin-apps AT sources DOT redhat DOT com | |
| Subject: | Re: Cygwin Problem |
| References: | <000401c092b1$80db5b60$a300a8c0 AT 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;
> }
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |