delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <44872778.8020409@web.de> |
Date: | Wed, 07 Jun 2006 21:22:32 +0200 |
From: | Serethos <Serethos AT web DOT de> |
User-Agent: | Thunderbird 1.5.0.4 (Windows/20060516) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: <kein Betreff> |
References: | <605176809 AT web DOT de> <44863AE9 DOT 6060700 AT cygwin DOT com> |
In-Reply-To: | <44863AE9.6060700@cygwin.com> |
X-Sender: | serethos AT web DOT de |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Thx for your answer. But I called the guys from the SWIG mailing list and they stated that my problem can not be solved with SWIG. It would only be useful if I wished to use a e.g. c-program for another language. Any other ideas? Larry Hall (Cygwin) wrote: > Maurice Hüllein wrote: >> I'm currently developing a c++ plugin for a windows simulator >> environment, which accepts plugins in form of a dll. For doing so my >> dll needs to include a library of this simulator program which is >> only supported >> in ".a" format. I solved this problem by cross compiling the dll from >> cygwin for the windows platform. >> >> But now there is another problem. My .dll-project needs to use >> external libraries which are only supported >> in windows .lib format. So theres the issue that my VC Express >> compiler can not use the .a library and the >> cross compiler can not handle the .lib. I already read that even if >> both, the .a and .lib, are static libraries there are >> incompatibilities because of the used compiler. >> I would prefer to disclaim the bypass of using cygwin and a cross >> compiler at all. So is there any way of >> converting the .a library in a native windows .lib? > > > The incompatibilities you refer to are the result of differences in > different > "vendors" C++ formats, not in the differences between library formats. > Actually a static .a and .lib have the same format. But the former > restriction overshadows the latter non-issue. You'll need to wrap your > library in C-callable interfaces if you really want to get this to work. > Perhaps the very recently update SWIG library will be helpful for you? > > > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |