can some one please help me fix compiling errors related to winsock and sys/types and fd_set...etc

Andy Koppe andy.koppe@gmail.com
Fri Dec 25 07:00:00 GMT 2009


2009/12/25 Mark Geisert:
> Josh writes:
> [...a bunch of detailed stuff...]
>
> If this were really a Cygwin program you likely wouldn't be #include-ing
> winsock.h.  Is this a native Windows program you're just trying to build with
> gcc?  If so, you likely don't want Cygwin, you want MinGW, a separate project
> with different goals.  Look it up.

Cygwin ships with MinGW as part of the gcc (not gcc-4) package. To use
it, you need to invoke gcc-3 with the -mno-cygwin option.

Andy

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



More information about the Cygwin mailing list