Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: mercury on May 31, 2005, 07:17:01 pm
-
Hi!
I've just started programming under windows. First thing I noticed is, that a simple console Hello World app in windows is 450kByte large. I must have some setting of the compiler wrong (GCC), since the same program is only 4k large in Linux. Any ideas anyone?
George
-
MinGW suffers from a horrible linking problem: It can't get rid of dead code as well as the original GCC.
Also, you can try stripping the exe. Exes usually have this debug info attached to them. And you might like downloading UPX, reduces exes and DLL's size around 50%.
-
use OpenWatcom C++ :)