This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Static version of Cygwin DLL?
- To: cygwin at cygwin dot com
- Subject: Re: Static version of Cygwin DLL?
- From: "Paul Garceau" <pgarceau at teleport dot com>
- Date: Thu, 28 Dec 2000 16:43:31 -0800
- Organization: New Dawn Productions
- References: <3A4A0F6B.13682.39B062@localhost> (pgarceau@teleport.com)
- Reply-to: Paul Garceau <pgarceau at teleport dot com>
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