[Haskell-cafe] building ghc on arch linux ARM?

Yves Parès yves.pares at gmail.com
Wed Apr 11 11:03:40 CEST 2012

So is this possible now to have a desktop PC compile your program using
template haskell into llvm bytecode and then run it on ARM?
If not, is it definitely impossible (as I said, I don't know much about
llvm) or is it "yet to be done"?

Le 10 avril 2012 19:03, Joey Hess <joey at kitenet.net> a écrit :

> Joachim Breitner wrote:
> > Most of these architectures do not have a native code generator (so they
> > are compiled via C) and are unregisterized, i.e. GHC knows nothing about
> > their registers. Both cause a performance penalty; I don’t know numbers.
> > I assume this is what Joey refers to. But maybe also that ARM machines
> > tend to be slower :-)
> Both of course. The rare times I need to build a fairly big haskell
> program like git-annex on arm, it can easily take an hour or so with -O0.
> BTW, the other problem with Haskell on arm is that AFAIK there is no
> ghci, and so also no Template Haskell, and so if you're writing Real
> World utilities that you want to be maximally portable, this means you
> have to avoid using an increasing number of libraries. This rules Yesod
> right out; I've avoided using lenses as I'd have to write much manual
> boilerplate, etc.
> --
> see shy jo
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120411/2289ed52/attachment.htm>

More information about the Haskell-Cafe mailing list