delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/25/02:00:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <loom.20091225T073918-722@post.gmane.org>
References: <333423 DOT 84515 DOT qm AT web112714 DOT mail DOT gq1 DOT yahoo DOT com> <loom DOT 20091225T073918-722 AT post DOT gmane DOT org>
Date: Fri, 25 Dec 2009 07:00:16 +0000
Message-ID: <416096c60912242300h57c306d9n7dd47b5336869d3f@mail.gmail.com>
Subject: Re: can some one please help me fix compiling errors related to winsock and sys/types and fd_set...etc
From: Andy Koppe <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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. =C2=A0Is this a native Windows program you're just trying to b=
uild with
> gcc? =C2=A0If so, you likely don't want Cygwin, you want MinGW, a separat=
e project
> with different goals. =C2=A0Look 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019