Do ghc-compiled binaries require GHC or are they self-contained?
问题 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? 回答1: 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