[patch] Add --compress-debug-sections option to gas
Tristan Gingold
gingold@adacore.com
Thu Aug 5 14:36:00 GMT 2010
On Aug 5, 2010, at 12:28 PM, Nick Clifton wrote:
>
> Actually just looking at the code in write.c, is there actually any check for the absence of the zlibrary ? Ie can the sources currently be compiled on a system with zlib installed ?
with zlib *not* installed ? Yes, this is handled in compress-debug.c and yes I have tested that on vms :-)
> Also, if zlib is not installed, then it would be fairer to the user if the --compress-debug-section was not mentioned in the --help output, and produced a warning if used. Otherwise someone could add --compress-debug-sections to their command line and then wonder why they are not getting any smaller binaries.
Indeed.
Tristan.
More information about the Binutils
mailing list