Hello guys, I am pretty new to orwell-devcpp, before using this version I used bloodshed-devcpp. MY problem is when I included <iostream> header. My *.exe file was too big. It is around 6MB with a simple program. I don't know whether it's a bug or my program mistakes. I have tested with other program which previously worked and it happened the same thing. The file just too big.
I have tried 32 bit or 64 bit version of orwell-devcpp
Note: I am using x64 Windows 7 Ultimate, and I have tried clean uninstall followed by re-install. And I am pretty new to forum too, so sorry if I violate any rule. Thanks:)
Last edit: fendy 2013-10-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello guys, I am pretty new to orwell-devcpp, before using this version I used bloodshed-devcpp. MY problem is when I included <iostream> header. My *.exe file was too big. It is around 6MB with a simple program. I don't know whether it's a bug or my program mistakes. I have tested with other program which previously worked and it happened the same thing. The file just too big.
I have tried 32 bit or 64 bit version of orwell-devcpp
Note: I am using x64 Windows 7 Ultimate, and I have tried clean uninstall followed by re-install. And I am pretty new to forum too, so sorry if I violate any rule. Thanks:)
Last edit: fendy 2013-10-09
You can strip unused code from the executable using the -s flag. You can find it in the Tools >> Compiler Options >> Settings >> Linker tab.
The only downside to always using this option is that it also removes debugging information.
oh so that's the problem thanks for fast reply :)
You can also use UPX for your finished product to make your executable even smaller:
http://upx.sourceforge.net/