I picked up a "Hello World" example, and noticed that its executable had 700Kb. Found this here: http://www.codeproject.com/KB/library/wxwidgets.aspx
But I tried to compile this same code, and obtained a 2.2mb executable.
Either were compiled with static libraries.
I use:
- MinGW
- wxWidgets 2.8.9
- CodeBlocks
and build wxWidgets this way
"mingw32-make -f makefile.gcc MONOLITHIC=0 SHARED=0 UNICODE=0 BUILD=release"
I`d like to know how if there is a way of obtaining an executable with this small size, compiling with static libraries.
Static libraries Vs Executable`s size
-
- Earned a small fee
- Posts: 11
- Joined: Thu Apr 17, 2008 7:49 pm