Author Topic: EXE too big  (Read 2994 times)

Offline Leo.J90

  • Multiple posting newcomer
  • *
  • Posts: 30
  • Programming & Reverse Engineering
EXE too big
« on: September 08, 2009, 04:34:39 pm »
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?
« Last Edit: September 08, 2009, 04:37:52 pm by Leo-J90 »
"Don't think about the work, think about the benefit"

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: EXE too big
« Reply #1 on: September 08, 2009, 04:41:19 pm »
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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ