Web lists-archives.com

Re: ld internal script has wrong SEARCH-DIR settings




On 2017-03-02 09:05, sorryforaskingthis.bk.ru via cygwin wrote:
$ ./ld --verbose
[snip]
OUTPUT_FORMAT(pei-i386)
SEARCH_DIR("/usr/i686-pc-cygwin/lib"); SEARCH_DIR("/usr/lib"); SEARCH_DIR("/usr/lib/w32api");

There is no libraries under /usr/i686-pc-cygwin/lib or /usr/lib or /usr/lib/w32api
Instead, they located at /usr/i686-w64-mingw32/sys-root/mingw/lib; /lib and /lib/w32api accordingly

/usr/lib == /lib, unless your mounts are messed up.

--
Yaakov

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple