[Haskell-cafe] Re: Haskell on ARM (was Re: ANN: Topkata)

Anatoly Yakovenko aeyakovenko at gmail.com
Wed Jan 28 19:27:40 EST 2009


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
<Braden.Shepherdson at gmail.com> wrote:
> 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[1], 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[1].
>>>
>>> I'd love to have this working, but I have no time at all this term.
>>>
>>>
>>> Braden Shepherdson
>>> shepheb
>>
>> Have you considered trying to bootstrap ghc with jhc?
>>
>> Regards,
>
> 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
> extensions.
>
>
> Braden Shepherdson
> shepheb
>
> _______________________________________________
> 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