Tom Tobin <korp...@korpios.com> writes:

> On Tue, Sep 1, 2009 at 3:14 AM, Christian
> Maeder<christian.mae...@dfki.de> wrote:
>>
>> It seems, bootstrapping cabal went wrong. Does
>> http://hackage.haskell.org/platform/2009.2.0.2/haskell-platform-2009.2.0.2-i386.dmg
>> work?
>
> Installing the Haskell Platform package, combined with adding the
> previously mentioned options to /usr/bin/ghc (-optc-m32 -opta-m32
> -optl-m32), seems to have done the trick.  Thank you!

N.B. everybody, you also need to patch /usr/bin/hsc2hs to read:

    exec 
/Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/hsc2hs \
        $tflag $HSC2HS_EXTRA --cflag="-m32" --lflag="-m32" ${1+"$@"} "$Iflag"

if you want FFI to work. See details on
http://hackage.haskell.org/trac/ghc/ticket/3400#comment:9.

G.
-- 
Gregory Collins <g...@gregorycollins.net>
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to