X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-0.4 required=5.0 	tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Jacob Jacobson <news@biyani.org>
Subject: Re: gcc cannot find stdio.h
Date: Wed, 10 Mar 2010 15:41:39 -0600
Lines: 32
Message-ID: <4B981213.8050101@biyani.org>
References: <hn3u6i$ppv$1@dough.gmane.org>  <1ef5a52f1003090211m12ad9a72j718e7db9213ceca6@mail.gmail.com>  <hn5nd9$lbm$2@dough.gmane.org> <4B969676.9040109@cygwin.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
In-Reply-To: <4B969676.9040109@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Larry Hall (Cygwin) wrote:
> On 3/9/2010 9:53 AM, Jacob Jacobson wrote:
>> Csaba Raduly wrote:
>>> On Mon, Mar 8, 2010 at 11:37 PM, Jacob Jacobson wrote:
>>>> I am unable to run gcc. I keep getting stdio.h: No such file.
>>>
>>> Hi Jacob,
>>> What is the output of
>>>
>>> gcc-4 -v hello.c
>>>
>>> and the output of
>>>
>>> find /usr/include -name stdio.h -ls
>>>
>>
>> [~$:501] cd /usr/include
>> /usr/include
>> [include$:502] find . -name stdio.h -ls
>> 1688849860890593 12 -rw-r--r-- 1 abiyani Administrators 22047 Mar 6
>> 21:18 ./mingw/stdio.h
>> [include$:503]
> 
> You are missing a few entries, though it's not clear why you don't have
> them.  Reinstall the 'cygwin' package.
> 
> 

Thanks. I reinstalled "cygwin" package and "gcc" works now. I also
noticed that the message about "regtool" went away.

Thanks


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

