Ignoramus3627 <[EMAIL PROTECTED]> writes:

>> You can try to understand where that size comes from -- extract a
>> couple of .o files from the library, and examine what they are
>> comprized of (exact commands for this are system specific, and you
>> provided no clues what your platform might be).
>
> Linux, GCC 4.1.

In that case, use 'objdump -h' and 'readelf -S'.

The *.linkonce.* sections are the ones that will only be linked once
(i.e. repetitions will be eliminated).

Thomas Jensen <[EMAIL PROTECTED]> writes:

> You could try -Os (it tells GCC to optimize for size.)

That is unlikely to save more than 5% off the size of lib*.a

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.
_______________________________________________
help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to