This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: How to create both -option-name-* and -option-name=* options?
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Dave Korn <dave dot korn at artimi dot com>
- Cc: 'Brooks Moses' <brooks dot moses at codesourcery dot com>, gcc at gcc dot gnu dot org, fortran at gcc dot gnu dot org
- Date: Fri, 10 Nov 2006 12:06:07 -0800
- Subject: Re: How to create both -option-name-* and -option-name=* options?
- Organization: CodeSourcery, Inc.
- References: <033501c704c5$8dd16fd0$a501a8c0@CAM.ARTIMI.COM>
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