delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.3 required=5.0 tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Jacob Jacobson <news AT biyani DOT org> |
Subject: | Re: gcc cannot find stdio.h |
Date: | Tue, 09 Mar 2010 08:57:34 -0600 |
Lines: | 21 |
Message-ID: | <hn5nkv$nm9$1@dough.gmane.org> |
References: | <hn3u6i$ppv$1 AT dough DOT gmane DOT org> <4B958128 DOT 7070607 AT cygwin DOT com> |
Mime-Version: | 1.0 |
User-Agent: | Thunderbird 2.0.0.23 (Windows/20090812) |
In-Reply-To: | <4B958128.7070607@cygwin.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Larry Hall (Cygwin) wrote: > On 3/8/2010 5:37 PM, Jacob Jacobson wrote: >> I am unable to run gcc. I keep getting stdio.h: No such file. > > Try getting rid of the ~\... paths from your Windows path. > > I notice a reference to MKS in your cygcheck output. Make > sure MKS is completely hidden from Cygwin. > [hello$:513] echo $PATH /c/gac2500/bin-xp:/usr/local/bin:/bin:/usr/bin:/usr/ucb:/sbin:/usr/sbin: /usr/X11R6/bin:/c/WINDOWS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem: /c/win/cw:/c/winxp/sdks/v6.0A/bin:/c/windows/microsoft.net/framework/v2.0.50727 [hello$:514] gcc-4 hello.c hello.c:2:19: error: stdio.h: No such file or directory hello.c:3:20: error: stdlib.h: No such file or directory hello.c: In function 'main': hello.c:7: warning: incompatible implicit declaration of built-in function 'printf' [hello$:515] -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |