From: Rene Rivera (grafik.list_at_[hidden])
Date: 2004-11-24 18:27:36
C. Andy Martin wrote:
> Rene Rivera wrote:
>>Similar results on my code... Which I forgot to mention. Don't have
>>exact figures with me at this time... But the size difference between
>>debug (which has all the symbols for me) and release (which removes all
>>symbols except the dllexport ones) is more than 80%.
> If we could strip out unneeded symbols (symbols which don't need to be
> referenced by other modules) it seems you could really shrink the size
> of the dynamic table.
That's what I'm saying I do... I have custom build steps for release
that allow me to mark the dllexport symbols for the SOs that I build.
Everything else, except external dependences, is striped.
...More specifically I mark almost everything as private in the ELF
objects and relink to get all those private symbols removed. I don't do
that in the debug so I can do symbolic debugging :-) And the regular
link tools, as you mention only strip the static symbols.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk