[cfe-dev] cross-compile Windows => ARM?

Renato Golin renato.golin at linaro.org
Fri Aug 7 05:50:51 PDT 2015


On 7 August 2015 at 12:42,  <g4 at novadsp.com> wrote:
> 1. Are the instructions here:
> http://llvm.org/docs/HowToCrossCompileLLVM.html adequate to get a Windows
> binary that will generate ARM HF code? I am more than happy to fettle where
> necessary. if there are specific areas that need work please point me to the
> right place to find out what.

I have no experience on Windows, but I believe Clang should behave
similarly independent (ish) of the host OS.

On Linux, you need ARM libraries and a linker. Assuming you have that
on Windows, it should work in the same way.


> 2. Are there any docs/notes re the state of C++ runtime libs for the same?
> Looking primarily at M4 and A8 cores.

No docs that I know, but there is a lot of interest in libc++ from the
ARM community. Though, I'd assume most of the interest is on Linux /
A-class. I'm not sure how that would fare on an M-class.

You shouldn't have much problems on A8, but it may get weird on the
M4. It's worth a try, though.

cheers,
--renato



More information about the cfe-dev mailing list