x86_64-w64-mingw32-ld lib dir configuration issue

JonY 10walls@gmail.com
Mon Aug 29 13:06:00 GMT 2016


On 8/29/2016 10:06, Whek rin wrote:
> The utility x86_64-w64-mingw32-ld from package mingw-x86_64-binutils
> cannot by default find libraries from the path
> /usr/x86_64-w64-mingw32/sysroot/mingw/lib, where the package
> mingw64-x86_64-runtime installs them. I believe this is a build
> configuration issue. I've attached a zip file which contains a test
> case which illustrates the issue. Inspect and run
> build_hellotest_mingw.sh and it's output, in particular how it can't
> find e.g. libkernel32 without a -L argument to the correct location.
> I renamed the .zip to .z__ to get around the spam filters, you may
> need to rename it to open it.
> Thanks, Matt
> 

Though I agree that this is a path search bug that should be fixed,
please do not abuse ld by using it directly. Use the frontend driver
instead.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20160829/2f24360c/attachment.sig>


More information about the Cygwin mailing list