This is the mail archive of the
cygwin
mailing list for the Cygwin project.
A dumb question about static libs ?
- From: "John Emmas" <johne53 at tiscali dot co dot uk>
- To: <cygwin at cygwin dot com>
- Date: Fri, 3 Oct 2008 19:15:29 -0000
- Subject: A dumb question about static libs ?
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/