News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

exe Size

Started by TyDX, June 05, 2013, 02:29:37 AM

Previous topic - Next topic

TyDX

Hi guys.

I've compiled a very simple C++ program. 35 lines of code in both Code::Blocks and VS 2010.

The exe generated by Visual Studio is 85Kb and the one generated by CB is 945Kb.

Both IDEs using default settings.

Anything I need to set in Code::Blocks to reduce the exe size?

Thanks in advance.

Ty.

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

TyDX

So I need to find out how to improve this in MinGW?