Not sure you can trick GHC into generting code for those. I am
fortunate, because ArchPPC is supported.

Anyway, good luck,

    Gabor

On 1/15/12, Gabriel Dos Reis <[email protected]> wrote:
> On Sat, Jan 14, 2012 at 6:35 PM, Gabor Greif <[email protected]> wrote:
>> Hi Gaby,
>>
>> here you go:
>>
>> https://github.com/ggreif/ghc
>>
>> But in 2 places you will still need some manual intervention:
>>
>> $TOP/settings (check word size)
>> the other settings file 'find $TOP -name settings'
>>
>> $ find . -name settings
>> ./inplace/lib/settings
>> ./settings
>>
>>
>> And be sure to check
>>
>> ./includes/ghcautoconf.h
>>
>> because it is currently filled with host configury, so you'll have to
>> edit it. Making this automatic is on my list after the binary starts
>> to run on target. I had to adjust the UL and L sizes (and alignments)
>> from 8 to 4 for my PPC target.
>>
>> Then you have to
>>
>> $ perl boot
>> $ ./configure --host=<triple> --target=<triple>
>> --with-target-gcc=<path-to-cross-cc>
>
> Thank you!
>
>>
>> Cheers,
>>
>>   Gabor
>>
>>
>> PS: What are you trying to target?
>
> I've got some AVR micro controllers to play with.
> It should be fun  -- at least, I hope not too painful :-)
>
>> PPS: Crossing fingers that you run into the same problem and that you
>> can help me debugging it ;-)
>
> :-)
>
> -- Gaby
>

_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to