cross-compile Windows => ARM?

Hello all. Thanks for clang. Amazing stuff.

  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.

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

TAIA

Jerry.

Not sure I can help much, but regarding question 2, are you planning to run under windows, or some other OS?

Hi Mats, and thanks

Not sure I can help much, but regarding question 2, are you planning to run under windows, or some other OS?

You mean final binaries or during compilation?

The former:

M4 bare metal / CMSIS support or, slightly up the food chain, mbed.
A8 (essentially Beaglebone right now) HF Linux.

The latter:

Windows.

BR

Jerry

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

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.

I had most of the libcxx tests passing on baremetal M0 and M4 (via semihosted qemu) about 6mo ago. A lot of it comes down to obtaining a suitable libc... in my case I used newlib.

Jon

Hi

I had most of the libcxx tests passing on baremetal M0 and M4 (via
semihosted qemu) about 6mo ago. A lot of it comes down to obtaining a
suitable libc... in my case I used newlib.

Good to know. Thank you.

Hi

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.

OK.

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

Excellent. M4 here we come.

TA.