static MSVC library?
Mumit Khan
khan@nanotech.wisc.EDU
Thu Sep 30 23:42:00 GMT 1999
Jeffrey Juliano <juliano@cs.unc.edu> writes:
> I've searched through the FAQ and some of the archives, and found many
> references to how to make dll's with cygwin/gcc, and how to use msvc
> dll's in cygwin apps.
>
> I have not, however, found anything describing how to use a cygwin/gcc
> lib*.a STATIC library in a MSVC app, or how to use a MSVC STATIC library
> in a cygwin/gcc app.
You cannot, sorry. Unlike on Unix, VMS, etc, the various runtime libraries
(and even object formats) used by various compilers is not necessarily
compatible in windows32, and that essentially precludes static linking.
It works in a very limited set of cases, but I wouldn't bet on any real
code other than toy test cases.
Regards,
Mumit
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list