This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Fwd: RE: Executable size]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]