This is the mail archive of the
mailing list for the GCC project.
Re: RFA: Pass --help= switch on to sub-processes
- From: Brooks Moses <brooks dot moses at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 28 Mar 2007 11:09:29 -0700
- Subject: Re: RFA: Pass --help= switch on to sub-processes
- References: <email@example.com>
Nick Clifton wrote:
Please may I apply the following patch to fix PR driver/31353 ? It
fixes the gcc driver so that --help=target is passed on to the
pre-processor, assembler and linker as --target-help, and any other
--help=... option is just passed on as --help. (Which was the
nearest equivalent in those subprocesses).
Note that I had already posted a patch to fix this:
(Unfortunately, the patch tracker didn't notice, so it didn't get copied
to the PR. Sorry about that!)
I don't think that passing the --help= option along to the assembler and
linker is correct; if I call "gcc --help=fortran", I don't want a big
long list of assembler and linker options.
Also, I'm not sure about passing --target-help along for --help=target,
either, since the assembler and linker won't respect the filtering if
someone requests it. I could be much more easily persuaded on that,