A dumb question about static libs ?

John Emmas johne53@tiscali.co.uk
Fri Oct 3 18:16:00 GMT 2008


I'm sure this'll seem obvious to those of you who are more experienced
with Cygwin than I am - but to me, it seems like a pretty reasonable
question.....

I understand that Cygwin isn't an emulator and therefore it can't run a
standard Linux executable.  I also understand why a Linux shared object
can't be used with Cygwin as if it was a DLL.

But what about static libs?  I've noticed that if I use Cygwin's nm.exe
I can list the contents of a Cygwin static lib.  However, it also happily
lists the contents of a conventional Linux static lib.  So assuming (a) that
the given Linux library was built for the right processor - and assuming
(b) it's the right library for any associated header files, could it be used
in building a Cygwin app?  Anyone ever tried this?

John


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



More information about the Cygwin mailing list