Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3E6900A2.4030008@ece.gatech.edu>
Date: Fri, 07 Mar 2003 15:27:14 -0500
From: Charles Wilson <cwilson@ece.gatech.edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: gmane.os.cygwin
To: David Starks-Browning <starksb@ebi.ac.uk>
CC: cygwin@cygwin.com
Subject: Re: libtool 20030216: problem recognizing import libraries
References: <3E685D89.D4F7B8E4@ecn.nl>	<3E68E8BA.4030008@ece.gatech.edu>	<3E68F447.EFFE2992@freeler.nl>	<3E68FAFC.2C4BA1AF@freeler.nl> <813-Fri07Mar2003201639+0000-starksb@ebi.ac.uk>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit



David Starks-Browning wrote:
> On Friday 7 Mar 03, Teun Burgers writes:
> 
>>I've found the culprit. I installed the perl LWP module which
>>installs a HEAD script that fetches the header of an URL.
>>On unix HEAD and head are different but on cygwin having
>>both HEAD and head.exe along the path causes a problem...
> 
> 
> Would CYGWIN=check_case:strict solve that?

Maybe, but I'm NOT going to require that folks who want to build 
ANYTHING that uses libtool to set check_case on their machine.

But I also can't hardcode "head.exe" because that would break 
cygwin-target cross-compiles (the build platform's native head is 
certainly not 'head.exe' -- and the build platform probably doesn't 
suffer from 'case-insensitive/case-preserving' filesystem, coupled with 
'automatic appending of .exe'.

I think this will actually require more intrusive hacking in libtool; 
detect the "appropriate" name for head on the build platfrom, set a 
variable, use that, instead of invoking 'head' directly.

I don't think perl will EVER fix their problem; for all their talk about 
platform neutrality they have KNOWN about this problem for ages (since 
long before last Sept, Igor) and have evidenced no intention of fixing it.

"Hey guys, there's a name conflict between one of your packages's 
scripts and a widely deployed binary from the textutils package"

"That only affects cygwin; fixing it would break thousands of apps on 
dozens of platforms."

So we need to come up with a way around it.  I'll try to come up with 
something.  It'll probably involve hacking libtool.m4...and I better get 
cracking.  libtool-1.5 is due out before April 15.

--Chuck


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

