
27 Sep
2009
27 Sep
'09
11:16 a.m.
Tom Tobin
On Tue, Sep 1, 2009 at 3:14 AM, Christian Maeder
wrote: It seems, bootstrapping cabal went wrong. Does http://hackage.haskell.org/platform/2009.2.0.2/haskell-platform-2009.2.0.2-i... 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