This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ping][Ada] ada/38874 gnatmake --param
- From: Laurent GUERBY <laurent at guerby dot net>
- To: Arnaud Charlet <charlet at adacore dot com>
- Cc: Jakub Jelinek <jakub at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 04 May 2009 10:44:17 +0200
- Subject: Re: [PATCH][ping][Ada] ada/38874 gnatmake --param
- References: <1233863778.24883.101.camel@localhost> <1234898620.8927.20.camel@localhost> <1235581949.11347.205.camel@localhost>
Ping.
On Wed, 2009-02-25 at 18:12 +0100, Laurent GUERBY wrote:
> Ping.
>
> Thanks in advance,
>
> Laurent
>
> On Tue, 2009-02-17 at 20:23 +0100, Laurent GUERBY wrote:
> > On Thu, 2009-02-05 at 20:56 +0100, Laurent GUERBY wrote:
> > > 2009-02-05 Laurent GUERBY <laurent@guerby.net>
> > >
> > > PR ada/38874
> > > make.adb: Pass --param= to compiler and linker.
> > >
> > > Index: make.adb
> > > ===================================================================
> > > --- make.adb (revision 143854)
> > > +++ make.adb (working copy)
> > > @@ -8039,6 +8039,7 @@
> > > or else Argv (2 .. Argv'Last) = "pg"
> > > or else (Argv (2) = 'm' and then Argv'Last > 2)
> > > or else (Argv (2) = 'f' and then Argv'Last > 2)
> > > + or else (Argv'Last >= 8 and then Argv (2 .. 8) ==
> > > "-param=")
> > > then
> > > Add_Switch (Argv, Compiler, And_Save => And_Save);
> > > Add_Switch (Argv, Linker, And_Save => And_Save);
> >
> > Sent the wrong patch for review (see PR :). Here is the correct one
> > below, tested on mipsel-linux.
> >
> > Ok to commit?
> >
> > Laurent
> >
> > 2009-02-05 Laurent GUERBY <laurent@guerby.net>
> >
> > PR ada/38874
> > make.adb: Pass --param= to compiler and linker.
> >
> > Index: make.adb
> > ===================================================================
> > --- make.adb (revision 143854)
> > +++ make.adb (working copy)
> > @@ -8039,6 +8039,7 @@
> > or else Argv (2 .. Argv'Last) = "pg"
> > or else (Argv (2) = 'm' and then Argv'Last > 2)
> > or else (Argv (2) = 'f' and then Argv'Last > 2)
> > + or else (Argv'Last >= 8 and then Argv (2 .. 8) = "-param=")
> > then
> > Add_Switch (Argv, Compiler, And_Save => And_Save);
> > Add_Switch (Argv, Linker, And_Save => And_Save);
> >
> >