www.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 |
From: | "Paul Garceau" <pgarceau AT teleport DOT com> |
Organization: | New Dawn Productions |
To: | cygwin AT cygwin DOT com |
Date: | Thu, 28 Dec 2000 16:43:31 -0800 |
MIME-Version: | 1.0 |
Subject: | Re: Static version of Cygwin DLL? |
Reply-to: | Paul Garceau <pgarceau AT teleport DOT com> |
Message-ID: | <3A4B6DB3.10560.551D56@localhost> |
In-reply-to: | <200012272359.SAA06445@envy.delorie.com> |
References: | <3A4A0F6B DOT 13682 DOT 39B062 AT localhost> (pgarceau AT teleport DOT com) |
X-mailer: | Pegasus Mail for Win32 (v3.12c) |
I stand corrected. On 27 Dec 2000, at 18:59, the Illustrious DJ Delorie wrote: > > > By forcing the elimination of cygwin1.dll using -mno-cygwin, > > you can then do this: > > > > gcc -ofoo.exe foo.c -mno-cygwin -lcygwin > > > > The default paths already scan the usr/lib directory. It is > > the usr/lib directory that has the static version of cygwin > > (libcygwin.a). > > I'm sorry, but this is completely wrong. There is no static > version of the cygwin runtime, period. The -mno-cygwin option > tells gcc to cross-compile to the MSVC runtime (i.e. the result > is *not* a cygwin application). What you *think* is the "static > cygwin" is really just the import library for the DLL > Nothing real can be threatened. Nothing unreal exists. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |