If a friend wants to run my Haskell binaries, does he have to first install Haskell, or can he immediately run the binary by itself?
Is the answer the same on Mac, Windows, and Linux?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
GHC does produce stand-alone binaries that do not require GHC itself to be installed, however they do link against some dynamic libraries, most notably
libgmp. The remaining libraries are commonly found out of the box on most Linux systems. I believe the situation is similar on Windows.You can check which dynamic libraries you depend on using
lddon Linux. Here’s what I get on Ubuntu Natty for a simple Hello World program: