www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/30/18:19:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <199909302110.QAA11912@pluto.xraylith.wisc.edu>
To: Jeffrey Juliano <juliano AT cs DOT unc DOT edu>
cc: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: static MSVC library?
In-Reply-To: Your message of "Thu, 30 Sep 1999 16:10:06 EDT."
<37F3C39E DOT E9FB087 AT cs DOT unc DOT edu>
Date: Thu, 30 Sep 1999 16:10:57 -0500
From: Mumit Khan <khan AT thor DOT xraylith DOT wisc DOT edu>

Jeffrey Juliano <juliano AT cs DOT unc DOT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019