문제

I have downloaded the haskell platform 2013.2.O.O 64 bit and installed it according to the guide on a OSX version 10.9.2 (where i used Xcode to install the gcc compiler). I get the ghci to work, but when i try to compile hello.hs (containing: main = putStrLn "Hello, World!") I get a lot of errors and missing files (for instance math.h, stint.h). I appreciate any help of what I have done wrong...

도움이 되었습니까?

해결책

You're using Xcode 5. There is a known compatibility issue between Xcode5 and GHC 7.6. See the Haskell Platform MacOS X page for a wrapper script that works around the issue.

다른 팁

I know this isn't exactly help with the path you've chosen so far, but if you've got homebrew...

brew install ghc haskell-platform

Current versions from brew are ghc 7.6.3 and platform 2013.2.0.0

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top