delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/22/15:05:36

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Message-ID: <41C9D359.8030402@lapo.it>
Date: Wed, 22 Dec 2004 21:04:41 +0100
From: Lapo Luchini <lapo AT lapo DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041206 Thunderbird/1.0 Mnenhy/0.6.0.104
MIME-Version: 1.0
To: "[ML] CygWin" <cygwin AT cygwin DOT com>
Subject: Re: libtool creating DLLs called ".exe"
References: <41C952CC DOT 1020905 AT lapo DOT it>
In-Reply-To: <41C952CC.1020905@lapo.it>

Lapo Luchini wrote:

> I'll try to debug it this evening, on the train, on my way home...
> hope to find the problem and/or a fix.

In the libtool generated for sqilte I found the bug to be that $soname
is defined with $shared_extension, which in turn is defined with
$shrext, but the file contained "only" a definition for $shrext_cmds
(defined but never used), and no $shrext at all.

Modifying the line to say $shrext instead of $shrext_cmds completely
solved the problem. I was pretty much happy and ready to send a ptch
upstream when I noticed that in a different project the code that used
$shr_ext wasn't included at all and that "patch" did nothing to help.

Moreover reading the "original" libtool I noticed that BOTH $shrext and
$shrext_cmds are used here and there... but I know very little about
libtool internals.

Thus, I don't know the "real solution" yet ^_^"""
Any suggestion?

(one could be to write to a libtool mailing list insetad of a cygwin
one, that's for sure.. but I tought someone could be interested too, as
the problem arose more than one time on this list already...)

-- 
Lapo Luchini
lapo AT lapo DOT it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)


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

- Raw text -


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