This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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: gcc --help for options which are not warnings or optimizations


Hi Ian,

Nick, how is gcc --help supposed to work for options which are neither
warnings nor optimizations?  For example, -fstack-protector.  Is there a
--help option which will display it?

Yes - but only the generic "--help --verbose" rather than a more qualified version.


My original goal with the qualifiers for --help was to enable to automatic collection of all optimization options available in a particular version of gcc. These would then be plugged in to a script to try out various different combinations of those options in the hopes of find the optimum selection.

I suppose we could add another qualifier along the lines of "--help=not-otherwise-shown" but that seems rather klunky.

Cheers
  Nick



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