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

Scott Shawcroft via llvm-dev llvm-dev at lists.llvm.org
Sun Apr 30 15:47:38 PDT 2017


Ok, thanks! I got it going that way. I'd still love to hear from anyone
off list working on similar stuff.
~Scott

On Sun, Apr 30, 2017, at 03:32 PM, Joerg Sonnenberger wrote:
> On Sun, Apr 30, 2017 at 03:18:35PM -0700, Scott Shawcroft via llvm-dev
> 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.
> 
> clang doesn't know how to call a linker for baremetal, so it tries to
> fallback to gcc. Just call the linker directly.
> 
> Joerg


More information about the llvm-dev mailing list