[Haskell-cafe] Snow Leopard Breaks GHC

Dmitri Sosnik dimavs at gmail.com
Sun Aug 30 22:57:04 EDT 2009


How I can tell gcc to generate 32 bit code? I've tried to set CFLAGS=- 
m32, but it doesn't work.

Cheers,
D


On 31/08/2009, at 12:06 AM, David Leimbach wrote:

> Well the old binaries for Leopard already work on Snow Leopard.  The  
> problem is the code generated by the GHC compiler doesn't create  
> correct 64bit code when invoking gcc, and gcc on Snow Leopard  
> defaults to 64bit code now.  The solution is to use -m32 in the  
> invocation of gcc by default for Snow Leopard, or to make it emit  
> correct 64bit code.
>
> Given all of the above, I don't think there's any "porting" work to  
> be done.
>
> On Sun, Aug 30, 2009 at 2:22 AM, Dmitri Sosnik <dimavs at gmail.com>  
> wrote:
> Hm, don't think so, you have to build for a new platform - http://hackage.haskell.org/trac/ghc/wiki/Building/Porting
>
> D
>
>
> On 30/08/2009, at 2:10 AM, David Leimbach wrote:
>
>> Well if I build GHC on Leopard from HEAD and then copy it to Snow  
>> Leopard would that not work?
>>
>> Dave
>>
>> On Sat, Aug 29, 2009 at 1:52 AM, Dmitri Sosnik <dimavs at gmail.com>  
>> wrote:
>> Here - http://hackage.haskell.org/trac/ghc/wiki/Building, but it  
>> won't help, cause you need working ghc to build ghc.
>>
>> D
>>
>>
>> On 29/08/2009, at 6:33 PM, Thomas Davie wrote:
>>
>>
>> If it is closed, it is fixed in the HEAD.
>>
>> Any ideas how to get hold of a copy of HEAD, when my Haskell  
>> compiler currently outputs rubbish?
>>
>> Bob
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>> _______________________________________________
>> Haskell-Cafe mailing list
>> Haskell-Cafe at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20090830/34d69583/attachment.html


More information about the Haskell-Cafe mailing list