WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] xen/Makefile: use CC --version instead of -v

To: Robert Buchholz <rbu@xxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] xen/Makefile: use CC --version instead of -v
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 27 Aug 2008 09:56:06 +0100
Cc:
Delivery-date: Wed, 27 Aug 2008 01:56:32 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200808270106.29812.rbu@xxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AckIIr2f+/Yk+HQVEd2YpwAX8io7RQ==
Thread-topic: [Xen-devel] [PATCH] xen/Makefile: use CC --version instead of -v
User-agent: Microsoft-Entourage/11.4.0.080122
On 27/8/08 00:06, "Robert Buchholz" <rbu@xxxxxxxxxx> wrote:

> I propose to change the statement to:
>   $(CC) $(CFLAGS) --version | head -n1

I think we can just tighten up the grep regexp a little.

"gcc .*version " should do it.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel