Dear Cafe and Paul,
I am constantly having problems with cabal install in Snow Leopard. Some I solve, some I cannot unfortunately.
When I run
sudo cabal install glfw -v2
in Snow Leopard, I get the following.
glfw/lib/macosx/macosx_enable.c:1:0:
error: bad value (apple) for -march= switch
glfw/lib/macosx/macosx_enable.c:1:0:
error: bad value (apple) for -mtune= switch
cabal: Error: some packages failed to install:
GLFW-0.4.1 failed during the building phase. The exception was:
exit: ExitFailure 1
Regards,
--
Ozgur Akgun