This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: [patch] Add --compress-debug-sections option to gas


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.


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