delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/25/15:24:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Matt DOT Stephenson AT us DOT datex-ohmeda DOT com
Subject: -mno-cygwin gcc option
To: cygwin AT cygwin DOT com
Date: Mon, 25 Jun 2001 14:18:07 -0500
Message-ID: <OF8A1275CF.1EB000FE-ON86256A76.0069E12D@us.datex-ohmeda.com>
X-MIMETrack: Serialize by Router on DOMDSG01/SERVER/D-O(Release 5.0.6a |January 17, 2001) at
06/25/2001 02:20:27 PM
MIME-Version: 1.0

i'm trying to build a simple c++ command-line app using g++ under the
Cygwin environment.  this will remain a native win32 app so i would like to
link directly with Microsoft DLLs, rather than Cygwin.

i ran across a FAQ entry that indicated that you could simply pass gcc the
"-mno-cygwin" option and it would do just that.  however, when i tried that
it spit out compiler errors for my std c++ #include lines.  it complained
that it could no longer find <string> or <iostream> header files,
indicating that the include paths changed and are probably not complete.
perhaps it is no longer using some standard list of include directories?

can anyone tell me more about what this option is doing?  how can i simply
use gcc with Cygwin but not build an executable that requires the Cygwin
DLL?

thanks.

-matt

Matt Stephenson
matt DOT stephenson AT us DOT datex-ohmeda DOT com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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