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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Teun Burgers <a.rburgers@freeler.nl>
Subject: Re: libtool 20030216: problem recognizing import libraries
Date: Fri, 07 Mar 2003 21:03:08 +0100
Lines: 28
Message-ID: <3E68FAFC.2C4BA1AF@freeler.nl>
References: <3E685D89.D4F7B8E4@ecn.nl> <3E68E8BA.4030008@ece.gatech.edu> <3E68F447.EFFE2992@freeler.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@main.gmane.org
X-Accept-Language: en

Teun Burgers wrote:
> 
> Charles Wilson wrote:
> 
> > Now, about your problem: I'm a bit confused, because I do *not* see that
> > behavior.  Please take the attached script, which contains only the new
> > win32_libid() code -- the only parted changed by the patched
> > libtool-20030216 -- and run the following tests:
> >
> > ./cygwin_libid /usr/lib/libcygwin.a
> > ./cygwin_libid /usr/lib/w32api/libuser32.a
> > ./cygwin_libid /usr/lib/w32api/libadvapi32.a
> > ./cygwin_libid /usr/lib/w32api/libkernel32.a
> > ./cygwin_libid /usr/lib/w32api/libshell32.a
> >
> > And report back...

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

After removing the HEAD script cygwin_libid reports x86 archive import

So maybe cygwin_libid should call /usr/bin/head.exe instead
of just head?

Teun


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

