
On 04/ 3/14 04:05 PM, eng. Vassil Ognyanov Keremidchiev wrote:
Yes, but I don't know what is missing in my workflow.
I did not know if I need LLVM runtime on my target ARM machine.
No, you don't need LLVM runtime. You just need LLVM llc/opt if you'd like to cross-compile and build registerised ARM binaries.
Do I need? I read that there is unregisterised version for ARM that doesn't need LLVM. So I just could build Haskell cross-compiler that could work on my Ubuntu and create binaries for my ARM v7 machine.
If you'd like to use unregisterised /via-C binaries, then you don't need LLVM at all, you just need to configure with --enable-unregisterised IIRC, but I've not tested that so you are on your own. Also it comes with its own performance penalty of course: http://ghcarm.wordpress.com/2011/08/07/nofib-benchmarking/ Karel