gcc --help for options which are not warnings or optimizations

2009-06-01 Thread Ian Lance Taylor
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? Ian

Re: gcc --help for options which are not warnings or optimizations

2009-06-02 Thread Nick Clifton
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 w

Re: gcc --help for options which are not warnings or optimizations

2009-06-02 Thread Diego Novillo
On Tue, Jun 2, 2009 at 05:38, Nick Clifton wrote: > I suppose we could add another qualifier along the lines of > "--help=not-otherwise-shown" but that seems rather klunky. --help=other? (I've got tons of other colors for this bike shed, if needed). Diego.

Re: gcc --help for options which are not warnings or optimizations

2009-06-02 Thread Ian Lance Taylor
Nick Clifton writes: > 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 > qua

Re: gcc --help for options which are not warnings or optimizations

2009-06-03 Thread Nick Clifton
Hi Ian, Hi Diego, > Diego Novillo wrote: --help=other? That works. :-) Actually, there already is a qualifier which will select -fstack-protector, I had just forgotten about it: % gcc --help=common | grep stack -Wstack-protector Warn when not issuing stack smashing protectio