[Haskell-cafe] 64-bit vs 32-bit haskell platform on Mac: misleading notice on Platform website?

Christiaan Baaij christiaan.baaij at gmail.com
Thu Sep 27 09:45:48 CEST 2012


The behaviour seems to differ between versions of OS X.

A student has OS X 10.8 installed and is observing the described behaviour:
32-bit: interpreted and compiled work correctly
64-bit: only compiled code works correctly

However, I have OS X 10.6, and I'm observing the following behaviour:
32-bit: interpreted and compiled code work correctly
64-bit: interpreted and compiled code work correctly

To test:
cabal install gloss --flags="-GLUT GLFW"
cabal unpack gloss-examples
cd <unpacked-folder>/picture/GameEvent
ghci -fno-ghci-sandbox Main.hs
main

I'll try to find another OS X 10.8 install (I don't want to upgrade) and see if the behaviour still emerges.


On Sep 26, 2012, at 11:03 PM, Carter Schonwald wrote:

> really? does the 64 bit code work correctly when compiled?
> if the compiled version works correctly, could you post a repo of some example codlets that *should work* on ghc 7.6 so i can sort out if its fixable.   There were some similar problems with gtk / cairo for a while on OS X, and i was able to sort out reproducible instructions for getting things to work in that case.



More information about the Haskell-Cafe mailing list