[cfe-dev] -fuse-ld with Mingw

Yaron Keren via cfe-dev cfe-dev at lists.llvm.org
Mon Apr 4 14:20:06 PDT 2016

+Filipe Cabecinhas‏ <filcab at gmail.com‏>

Thanks for cc-ing me, I missed the message. Original discussion here:


I think r253161 could be reverted or made more flexible validating the
linker name ends with "ld".

Filipe, any thoughts?

2016-04-04 23:17 GMT+03:00 Rui Ueyama <ruiu at google.com>:

> +Yaron since he submitted r253161.
> On Sun, Apr 3, 2016 at 7:01 PM, Techmeology via cfe-dev <
> cfe-dev at lists.llvm.org> wrote:
>> Hello
>> I'm trying to use Clang to cross-compile for Windows on Linux. My system
>> linker (/usr/bin/ld) does not support the creation of Windows
>> executables, but I have another linker, x86_64-w64-mingw32-ld, that does.
>> There is logic in the Mingw support that prevents the use of any linker
>> that isn't called "ld" or "lld" which prevents me from using
>> x86_64-w64-mingw32-ld unless I revert the commit. This logic is added by
>> r253161 (4f60e73bd8c2ee40ef6d419e15860bfbfba4c619 in git). According to
>> the commit message, this was suggested by Filipe Cabecinhas.
>> Unfortunately, I don't have an email address, so I can't cc this
>> developer, however: would it be possible to revert this commit, as it
>> impedes the cross-compilation use case?
>> Many Thanks
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at lists.llvm.org
>> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160405/452905f4/attachment.html>

More information about the cfe-dev mailing list