[dpdk-dev] [PATCH v2] mk: Rework gcc version detection to permit versions newer than 4.x
Bruce Richardson
bruce.richardson at intel.com
Tue Feb 24 11:50:46 CET 2015
On Tue, Feb 24, 2015 at 11:44:21AM +0100, David Marchand wrote:
> On Tue, Feb 24, 2015 at 11:36 AM, Mcnamara, John <john.mcnamara at intel.com>
> wrote:
>
> >
> > > >> $ gcc -dumpversion
> > > >>> 4.7
> > > >>>
> > > Hum, how about something like always appending .0.0 to the gcc -
> > > dumpversion then cut at 3 characters ?
> >
> > Hi,
> >
> > Or something like this in Sed or Perl within the $(shell) expansion:
> >
>
> Well, we have no dependency on perl so far.
> I would prefer we keep at just makefile and shell stuff.
>
> Olivier ? opinion ?
>
>
> --
> David Marchand
I think the suggestion of just appending .0.0 is the simplest option which
should also work well.
Regards,
/Bruce
More information about the dev
mailing list