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


Hi Cary,

More specifically, if it was available when gas was configured and
built, right?

Right.


How should I phrase that? Or would the following be
sufficient?

"... If the zlib library is not available on the host machine, this
option has no effect."

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 ?


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.

Cheers
  Nick



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