cygwin toolkit: can't find stdio.h

Michael Eager
Thu Jul 19 13:55:00 GMT 2001

SungKunCho wrote:
> Hi,
> I installed cygwin toolkit from cygwin website(using "install
> from internet" option in setup).
> After installation, I tried to compile hello.c but I got below
> error message.
> (I installed this toolkit in C:\cygwin_toolkit)
> bash-2.05$gcc hello.c
> hello.c:1: stdio.h: No such file or directory
> A strange thing is that cpp ONLY searches(I confirmed this
> by specifying -v option to gcc.)
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/include
> even if "-idirafter /usr/include" is specifed in specs file.
> I don't understand why CPP does not search /usr/include.

On my install of cygwin, /usr/include is searched.

> Are there anything that I miss to setup after installation?

Take a look at .  There is a FAQ
on installation issues.  If this doesn't help, try the cygwin mailing

Michael Eager	408-328-8426	
MontaVista Software, Inc. 1237 E. Arques Ave., Sunnyvale, CA  94085

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list