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

X-Spam-Check-By: sourceware.org
Message-ID: <BAY106-F3105393B5F95869C327D8CCBA50@phx.gbl>
X-Sender: trouba_1 AT hotmail DOT fr
In-Reply-To: <20070131110537.GT27843@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 12:51:27 +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

>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  what should be my flags ?

> > >> cc -Wall  -D_POSIX_SOURCE -D__rtems__ -mno-cygwin -mwindows

cc -Wall -march=athlon-xp -mno-cygwin -mwindows    ???

But the /usr/include directory is the default, isn't it ?
All the files in that directory are common, aren't they ?
Or shoudl I re-define the default as being /usr/include/mingw ?

_________________________________________________________________
Gagnez des pc Windows Vista avec Live.com http://www.image-addict.fr/


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