public inbox for c++-embedded@sourceware.org
 help / color / mirror / Atom feed
From: Magesh K <magesh678@yahoo.com>
To: c++-embedded@sourceware.org, themailinglistname@cygwin.com,
	  cygwin@cygwin.com, cygwin-developers@cygwin.com,
	cygwin-apps@cygwin.com
Subject: Regarding using .so file in gcc
Date: Wed, 12 Mar 2008 09:48:00 -0000	[thread overview]
Message-ID: <270820.20510.qm@web55211.mail.re4.yahoo.com> (raw)

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 

             reply	other threads:[~2008-03-12  9:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-12  9:48 Magesh K [this message]
2008-03-12  9:52 Magesh K
2008-03-12  9:56 Magesh K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=270820.20510.qm@web55211.mail.re4.yahoo.com \
    --to=magesh678@yahoo.com \
    --cc=c++-embedded@sourceware.org \
    --cc=cygwin-apps@cygwin.com \
    --cc=cygwin-developers@cygwin.com \
    --cc=cygwin@cygwin.com \
    --cc=themailinglistname@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).