Re: sockets pbs..

2007-01-31 Thread Christopher Faylor
On Wed, Jan 31, 2007 at 12:51:27PM +, jano trouba wrote: >>sys/socket.h is also a Cygwin thingy. Only the include files under >>/usr/include/w32api and /usr/include/mingw are useful for non-cygwin >>apps. If you want to use the POSIX headers, build a Cygwin app. > >OK > >Let's say I do not wa

Re: sockets pbs..

2007-01-31 Thread jano trouba
sys/socket.h is also a Cygwin thingy. Only the include files under /usr/include/w32api and /usr/include/mingw are useful for non-cygwin apps. If you want to use the POSIX headers, build a Cygwin app. OK Let's say I do not want the POSIX flag. And I want to use only w32api and mingw.. so

Re: sockets pbs..

2007-01-31 Thread Corinna Vinschen
On Jan 31 10:52, jano trouba wrote: > > And also I do not understand : > > >> cc -Wall -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows > >-I../include/ > > ^^^ > >> [...] > >> So did I miss a flag in order to compile, or a bad

Re: sockets pbs..

2007-01-31 Thread jano trouba
And also I do not understand : > cc -Wall -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows -I../include/ ^^^ > [...] > So did I miss a flag in order to compile, or a bad location, or is it a bug > ?? No, you used a flag t

Re: sockets pbs..

2007-01-31 Thread jano trouba
> cc -Wall -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows -I../include/ ^^^ > [...] > So did I miss a flag in order to compile, or a bad location, or is it a bug > ?? No, you used a flag too many. The Cygwin header files and Cygwin capab

Re: sockets pbs..

2007-01-31 Thread Corinna Vinschen
On Jan 30 17:04, jano trouba wrote: > > > Hello everybody... > > I uploaded last (as of yesterday) version of cygwin.. > > Then I tried compiling some of my libraries... > > Here is the result on one dealing with sockets : > > cc -Wall -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows -I../

sockets pbs..

2007-01-30 Thread jano trouba
Hello everybody... I uploaded last (as of yesterday) version of cygwin.. Then I tried compiling some of my libraries... Here is the result on one dealing with sockets : cc -Wall -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows -I../include/ -I/usr/include -c MyBase.c In file included f