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