[LLVMdev] Cross-compiling for cortex-m3: how do I get ride of -ccc-gcc-name ?

salvatore benedetto salvatore.benedetto at gmail.com
Mon Jul 30 01:14:32 PDT 2012


On Mon, Jul 30, 2012 at 3:51 AM, Gordon Keiser <gkeiser at arxan.com> wrote:
> Making a symlink to clang in the same directory as the GCC / binutils (I'll call it $ARM_BIN) called
>
> arm-none-linux-gnueabi-clang (and one with clang++ too)
>
> and another link in the $ARM_BIN/../lib directory to clang directory located under clang's lib (for includes)
> should be enough.

I'm sorry, I should have been more clear. I don't just want to get
right of the option itself, I want not to
have the need to a have a GCC cross-toolchain around.

I did download and cross compile binutils myself. I'd like llvm to use
that by default.

Is that possible?

Thanks,
Salvatore



More information about the llvm-dev mailing list