X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com From: Jacob Jacobson 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: <1ef5a52f1003090211m12ad9a72j718e7db9213ceca6 AT mail DOT gmail DOT com> <4B969676 DOT 9040109 AT cygwin DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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/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