How to create both -option-name-* and -option-name=* options?

Mark Mitchell mark@codesourcery.com
Fri Nov 10 20:18:00 GMT 2006


Dave Korn wrote:

>   It may seem a bit radical, but is there any reason not to modify the
> option-parsing machinery so that either '-' or '=' are treated interchangeably
> for /all/ options with joined arguments?  That is, whichever is specified in
> the .opt file, the parser accepts either?  

I like that idea.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc mailing list