ghc llvm port would enable arm support as well. i know there were
some issues with llvm when this was discusses a couple of years ago.
has anyone checked if that's the case?
On Wed, Jan 28, 2009 at 3:14 PM, Braden Shepherdson
> 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 those
> Braden Shepherdson
> Haskell-Cafe mailing list
Haskell-Cafe mailing list