User forums > Using Code::Blocks

exe Size

(1/1)

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:
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.

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

TyDX:
Found why this is happening:

http://stackoverflow.com/questions/5001184/exe-build-by-code-blocks-is-almost-57-times-larger-than-the-same-code-build-by-v

Thx.

Navigation

[0] Message Index

Go to full version