This is the mail archive of the gcc-patches@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: Clarify --target-help output


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


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