delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/01/31/05:54:56

X-Spam-Check-By: sourceware.org
Message-ID: <BAY106-F269CEF8859A96F38BE457CBA50@phx.gbl>
X-Sender: trouba_1 AT hotmail DOT fr
In-Reply-To: <20070131103756.GP27843@calimero.vinschen.de>
From: "jano trouba" <trouba_1 AT hotmail DOT fr>
To: cygwin AT cygwin DOT com
Subject: Re: sockets pbs..
Date: Wed, 31 Jan 2007 10:52:46 +0000
Mime-Version: 1.0
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

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 too many.  The Cygwin header files and Cygwin
>capabilities don't make any sense when trying to build a native Windows
>application.
>

the -mno-cygwin flag means NOT to use cygwin-sepcific things, no ?

So how come by including sys/socket.h do I find myself including 
cygwin/socket.h ?????

_________________________________________________________________
Découvrez le Blog heroic Fantaisy d'Eragon! 
http://eragon-heroic-fantasy.spaces.live.com/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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