Regarding using .so file in gcc

Magesh K
Wed Mar 12 09:56:00 GMT 2008


#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,


Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.

More information about the Cygwin-developers mailing list