delorie.com/archives/browse.cgi | search |
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 |
Date: | Mon, 10 Sep 2001 10:14:40 +0200 |
From: | Corinna Vinschen <cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Are G++ generated executables absolutely cygwin1.dll dependent? |
Message-ID: | <20010910101440.K937@cygbert.vinschen.de> |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20010910080941 DOT 033104c0 AT pop DOT skynet DOT be> |
Mime-Version: | 1.0 |
User-Agent: | Mutt/1.2.5i |
In-Reply-To: | <5.1.0.14.0.20010910080941.033104c0@pop.skynet.be>; from bart.dubois@skynet.be on Mon, Sep 10, 2001 at 08:15:10AM +0200 |
X-MIME-Autoconverted: | from 8bit to quoted-printable by cygnus.com id BAA07761 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id EAA23917 |
On Mon, Sep 10, 2001 at 08:15:10AM +0200, Bart Du Bois wrote: > Greetingz, > > [Context] > I use Cygwin strictly for the GNU C++ Compiler and the make-functionality, > so it makes no difference if I'm working under Linux or under Windows. > > [Goal] > I want to achieve 1 single executable, independent of any other files. > > [Problem] > I noticed that executables, generated by the GNU C++ Compiler (g++) can > only be run in coöperation with the file *cygwin1.dll* > > [Question] > Is there a way to generate an executable which doesn't need this dll to > run? A special compiling-option perhaps? My knowledge of the whole > Cygwin-structure is too small to have a clear view on this subject. 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. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |