News:

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

Main Menu

The 14 March 2007 build is out.

Started by killerbot, March 14, 2007, 07:59:32 PM

Previous topic - Next topic

TDragon

Quote from: bupper on March 15, 2007, 08:39:06 PM
Also, the executable size is 715KB!!!!! If I can't get that down to at least 50KB, I simply won't be using CodeBlocks. I just switched from Dev-C++.
MinGW/GCC, the compiler which Code::Blocks RC2 comes with and for which Code::Blocks is designed, is the exact same compiler that Dev-C++ uses, so any differences in file size are a result of different settings, which can always be changed. In order to create smaller executables, make sure debug symbols are not being generated (the "-g") option, and enable the "Strip all symbols from binary" option ("-s"). If you're a real size freak, you could also use the "Optimize for size" option ("-Os").
[url="https://jmeubank.github.io/tdm-gcc/"]https://jmeubank.github.io/tdm-gcc/[/url] - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

bupper

Ah, that did the trick for the size! Thanks so much  :) (btw, I also figured out by now how to display the window without command prompt... had to change the mode from "Debug" to "Release".)

Pecan

Quote from: bupper on March 16, 2007, 02:06:37 AM
Ah, that did the trick for the size! Thanks so much  :) (btw, I also figured out by now how to display the window without command prompt... had to change the mode from "Debug" to "Release".)

You can also change the target type from Console Application to GUI.
That way you can also use the Debug target without the console.

bloodmagic

hello,i wanna update to the newest version ,so how can i delete the old veriosn?
i'm under ubuntu 6.10 :D