Author Topic: exe Size  (Read 3825 times)

Offline TyDX

  • Single posting newcomer
  • *
  • Posts: 3
exe Size
« on: June 05, 2013, 02:29:37 am »
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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: exe Size
« Reply #1 on: June 05, 2013, 02:48:20 am »
The setting depends on the Compiler used.

Read the CB FAQ is NOT
http://wiki.codeblocks.org/index.php?title=FAQ-General#Q:_What_Code::Blocks_is_not.3F

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline TyDX

  • Single posting newcomer
  • *
  • Posts: 3
Re: exe Size
« Reply #2 on: June 05, 2013, 04:57:39 am »
So I need to find out how to improve this in MinGW?

Offline TyDX

  • Single posting newcomer
  • *
  • Posts: 3