[Haskell-cafe] Re: Haskell on ARM (was Re: ANN: Topkata)
Braden.Shepherdson at gmail.com
Wed Jan 28 18:14:17 EST 2009
Conrad Meyer wrote:
> On Wednesday 28 January 2009 08:15:44 am Braden Shepherdson wrote:
>> Dan Mead wrote:
>>> has there been any movement on this topic? i'm also interested in
>>> haskell on arm
>>> do you guys thing telling ghc to emit C and then compiling that for arm
>>> is a better route than
>>> getting direct compilation to work?
>> If you look on the GHC-on-ARM page, you'll find my attempts to
>> bootstrap GHC 6.6 (the last version where cross-compiling GHC actually
>> worked) to ARM.
>> The only success I had was in using jhc (not GHC) to generate portable
>> C, which cross-compiled and ran fine (on my Nokia N810). GHC's C
>> wouldn't compile out of the box, and I'm not sure what libraries or
>> other hackery is required to make it do so.
>> Details of the failed cross-compilation and success with jhc are on the
>> wiki page.
>> I'd love to have this working, but I have no time at all this term.
>> Braden Shepherdson
> Have you considered trying to bootstrap ghc with jhc?
Unfortunately this is not possible. The Haskell code in GHC relies on
some GHC-only extensions. jhc can't compile GHC because it doesn't have
those extensions. jhc can't even compile itself, since it too relies on
More information about the Haskell-Cafe