From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22116 invoked by alias); 7 Jun 2006 19:24:30 -0000 Received: (qmail 22098 invoked by uid 22791); 7 Jun 2006 19:24:28 -0000 X-Spam-Check-By: sourceware.org Received: from fmmailgate03.web.de (HELO fmmailgate03.web.de) (217.72.192.234) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 07 Jun 2006 19:23:56 +0000 Received: from smtp07.web.de (fmsmtp07.dlan.cinetic.de [172.20.5.215]) by fmmailgate03.web.de (Postfix) with ESMTP id E9AAB16F6E2 for ; Wed, 7 Jun 2006 21:23:53 +0200 (CEST) Received: from [212.204.54.81] (helo=[212.204.54.81]) by smtp07.web.de with asmtp (WEB.DE 4.107 #114) id 1Fo3dB-0003wQ-00 for cygwin@cygwin.com; Wed, 07 Jun 2006 21:23:53 +0200 Message-ID: <44872778.8020409@web.de> Date: Wed, 07 Jun 2006 22:35:00 -0000 From: Serethos User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: References: <605176809@web.de> <44863AE9.6060700@cygwin.com> In-Reply-To: <44863AE9.6060700@cygwin.com> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Sender: serethos@web.de X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2006-06/txt/msg00147.txt.bz2 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/