How can I compile a program (Haskell) so that it does not require a DLL?
I wrote a program that uses GLUT and requires glut32.dll. I compiled it with ghc --make program.hs . Now I want to distribute my program, but I do not want it to require any DLLs (so I can just provide .exe for users). I tried to compile with ghc -static --make program.hs , but this did not work, I still get a "user error (unknown GLUT entry glutInit)".
How can i do this?
compiler-construction dll linker haskell static-linking
Jerry
source share