Building on android - compiled program segfaults

Bernhard Urban lewurm at gmail.com
Sun Jan 13 11:16:52 CET 2013


Hi Nathan,

On Fri, Jan 11, 2013 at 12:36 PM, Nathan Hüsken
<nathan.huesken at posteo.de> wrote:
> I was succesfull in building ghc (pulled from git) to compile for
> arm-linux-androideabi!

Great news!
Can you describe how you managed to build it and which environment you use?


> main = putStrLn "Hello, World"
>
> I get an executable, which I can run on my android device. Unfortantly
> it segfaults.

just a random idea, does
  main = error "Hello, World"
work?


Thanks,
Bernhard



More information about the Glasgow-haskell-users mailing list