[Haskell-beginners] Haskell exectuable size

Nathan Hüsken nathan.huesken at posteo.de
Tue Sep 3 12:45:34 CEST 2013


Hey,

I have written a small wxHaskell application. Since wxWidgets seems to 
be required to be linked dynamicly, I have to add the wxWidgets dlls. 
Those make a total of about 25MB, wow.

Now the compiled exe (compiled with ghc -O2) has size 15MB.
In total I am at about 50Mb, which is just to much.

Why is the exe so big?
Has anyone a suggestion on how to reduce the total size?

Thanks!
Nathan




More information about the Beginners mailing list