commandline help
Marc Lehmann
pcg@goof.com
Sat Feb 14 09:44:00 GMT 1998
On Fri, Feb 13, 1998 at 01:12:12AM -0700, Jeffrey A Law wrote:
>
> In message < 19980213035220.52024@cerebro.laendle >you write:
> >
> > bad: gcc -? doesn't give reasonable output.
> I don't think we want a -? option. I would recommend we stick with --help
> as that's the GNU standard option for command line help.
look more closely... -? isn't a supported switch even WITH the patch...
I should have used
gcc -mno-avail
or
gcc
to illustrate the example... with the patch, -? is diagnosed
(as usual) as an unknown switch, and a small help message is printed.
> > it can be enabled with configure --enable-clh.. the patch needs some
> > tuning, but it was tested in pgcc for some time..
> I woudn't bother making it a configure option -- always include it.
it makes gcc some 70kb larger (if not more).
> Do we want to dump all the options available? (and there's a lot of them!).
> If so, I would recommend we actally parse f_options and the machine dependent
> options intead of creating yet another place where we have to maintain
> them.
actually, the texi files for gcc, g++ and g77 are parsed with a shell
script, so there is no maintainance problem...
ok, i'll submit it when ready.
-----==- |
----==-- _ |
---==---(_)__ __ ____ __ Marc Lehmann +--
--==---/ / _ \/ // /\ \/ / pcg@goof.com |e|
-=====/_/_//_/\_,_/ /_/\_\ --+
The choice of a GNU generation |
|
More information about the Gcc
mailing list