Regarding using .so file in gcc

2008-03-12 Thread Magesh K
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


Re: Regarding using .so file in gcc

2008-03-12 Thread Igor Peshansky
On Wed, 12 Mar 2008, Magesh K wrote:

 Hi,

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

This is the worst case of cross-posting I've seen in a
while.

The cygwin-apps mailing list is not a list for general
questions about Cygwin (neither is cygwin-developers).
Please use the main Cygwin mailing list for such
questions.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel