This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: libtool 20030216: problem recognizing import libraries
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/