News:

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

Main Menu

EXE too big

Started by Leo.J90, September 08, 2009, 04:34:39 PM

Previous topic - Next topic

Leo.J90

I compiled a typical "hello world program" and i get a 269KB EXE file. Build target is set to "release", and i'm using the flags -s and -Os (without those flags, file size is 477KB).

is there any way to minimize the size?
"Don't think about the work, think about the benefit"

MortenMacFly

Unrelated to Code::Blocks, thus violating our forum rules. In addition you did not search the forums (this question has already been answered). Topic locked.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]