[Haskell-cafe] Snow Leopard Breaks GHC

Max Bolingbroke batterseapower at hotmail.com
Sat Aug 29 08:31:40 EDT 2009


Hi,

If you compile with:

-opta -m32 -optl -m32

Then you can get GHC to produce binaries again.

WARNING: currently you cannot use this trick to build a Snow Leopard
compatible GHC using the HEAD snapshot at
http://www.haskell.org/ghc/dist/current/d ist/, because the most
recent (20090828) does not include the relevant patch. You have to use
HEAD directly, at least until the next packaged source release shows
up in that directory.

Once you have the source code from HEAD, you can add those flags to
SRC_HC_OPTS in your mk/build.mk and it should work. Disclaimer: I
haven't actually tried this yet.

Cheers,
Max

2009/8/29 Dmitri Sosnik <dimavs at gmail.com>:
> 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
>
>


More information about the Haskell-Cafe mailing list