This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [plugins] --help and --version integration
- From: Ralf Wildenhues <Ralf dot Wildenhues at gmx dot de>
- To: Rafael Espindola <espindola at google dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 6 Apr 2009 19:33:45 +0200
- Subject: Re: [plugins] --help and --version integration
- References: <38a0d8450904060449g19db6da4t7d8bef7191f3fde0@mail.gmail.com>
Hello Rafael,
* Rafael Espindola wrote on Mon, Apr 06, 2009 at 01:49:14PM CEST:
> I am looking for something to start hacking on the plugins branch. I
> decided to try the --help and --version integration (see
> http://gcc.gnu.org/wiki/plugins).
> One thing I noticed that might help us: xgcc --help and --version will
> not print help or version info of subprocess. I think we can make it
> completely uniform by doing "--version -v" will call a subprocess just
> like "--help -v" does. With this all that is needed is a way for the
> plugin to pass the information to cc1.
> Comments?
Just FYI, there is a pending patch (for trunk; who can review it?)
that adds some --help exposure to the testsuite:
<http://gcc.gnu.org/ml/gcc-patches/2009-04/msg00118.html>
It would be nice if you could test that for regressions, and even nicer
if you would add new tests for new features. :-)
Cheers,
Ralf