[llvm-dev] Help with setting up ARM embedded clang + lld

Rui Ueyama via llvm-dev llvm-dev at lists.llvm.org
Sun Apr 30 15:28:46 PDT 2017


Did you read http://lld.llvm.org/#using-lld? In short, you want to pass
-use-ld=lld to clang to use ld.lld instead of ld.

On Sun, Apr 30, 2017 at 3:18 PM, Scott Shawcroft via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi all,
> I've been doing a ton of embedded work (bare metal ARM Cortex M0+ and
> M4, hopefully RISCV in the future) in the last year and would love to
> start using and hacking on the llvm toolchain. I've tried setting up
> clang + lld but can't get lld to work because clang tries to launch gcc.
> I realize support is early but I'd love to have a dev setup so I can
> help fix things.
>
> Could some help me setup my Makefiles in this project:
> https://github.com/tannewt/circuitpython/tree/clang to use dev builds of
> clang and lld? Thanks!
> ~Scott
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170430/b204be20/attachment.html>


More information about the llvm-dev mailing list