From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by dpdk.org (Postfix) with ESMTP id A7ED7AD90 for ; Tue, 24 Feb 2015 11:44:21 +0100 (CET) Received: by mail-ob0-f180.google.com with SMTP id vb8so42355352obc.11 for ; Tue, 24 Feb 2015 02:44:21 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=4vUhi0Ny/qRFyb7yB40O9iWGD8BjphI1tinPNMd/L/8=; b=Ko76YF4JJrE6tdJSZ3tPTdytguLmNF+yoE0sB0ZoQYesIereKsIozCZpMMFKwTqMtX WOJGL/tq7YBSi3RVDVIj/L65TARPD3AstpvQ2YFF4bo17ZGlMAIqvhc7nkJE/FGj9fOc 37XAEHmfgF9LU4mKinbgOS21ii4Je7RP6SFKxIrxFkOu4+e41lzgg/pmk9boDPBOuDv5 u2fWVswWpJDIt/AMKCzPAW4cTy+sMGHeIgoGQ1G0+wnBRMu6OsjXZMus0aXJj2fNcGpF A7J2NgedHcgASZYwMJu6f6Xl0Yc+x+rmCp+6EIdqNFGe8N/tN3KryUEfy+TcWtgAOCQy 5a/g== X-Gm-Message-State: ALoCoQnJ7DWCMfkZztHrBPjeMISgPscXbc8TK5S3i9Kfx3UGC6xsGp95AI1omIjIGF4IOPjYl2kw MIME-Version: 1.0 X-Received: by 10.202.108.137 with SMTP id h131mr10295847oic.90.1424774661155; Tue, 24 Feb 2015 02:44:21 -0800 (PST) Received: by 10.76.133.162 with HTTP; Tue, 24 Feb 2015 02:44:21 -0800 (PST) In-Reply-To: References: <7a06a1e8019a40d4175c6bc2e1d7e62cf956b291.1424261465.git.pmatilai@redhat.com> <1597878.lL4fhc8lIW@xps13> <54EC496C.7050200@redhat.com> Date: Tue, 24 Feb 2015 11:44:21 +0100 Message-ID: From: David Marchand To: "Mcnamara, John" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH v2] mk: Rework gcc version detection to permit versions newer than 4.x X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Feb 2015 10:44:21 -0000 On Tue, Feb 24, 2015 at 11:36 AM, Mcnamara, John 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