<div dir="ltr">Did you read <a href="http://lld.llvm.org/#using-lld">http://lld.llvm.org/#using-lld</a>? In short, you want to pass -use-ld=lld to clang to use ld.lld instead of ld.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 30, 2017 at 3:18 PM, Scott Shawcroft via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
I've been doing a ton of embedded work (bare metal ARM Cortex M0+ and<br>
M4, hopefully RISCV in the future) in the last year and would love to<br>
start using and hacking on the llvm toolchain. I've tried setting up<br>
clang + lld but can't get lld to work because clang tries to launch gcc.<br>
I realize support is early but I'd love to have a dev setup so I can<br>
help fix things.<br>
<br>
Could some help me setup my Makefiles in this project:<br>
<a href="https://github.com/tannewt/circuitpython/tree/clang" rel="noreferrer" target="_blank">https://github.com/tannewt/<wbr>circuitpython/tree/clang</a> to use dev builds of<br>
clang and lld? Thanks!<br>
~Scott<br>
______________________________<wbr>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-dev</a><br>
</blockquote></div><br></div>