delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/03/12/04:57:08

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
X-YMail-OSG: kGCkSUYVM1lpHrh1QyI5dcmRvwZ3yFFkJg23vF3sE1KtE3VODncc2eAwDy3UXWoRd.LQ.mwTur0m8nNM0wta9nXqO5Oct_fyvvtZrvdSf.rLNjH81C4-
Date: Wed, 12 Mar 2008 02:56:15 -0700 (PDT)
From: Magesh K <magesh678 AT yahoo DOT com>
Subject: Regarding using .so file in gcc
To: c++-embedded AT sourceware DOT org, themailinglistname AT cygwin DOT com,
cygwin AT cygwin DOT com, cygwin-developers AT cygwin DOT com, cygwin-apps AT cygwin DOT com
Cc: magesh678 AT yahoo DOT com, magesh DOT kasthuri AT wipro DOT com
MIME-Version: 1.0
Message-ID: <880224.28692.qm@web55201.mail.re4.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Hi,

#sorry if the mail received again as i am trying to
post from mailer utility

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



      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping

--
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/

- Raw text -


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