[Haskell-cafe] compile ghc on Nexus 7 Android Tablet

Cody Goodman codygman.consulting at gmail.com
Sat Dec 27 21:47:04 UTC 2014


Thank you for your help Sergey.

On Sat, Dec 27, 2014 at 6:00 AM, Sergey Vinokurov <serg.foo at gmail.com> wrote:
> Hi, perhaps the best strategy that comes to my mind would be to build ghc
> cross-compiler first as outlined in https://github.com/joeyh/ghc-android.
> And then try to build ghc STAGE1 compiler and libraries with this crosscompiler
> so they'll run on arm.
>
> The problem though is that ghc has no native arm backend IIRC. So you'll have to
> either build unregistered compiler to run on arm that will compile through C or
> make arm ghc compile with LLVM, in which case you'll also need LLVM
> binaries for android.
>
> Sergey
>
> On Sat, Dec 27, 2014 at 12:13 PM, Cody Goodman
> <codygman.consulting at gmail.com> wrote:
>> How would I go about this? I see a lot of stuff about compiling for
>> android/arm, but not too much about putting ghc on an android arm
>> tablet. Has anyone done this? I'm sure it's easier with ubuntu touch,
>> but I'd like to try it using vanilla android.
>>
>> Thanks!
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe


More information about the Haskell-Cafe mailing list