libtool 20030216: problem recognizing import libraries

Teun Burgers a.rburgers@freeler.nl
Fri Mar 7 20:08:00 GMT 2003


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/



More information about the Cygwin mailing list