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: RFA: Pass --help= switch on to sub-processes


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: http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01658.html

(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, however.

- Brooks


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