Re: Building on android - compiled program segfaults

2013-01-13 Thread Bernhard Urban
Hi Nathan, On Fri, Jan 11, 2013 at 12:36 PM, Nathan Hüsken 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 e

Re: [Haskell-cafe] [Haskell-beginners] ghc and android

2013-01-02 Thread Bernhard Urban
On Tue, Jan 1, 2013 at 3:41 PM, Brandon Allbery wrote: > On Tue, Jan 1, 2013 at 9:13 AM, Bernhard Urban wrote: >> >> The main issue: The GHC runtime relies on glibc > > > I have to assume this is not meant literally, because ghc works on OS X and > *BSD. Right. I was

Re: [Haskell-cafe] [Haskell-beginners] ghc and android

2013-01-01 Thread Bernhard Urban
On Tue, Jan 1, 2013 at 1:13 PM, Ivan Perez wrote: > Please, let us know if you manage to compile it. There are some comments regarding porting git-annex to android, in order to make it useable from shell (that is, not as android app). http://git-annex.branchable.com/design/assistant/android/ The

ghc-mod and FFI

2012-09-17 Thread Bernhard Urban
Hi, recently I run into an issue using ghc-mod, as described here: https://github.com/kazu-yamamoto/ghc-mod/issues/75 In summary, ghc-mod fails if the source file contains a `foreign' declaration. I played around a bit, but I have no experience with the GHC API, so any help is appreciated! Thanks