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

Renato Golin rengolin at systemcall.org
Mon Jul 30 01:27:42 PDT 2012


On 30 July 2012 09:14, salvatore benedetto
<salvatore.benedetto at gmail.com> wrote:
> 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.

That requires a bit more than just compiling binutils. You'll need a
working linker and a perfect interaction between run-time libraries
and compiler generated code (read exception handling, RTTI, etc),
which LLVM hasn't.

The compiler-rt project is aiming to fix the latter, but not too close
to achieving it yet, I'm afraid. I'm not sure there is a project (or
the desire) to implement a full linker for multiple platforms.

-- 
cheers,
--renato

http://systemcall.org/



More information about the llvm-dev mailing list