This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Clarify --target-help output
- From: Ian Lance Taylor <iant at google dot com>
- To: Richard Sandiford <richard at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 25 Apr 2007 12:57:26 -0700
- Subject: Re: Clarify --target-help output
- References: <87647klcpj.fsf@firetop.home>
Richard Sandiford <richard@codesourcery.com> writes:
> gcc/
> * gcc.c (asm_options): Use %:print-asm-header() for --target-help
> and -ftarget-help.
> (static_spec_functions): Add print-asm-header.
> (main): Print a banner before the --target-help linker options.
> (print_asm_header_spec_function): New function.
1) I like this idea, but
2) I can't approve this patch, and
3) Please document the new function in the Spec Files node in
doc/invoke.texi.
(I've seen a proposal that we eliminate the spec file docs from
doc/invoke.texi. They are there because of the -specs=FILE option. I
am personally OK with removing the documentation from doc/invoke.texi,
but until and unless that happens, we should keep it up to date.
Thanks.)
Ian