mgorny added a comment.

In D56650#1377494 <https://reviews.llvm.org/D56650#1377494>, @ruiu wrote:

> But that's only adding missing `-L` and perhaps a few more, no? That doesn't 
> seem too hard to do in gcc.


Probably not, provided nobody will block it. I'm not the one opposed to it.

> I don't want to repeat what compiler drivers do in the linker. Also, even 
> with this patch, you need to make a change to gcc to pass `--target` 
> parameter to the linker, right?

Well, no, since gcc doesn't really support cross-compiling the way clang does, 
so it will just be happy with LLVM's default triple. We will probably want to 
patch GNU ld to accept/ignore `--target` though.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56650/new/

https://reviews.llvm.org/D56650



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to