delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/30/13:48:02

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-Yahoo-SMTP: Uu383n6swBCEN1G9up0WSnxbvN8fCPmk
Message-ID: <4C2B8345.6030602@cygwin.com>
Date: Wed, 30 Jun 2010 13:47:49 -0400
From: "Larry Hall \(Cygwin\)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Shared libraries in Cygwin
References: <596920 DOT 90071 DOT qm AT web113516 DOT mail DOT gq1 DOT yahoo DOT com> <4C2A697F DOT 5020402 AT redhat DOT com> <37281 DOT 14907 DOT qm AT web113504 DOT mail DOT gq1 DOT yahoo DOT com> <1277888218 DOT 7760 DOT 1 DOT camel AT YAAKOV04> <513979 DOT 28891 DOT qm AT web113512 DOT mail DOT gq1 DOT yahoo DOT com>
In-Reply-To: <513979.28891.qm@web113512.mail.gq1.yahoo.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019