|
From: <bis...@bt...> - 2000-11-30 14:13:05
|
Hi I've been using the MingW g++ compiler for compiling C++ programs (both console and GUI apps using WxWindows). It seems to me that the executables produced by MingW g++ are always very large compared to VC++. For example the C++ version of hello (using iostream/cout) produces an executable of almost 75K (after stripping) and the minimial WxWin statically linked program takes about 1M (again, after stripping) as opposed to around 400K using VC++ . C executables are much better. My questions: a) Is this a limitation of the MingW C++ compiler/linker ? I was told by someone that it is not good at removing unneeded code - is this true ? b) What else can I do (except using compression software) to reduce executable size ? Thanks. Biswa. |