This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc cannot find stdio.h


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]