Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

christheffer

the new DevC++ beta 8

This topic is 5471 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i have just installed the new beta of devc++ and it increases the size of my final exe dramatically. with the 4.01 version and whatever mingw compiler that came with it the size of my exe was only 7k and now it is 94k. this is a ridiculuosly large increase in size that i would very much like to get rid of. i have the compiler options set the same on both and above all, i have the debug info option set off, which i know would increase the size. has anyone else experienced similar things as this? thanks

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
The size increase is caused by gcc. The 3.x versions make sometimes big exe files, but it optimizes better. Just remember to strip debugging info and if it''s still too big, use UPX.

BTW, sometimes (I''m not sure is this bug or what), the GCC just ignores the -s switch in the command line when compiling under Dev-C++, so the debugging symbols get in the EXE anyway, so in this case, you have to use the ''strip'' command line utility to strip the debugging data.

Share this post


Link to post
Share on other sites
thanks, that sounds like it is the problem. i tried compiling with debugging code on and i didnt notice a difference.

how would i use the strip command? is it a compiler command?

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
To use strip, just go to the directory where your EXE is and type:

STRIP exename.exe

Integrated debugger sucks, but GDB is works nicely after you learn how to use it.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!