[Fwd: RE: Executable size]

bjorn rohde jensen bjensen@fastmail.fm
Wed Sep 25 11:50:00 GMT 2002


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



More information about the Gcc-help mailing list