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.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to