Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: Pavel Tsekov Cc: cygwin AT cygwin DOT com Subject: Re: Missing headers with -mno-cygwin References: <3BF3CBD7 DOT A15D57E2 AT syntrex DOT com> From: Graham Murray Date: Thu, 15 Nov 2001 14:12:50 +0000 In-Reply-To: <3BF3CBD7.A15D57E2@syntrex.com> (Pavel Tsekov's message of "Thu, 15 Nov 2001 15:06:15 +0100") Message-ID: Lines: 37 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i386-mingw-nt5.0.2195) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-OriginalArrivalTime: 15 Nov 2001 14:12:50.0078 (UTC) FILETIME=[9BB883E0:01C16DDF] Pavel Tsekov writes: > Graham Murray wrote: >> >> On trying to build an application which uses -mno-cygwin, the >> compilation fails because it cannot find "standard" sytem headers. I >> added "-v" to the CFLAGS and the output follows. I am sure that this >> worked about 2 weeks ago, and since then I have only used the setup >> (from the web page) utility to keep everything up-to-date. >> >> In file included from h-basic.h:20, >> from angband.h:19, >> from artifact.c:13: >> h-system.h:20: stdio.h: No such file or directory >> h-system.h:21: ctype.h: No such file or directory >> h-system.h:22: errno.h: No such file or directory >> h-system.h:28: stdlib.h: No such file or directory >> h-system.h:50: time.h: No such file or directory >> h-system.h:59: io.h: No such file or directory >> h-system.h:67: memory.h: No such file or directory >> h-system.h:73: fcntl.h: No such file or directory >> h-system.h:104: string.h: No such file or directory >> make: *** [artifact.o] Error 1 > > I hate to ask this :) Do you have these headers in the > /usr/include/mingw directory ? No. The /usr/include/mingw directory is almost empty. c:/cygwin/usr/include/mingw: total 3 free 6057282 drwxrwxrwx 2 gmurray root 0 Nov 13 07:57 . drwxrwxrwx 2 gmurray root 0 Nov 15 12:54 .. -rw-rw-rw- 1 gmurray root 16 May 14 2001 GL -rw-rw-rw- 1 gmurray root 2721 Jun 18 03:02 _G_config.h -rw-rw-rw- 1 gmurray root 20 May 14 2001 glui.h -rw-rw-rw- 1 gmurray root 21 May 14 2001 gluix.h -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/