[Haskell-beginners] GHC-generated executables size

Christian Gosch christian at goschs.de
Fri Oct 15 16:37:45 EDT 2010


Hi,
I was playing around with ghc again, and I was wondering what makes
the executables so large and how I could make them smaller (strip works,
but is there anything more I can do?)
More specifically, I am compiling a program that uses the GTK+ bindings,
HDBC, and some things from Prelude.
The program simply displays a window, and reads and writes values
from/into a data base file. Not much, really.
Anyway, the program size is 20MB without stripping, and 10MB after
stripping ... 

Any hints?

Thanks and good night for now ..
Christian



More information about the Beginners mailing list