From: Robert Buchholz Subject: Re: [PATCH] xen/Makefile: use CC --version instead of -v Date: Wed, 27 Aug 2008 13:06:41 +0200 Message-ID: <200808271306.46887.rbu@gentoo.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0586762225==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0586762225== Content-Type: multipart/signed; boundary="nextPart5527839.YjooTFINHZ"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart5527839.YjooTFINHZ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wednesday 27 August 2008, Keir Fraser wrote: > On 27/8/08 11:33, "Keir Fraser" wrote: > > On 27/8/08 11:12, "Robert Buchholz" wrote: > >> Btw, what is the reason for ".*" in the first place? > > > > Lost somewhat in the mists of time, but I think some vendor > > packages (possibly Red Hat iirc) stuck something in between 'gcc' > > and 'version'. > > > > Another tactic might be 'tail -n1'. I can't remember if the version > > is always the last line of 'gcc -v' output though. > > > > Hmmm... actually that is what Linux does (tail -n 1). So let's go > > with that. > > I've checked in 'tail -1' which I think is more portable. If that is > agreeable to everyone then I'll backport to 3.3 and 3.2 branches. Thanks, backports are appreciated (and trivial). Robert --nextPart5527839.YjooTFINHZ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iQIcBAABAgAGBQJItTVGAAoJECaaHo/OfoM5KGgQAIPfL9KXiQCmgMjn3BicLukH dIsp6Y5CPn6ftD++eXM1pF+wOBY2VKSYPIUWyetFOZ7Y7jc5kuhI4I7JdVk8QRa6 ey7utECbsM53UbT6ho5u3W91iN72bLsQlyDhm0rCGqslulJWFE7ZdOnL4UCTC8dH rKI6iMG0prr6ZWfsXMaesymmSnpaLye+Qq1hfntQxwByqXKKKexAek7FKuL7qdr3 RGZNQDpfX6VnNihEKUv7O7iRe8J+38uJbe0GP3+6kbRH8+vMfsRPy0nkh6bkOdPC aRytiawIVRisDrRRIBhQ0CSgH/UajVP0Azy0ydsdFXEk/0U9BCSmtWEve+gBhyri kczL8TBsyu5U899vAIkXgU/hgIzr1Be7VQQG/TSINuQE29RU8nFlI5Gh1MndTcSe vEVb1op5hN1U+0QmZO8FvFw2ogn7xzYljX5aipjXXVxVHo39JnUJ+K0RnXov6svw o7VGGlH2+vumRN6mA3ugwg4WUf44Zb3zGP7Qe/Dxz0w57xnKNTDBJo5zKbs1wWZD qnvhMDL2MrlRKWnn/wlaJzc4xP1ZbIgCCLYvMg9UkMuGQkIkiBfU41UdK4LCuVwG afOR048fFVYQIRNMZhZWRl4A1iTvvrbSHuj+jATaxGTMaDXCVLbrf37Mr5pBtp4e 3mXdP49M5xnJDAk07W/f =e6Mw -----END PGP SIGNATURE----- --nextPart5527839.YjooTFINHZ-- --===============0586762225== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0586762225==--