This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shared libraries in Cygwin


It makes sense it just seems compiling is halted or linking is not working correctly

Its not just apache I am seeing these issue in.






----- Original Message ----
From: Larry Hall (Cygwin) <reply-to-list-only-lh@cygwin.com>
To: cygwin@cygwin.com
Sent: Wed, June 30, 2010 12:47:49 PM
Subject: Re: Shared libraries in Cygwin

On 6/30/2010 1:00 PM, Refr Bruhl wrote:
> I guess the question is why can't libtool be fixed? If there are undefined
> symbols for cygwin I am sure there are undefined symbols for other
> platforms.

You don't understand the difference between DLLs on Windows and shared objects
on Unix/Linix (and related) platforms.  The behavior of these "shared
libraries" is defined and managed by the loader of the O/S they run on.
For Windows, that means that there are no unresolved symbols at link time.
This is managed by linking with libraries full of thunks to other DLLs
which will be loaded at runtime.  libtool understands all this.  There's
nothing broken there.

If this doesn't make sense to you, I would recommend that you take a look
at the details of how DLLs work on Windows and then, if needed, also
research what libtool does on Windows.  That should give you a better
understanding of things in general and hopefully specifically for the
issues you noted when you were trying to build apache2.

-- Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

_____________________________________________________________________

A: Yes.
> Q: Are you sure?
>> A: Because it reverses the logical flow of conversation.
>>> Q: Why is top posting annoying in email?

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


      

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]