I guess you mean this...
OUTPUT_FORMAT(pei-x86-64)
SEARCH_DIR("=/usr/local/lib/x86_64-linux-gnu");
SEARCH_DIR("=/lib/x86_64-linux-gnu"); SEARCH_DIR("=/usr/lib/x86_64-linux-gnu");
SEARCH_DIR("=/usr/local/lib"); SEARCH_DIR("=/lib"); SEARCH_DIR("=/usr/lib");
SEARCH_DIR("=/usr/x86_64-w64-mingw32/li
** Changed in: binutils-mingw-w64 (Ubuntu)
Assignee: (unassigned) => Stephen Kitt (steve-sk2)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804138
Title:
mingw ld cannot link libraries
To man
It seems that ld is using “no” as a sysroot. The interesting part here
is in the “large script” you removed; could you at least tell me what
the “SEARCH_DIR” setting is, near the start of the script?
** Changed in: gcc-mingw-w64 (Ubuntu)
Assignee: (unassigned) => Stephen Kitt (steve-sk2)
**
** Description changed:
On Kubuntu Bionic Beaver this is what happens if I try to find any
library to link it at the end of the compiling process.
x86_64-w64-mingw32-ld -lz --verbose
GNU ld (GNU Binutils) 2.30
Supported emulations:
i386pep
i386pe
using internal linker sc