Anyone else who has been annoyed about large binary file sizes,
when debug symbols are included, might benefit from looking into
compressing debug info section.
Since binutils 2.26, ld accepts --compress-debug-sections=zlib
which works great for reducing executable and shared library
sizes. eg. libpvAccess.so.6.1.0 for linux-x86_64 goes
from 21MB to 7.3MB.
What I discovered this morning is that since at least GCC 5.1
the option '-gz' will compress individual object files as well,
and consequently reduces static library size. eg. libpvAccess.a
goes from 53MB to 32MB. Still huge, but less so.
- Navigate by Date:
- Next:
64-bit records Timo Korhonen via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
- Navigate by Thread:
- Next:
64-bit records Timo Korhonen via Core-talk
- Index:
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
<2019>
2020
2021
2022
2023
2024
|