haskell - GHC anything results in "ld: library not found for -lgmp" -


i'm trying compile haskell programs on mac running os x 10.10 yosemite, ghc fails every time ld: library not found -lgmp:

$ ghc foo.hs [1 of 1] compiling main             ( foo.hs, foo.o ) linking foo ... ld: library not found -lgmp clang: error: linker command failed exit code 1 (use -v see invocation) 

help?

the missing thing on system date command line tools xcode. installing recent version xcode-select --install fixed problem.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -