
On Tue, 03 Sep 2013 13:48:17 +0200, Henk-Jan van Tuyl
The compiled wxcore library (the raw wxWidgets interface) is about 11 MB. You can reduce it by about 50%, by using the GHC option -optl-s (this passes the option -s to the linker) to remove the debug data from the executable. This works for all executables, not just wxHaskell users.
The size can further be reduced by running UPX[0], an executable compression utility. UPX can also be used to compress DLLs.
It is also possible to strip the debug data from executables and DLLs, using the strip command from MinGW (before running UPX). For example: strip wxmsw295u_xrc_gcc_custom.dll upx --best wxmsw295u_xrc_gcc_custom.dll Regards, Henk-Jan van Tuyl -- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/ http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --