Gregory Collins wrote:
Martijn van Steenbergen <[email protected]> writes:

Hello,

Above error is one of those that appear when using GHC on the 64-bit Snow
Leopard. I've already patched my /usr/bin/ghc to mention -optc-m32 -opta-m32
-optl-m32. However, the error still occurs when doing 'cabal haddock' in *some*
packages.

For example, a local project of mine builds just fine, but trying to cabal
haddock the happstack-helpers package goes horribly wrong and no documentation
is generated.

How do I fix this? And why does it happen only in certain packages?

Did you patch hsc2hs also?

I hadn't done that yet, but I've changed it so that the last line now reads:

exec /Library/Frameworks/GHC.framework/Versions/610/usr/lib/ghc-6.10.4/hsc2hs $tflag $HSC2HS_EXTRA -optc-m32 -opta-m32 -optl-m32 ${1+"$@"} "$Iflag"

However, cabal haddock still reports errors.

Martijn.

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to