[cfe-dev] Using clang for cross-compiling to Cortex M4

Rick Mann rmann at latencyzero.com
Tue Jun 3 13:11:51 PDT 2014


On Jun 3, 2014, at 12:42 , Renato Golin <renato.golin at linaro.org> wrote:

> On 3 June 2014 17:53, Rick Mann <rmann at latencyzero.com> wrote:
>> Is compiler-rt sufficient? That doesn't provide the std libs, right?
> 
> Not really, RT is a libgcc replacement, not a standard library, and
> C++ also needs libc++/libc++abi. Sorry I misled you, I thought you
> were just looking for the compiler libraries.

Yeah, I figured there was more to it.


> For a quick working setup, having the GNU toolchain set up for your
> target is the least trouble. You should be able to get a
> cross-compiler ARM gcc with libraries and binutils on Mac, though I
> don't know how to (I'm a Linux user myself).

Yeah, I'll probably do that, or try newlib.


-- 
Rick






More information about the cfe-dev mailing list