This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: how to static link?
- To: cygwin at cygwin dot com
- Subject: Re: how to static link?
- From: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Wed, 13 Jun 2001 11:01:22 +0200
- References: <20010613031121.22566.qmail@mail.com>
On Wed, Jun 13, 2001 at 11:11:21AM +0800, D G wrote:
> I've tried linking with gcc -static, and even specified static libraries as /usr/X11R6/lib/libX11.a, but still cygwin produces a dynamically linked executable. How can I compile a statically linked executable?
You can't. Cygwin isn't statically linkable.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple