Re: [Dev-C++] GCC 3.2 (MinGW 2.0) Compiled File Sizes
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2003-07-12 20:04:36
|
Damien X wrote: > Try adding -s to the commands when calling the compiler. The older > version of Dev-C++ did that by default, making the size of your .exe > files small. And also you might try the -O3 or -O4 flag. Optimization also tends to make the exe file smaller. If you are still not satisfied, head on to: http://upx.sf.net ,the Ultimate Packer for eXecutables homepage. It does it's job very well, even better than commercial exe packers. Copy upx.exe into your path somewhere (so you can use it anywhere), then use "upx -9 <filename>" for best compression. Your program, that was 416 KB, after stripping (-s) and upx-ing, was reduced to 73 KB. -- Greetings, Balázs |