On Wed, Mar 11, 2009 at 3:21 PM, Jon Harrop <span dir="ltr"><<a href="mailto:jon@ffconsultancy.com">jon@ffconsultancy.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Now that I have HLVM up and running on x86 and x64 I am interested in testing<br>
it out on an ARM in preparation for their imminent world domination. I<br>
believe LLVM already has excellent support for the ARM thanks to Apple's<br>
ARM-based products. However, I'd really like an ARM-based consumer device<br>
suitable for developing and testing HLVM on, rather than using a cross<br>
compiler and uploading to an embedded device like a phone or lab equipment<br>
like a beagle board.<br>
<br>
Has anyone tried LLVM on one of the ARM-based netbooks like a Pandora, Touch<br>
Book or maybe some pre-release Apple swankiness?</blockquote><div><br>Before you commit to a specific hardware device, you can also prototype with an ARM emulator, such as Qemu.<br><br>The problem I've had is building an LLVM cross-compiler from Linux/x86 to Linux/ARM (as has another llvm-dev poster). Someone mentioned to me off-list that he managed to get it to build, but I haven't been able to reproduce the build using his instructions (I'll post my results in another thread).<br>
<br>Building LLVM _inside_ Qemu is rather slow and painful -- I've tried it once and didn't get far with it. However, since LLVM + LLVM-GCC are shipped as part of the iPhone SDK, at least Darwin/x86 -> Darwin/ARM cross is possible.<br>
<br></div></div>Misha<br>