How can i optimize the size of exe and lib files produced by DEV C++ ver 4.9.9 (5 beta) , the produced ones are to large
Printable View
How can i optimize the size of exe and lib files produced by DEV C++ ver 4.9.9 (5 beta) , the produced ones are to large
try making sure that you are building a release build, and not a debug one. Also look for any additional header files that you might of included and do not need.
I've noticed that win32 apps compiled with DEV-C++ are huge!
Almost as double as with MS compiler from VC6.
But for console apps its very good.. only 17 18 KB minimum for file size.
I have disabled generate debug info but still hugeeeeeee
you'll have to search through all the options... there are several in there to help you optimize your code (they're disabled by default)...
I'm not sure how much that'll help you, because I haven't played with them too much myself...
Place your functions/classes in DLLs. This should decrease the size of the actual static EXE.