Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com From: "Ralf Habacker" To: "Cygwin-Apps" Subject: RE: FW: libtool devel package still dll crippled. Date: Sun, 21 Apr 2002 19:15:25 +0200 Message-ID: <005901c1e958$207ecfa0$651c440a@BRAMSCHE> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 In-Reply-To: <005e01c1e774$2dab05d0$651c440a@BRAMSCHE> > > ld checks the symbols in the shared libs during compile time to see > if it can > > resolve all symbols and appearantly also detects duplicated > symbols. On Linux > > it is not necassery impossible to have two libs that define the > same symbols. > > E.g. this feature can be used to override the malloc implementation of libc. > > Of course when this happens inadvertently it can lead to unexpected > > behaviour/crashes. ELF (The linking format used on Linux) has rather complex > > rules for determining which symbol should be used if it is defined multiple > > times. It also distinguishes between weak and strong symbols. It might be > > that it is only possible to override weak-symbols and that multiple > > strong-symbols result in link-errors. > > Does the cygwin ld has some similar rules ? > Is nobody on this list, who can give an answer to this question ? Ralf