Re: [Dev-C++] Executable size with stl
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Philip B. <ph...@bl...> - 2010-02-07 07:55:08
|
Hi Chris, Sounds logical, though no less annoying. Grins. Thank you for the clarification. Kind regards, Philip Bennefall ----- Original Message ----- From: "Chris Miller" <lor...@gm...> To: "Philip Bennefall" <ph...@bl...> Cc: <dev...@li...> Sent: Sunday, February 07, 2010 8:21 AM Subject: Re: [Dev-C++] Executable size with stl > On Sat, Feb 6, 2010 at 4:17 PM, Philip Bennefall <ph...@bl...> > wrote: >> Hi all, >> >> I noticed that when using MinGw and the stl (e.g. iostream, string, >> vector >> etc) the executable gets ridiculously large - sometimes over 1 mb! My >> project settings are set to the "Optimize More" option, no debugging or >> profiling information is generated, and the executable is set to be >> stripped. Yet, we get these huge files and it simply does not seem >> logical. >> Is there any way to reduce this? Perhaps if I could find an alternate >> implementation of the stl somewhere? > > IIRC, this is because it has to include the GNU STL implementation > into the binary, otherwise you'd need to have the applicable DLL's > installed on the client machine as well as your application > executable. > > I could be wrong, I haven't used DevC++ in a while, but that's what I > remember. > > HTH. > > -- > Registered Linux Addict #431495 > For Faith and Family! | John 3:16! > http://www.fsdev.net/ -------------------------------------------------------------------------------- No virus found in this incoming message. Checked by AVG - www.avg.com Version: 8.5.432 / Virus Database: 271.1.1/2662 - Release Date: 02/01/10 12:37:00 |