
On 01/24/2013 04:28 PM, Stephen Paul Weber wrote:
Somebody claiming to be Nathan Hüsken wrote:
On 01/24/2013 03:58 PM, Stephen Paul Weber wrote:
Somebody claiming to be Nathan Hüsken wrote:
With the current ghc HEAD and llvm version 3.2 I am able to do a registerised build for android! Do you think it is specifically the 3.2 that made it work?
Yes. With llvm version 3.1 I was only able to get an unregisterised build to work.
Did you have to hack the source ala http://hackage.haskell.org/trac/ghc/attachment/ticket/7621/unregistered-arm-... ?
Not exactly, see the patch here: http://www.haskell.org/pipermail/ghc-devs/2013-January/000118.html and the changes to compiler/llvmGen/LlvmCodeGen/Ppr.hs
Stephen Blackheath found that out, see here: http://www.haskell.org/pipermail/iphone/2013-January/000212.html
From that post, it seems like llvm-3.0 might also work?
At the time of that post, ghc did not compile with 3.0 or 3.2. I have sticked to 3.2, and ghc compiles with it now. I do not know about 3.0.