This is the mail archive of the
mailing list for the Cygwin project.
Re: [avail for test] libtool-devel-20030121-1
Christopher Faylor wrote:
> gcc doesn't search /usr/lib/w32api. ld does. Since it's impossible
> for ld to *not* search /usr/lib/w32api, I don't know why this is an issue
> unless you've got a mismatch between gcc and ld.
It's an issue when cross-compiling cygwin -> mingw, using -mno-cygwin, since
libtool runs gcc -print-search-dirs, doesn't see /usr/lib/w32api there, so
when you try to link with a w32api library, libtool petulantly refuses to
link properly, because *it* thinks the w32api library won't be found.
Whereas, if it just trusted gcc/ld to do their jobs, there would be no
It's only not an issue when compiling cygwin -> cygwin because
sys_lib_search_path_spec is hardcoded in libtool for this case.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html