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


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