[LLVMdev] LLVM-gcc for ARM

Rafael Espindola espindola at google.com
Sun Jan 17 16:23:47 PST 2010

> llvm-gcc HelloWorld.c
> /home/LLVM/install/lib/gcc/arm-elf/4.2.1/../../../../arm-elf/bin/ld: this linker was not configured to use sysroots
> collect2: ld returned 1 exit status
> I would appreciate some help from you.

You have to pass --with-sysroot when building binutils too.

> Corina

Rafael Ávila de Espíndola

More information about the llvm-dev mailing list