delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/01/04/16:52:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 4 Jan 2001 13:52:13 -0800 (PST)
From: Tim Reed <timr AT viaworks DOT com>
To: cygwin AT sources DOT redhat DOT com
Subject: creating .lib's with gcc?
Message-ID: <Pine.LNX.4.10.10101041346140.18918-100000@vserver.viaworks.com>
MIME-Version: 1.0

I'm writing some code in Visual C++ and I'd like to link in code compiled
by the cygwin environment's version of gcc. All of the header files seem
to work fine in Visual C++ so the next step is linking my gcc compiled
code with the Visual C++ code. All of the cygwin compiled code is in C, no
C++.

Is it possible to create .lib files for Visual C++ to link? How?


I realize that I could just make all of the gcc compiled code into a dll,
but I'd like to statically link if possible.

Thanks.


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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