Re: [Dev-C++] Executable size with stl
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Chris M. <lor...@gm...> - 2010-02-07 07:21:39
|
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/ |