This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: [Fwd: RE: Executable size]
- From: bjorn rohde jensen <bjensen at fastmail dot fm>
- To: Chris Croswhite <ccroswhite at get2chip dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 25 Sep 2002 20:50:39 +0200
- Subject: Re: [Fwd: RE: Executable size]
- References: <1032977722.26665.64.camel@lws020.get2chip.com>
- Reply-to: bjensen at fastmail dot fm
Hi guys,
These sizes, you are reporting, are they the size
of the binary, or did you use the command 'size'?
There can be quite a difference between the size
of a binary file and the running program.
If you are conserned about the size of your C++
programs due to STL libraries, you really ought
to link with the shared library instead of the
static one. It will help reduce the cost a bit,
but the template instantiations you can not avoid:)
Yours sincerely,
Bjorn