kikairoya wrote:

> $ clang++ -fuse-ld=lld hello.cc

Do you have patched to LLD locally? This should fail with `unable to find 
library -lkernel32`.


> But it would mean that using gcc -fuse-ld=lld wouldn't work due to wrong 
> defaults.

LLD and Clang are both part of LLVM, so they should be expected to work 
together without requiring extra hacky options. For GCC, we can patch its 
driver downstream if necessary -- though ideally, this should be addressed 
upstream, assuming the GCC maintainers are open to it.

https://github.com/llvm/llvm-project/pull/147960
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to