Is it possible to produce stand alone haskell executable
executable, ghc, haskell, linux
Solution
You can use the flags `-static -optl-pthread -optl-static` to avoid dynamically linked dependencies when compiling a Haskell project. This should help you run the compiled executable on two linux machines that do not have the exact same library versions.
Problem
Is there any way to produce stand alone haskell executable to run on different linux machines assuming the architecture is similar? Sorry I should have been clearer. The other machines might not have ghc installed on them - a bit like pyinstaller for python is what I was looking for?