From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16856 invoked by alias); 12 Mar 2008 09:48:14 -0000 Received: (qmail 16753 invoked by uid 22791); 12 Mar 2008 09:48:14 -0000 X-Spam-Check-By: sourceware.org Received: from web55211.mail.re4.yahoo.com (HELO web55211.mail.re4.yahoo.com) (206.190.58.175) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 12 Mar 2008 09:47:53 +0000 Received: (qmail 20835 invoked by uid 60001); 12 Mar 2008 09:47:51 -0000 X-YMail-OSG: dJy_VcEVM1nMMjJxJSZuZP1tHHPFs6kjKhEeQhm2cO3JlBYnuCj65Q8TBsxC3eTy6Sng__JTKpMEIvnosjNxo3Q7Az7aNZkBnLrH2Ij1XL3sulzlpKRo4XYQeLYvwotCjJgUxIRnlXXkaWa_LxUtoYnyCg-- Received: from [162.27.9.20] by web55211.mail.re4.yahoo.com via HTTP; Wed, 12 Mar 2008 02:47:51 PDT Date: Wed, 12 Mar 2008 09:48:00 -0000 From: Magesh K Subject: Regarding using .so file in gcc To: c++-embedded@sourceware.org, themailinglistname@cygwin.com, cygwin@cygwin.com, cygwin-developers@cygwin.com, cygwin-apps@cygwin.com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <270820.20510.qm@web55211.mail.re4.yahoo.com> Mailing-List: contact c++-embedded-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: c++-embedded-owner@sourceware.org X-SW-Source: 2008/txt/msg00000.txt.bz2 Hi, I am porting an linux based application to Windows. My application uses a third party library (having an dynamic library .so file). When I compile my code in cygwin using g++, I am not able to link the .so file using –l, -L, -shared or –static option. When I read through the user manual or googled it, I can’t find any info how to link .so file in cygwin (under windows). On further analysis, I got a doubt that if I can use .so file in cygwin directly or need to use the .dll equivalent of the .so (for instance, for the third party). Please clarify my query which is 1. How to link .so file in cygwin? 2. Can I link .so in g++ under cygwin or do I need to use any other compiler/way? 3. Is .so acceptable to link or I need to use .dll equivalent in cygwin? Thanks and Regards, Magesh ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ