delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/09/10/06:13: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: "David Carter" <david AT carter DOT net>
To: "'Corinna Vinschen'" <cygwin AT cygwin DOT com>
Subject: RE: Are G++ generated executables absolutely cygwin1.dll dependent?
Date: Mon, 10 Sep 2001 06:12:28 -0400
Message-ID: <000501c139e1$1cfdbb60$6401a8c0@atl.mediaone.net>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
Importance: Normal
In-Reply-To: <20010910101440.K937@cygbert.vinschen.de>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id GAA31939

On Mon, Sep 10, 2001 at 08:15:10AM +0200, Bart Du Bois wrote:
> Greetingz,
> 
> [Problem]
> I noticed that executables, generated by the GNU C++ Compiler (g++)
can 
> only be run in coöperation with the file *cygwin1.dll*

Corinna Vinschen wrote:         
> You need the DLL to get the whole POSIX functionality. If you're
> only using Win32 API calls you can build using the -mno-cygwin
> option.

Incomplete answer. Note Bart specifies he is using c++/g++. See recent
threads on this list concerning need for the mingw std c++ library, if
you're using -mno-cygwin with cygwin's g++.

If you're using gcc, and no posix functionality, then -mno-cygwin alone
is fine.

---
David Carter
david AT carter DOT net


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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