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


Reply via email to