This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
how to static link?
- To: cygwin at cygwin dot com
- Subject: how to static link?
- From: "D G" <dgun at umpire dot com>
- Date: Wed, 13 Jun 2001 11:11:21 +0800
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?
Daniel
--
_______________________________________________
Make PC-to-Phone calls with Net2Phone.
Sign-up today at: http://www.net2phone.com/cgi-bin/link.cgi?121
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple