Re: /usr/include path issue

2011-05-19 Thread Christopher Faylor
On Thu, May 19, 2011 at 12:33:31PM +0200, G?bor Alsecz wrote: >Hello Csaba, > >Thanks for the reply: > >> do you actually have a netdb.h ? What does >> >> $ find /usr/include/ -name netdb.h >> >> print ? >it works fine, command print the /usr/include/netdb.h > > >> gcc -v getip.c >print all directo

RE: /usr/include path issue

2011-05-19 Thread Nellis, Kenneth
> From: Gabor Alsecz > > And when running gcc from bash with the followin command: > gcc getip.c > > i receive the following error: > fatal error: netdb.h: No such file or directory > > So how can i add the fine include directory path to the compiler or > cygwin bash to find the .h includes? >

Re: /usr/include path issue

2011-05-19 Thread Gábor Alsecz
Hello Csaba, Thanks for the reply: do you actually have a netdb.h ? What does $ find /usr/include/ -name netdb.h print ? it works fine, command print the /usr/include/netdb.h gcc -v getip.c print all directories included but /usr/include folder missing Gabor On Thu, May 19, 2011 a

Re: /usr/include path issue

2011-05-19 Thread Csaba Raduly
On Thu, May 19, 2011 at 8:54 AM, Gabor Alsecz wrote: > Hi All, > > I am using the latest cygwin installation and I have an issue with my > /usr/include directory under cygwin bash. > > my .c file snippet looks like this: > > #include > #include > #include > #include > #include > > And when ru