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, 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 protection
-fdefer-pop Defer popping functions args from stack until
-fomit-frame-pointer When possible do not generate stack frames
-fstack-check Insert stack checking code into the program
-fstack-limit This switch lacks documentation
-fstack-limit-register=<register> Trap if the stack goes past <register>
-fstack-limit-symbol=<name> Trap if the stack goes past symbol <name>
-fstack-protector Use propolice as a stack protection method
-fstack-protector-all Use a stack protection method for every function


Cheers
  Nick


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