From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FUSH1-0003Zc-Ti for qemu-devel@nongnu.org; Fri, 14 Apr 2006 13:40:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FUSH0-0003YY-9Y for qemu-devel@nongnu.org; Fri, 14 Apr 2006 13:39:59 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FUSGz-0003YQ-TQ for qemu-devel@nongnu.org; Fri, 14 Apr 2006 13:39:57 -0400 Received: from [64.233.166.176] (helo=pproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FUSH1-00042Y-7x for qemu-devel@nongnu.org; Fri, 14 Apr 2006 13:39:59 -0400 Received: by pproxy.gmail.com with SMTP id w49so105996pyg for ; Fri, 14 Apr 2006 10:39:56 -0700 (PDT) Message-ID: <5b5833aa0604141039n539271d8u9404cb6c6cc3aaa3@mail.gmail.com> Date: Fri, 14 Apr 2006 13:39:56 -0400 From: "Anderson Lizardo" Subject: Re: [Qemu-devel] Patch to make configure /bin/sh compatible In-Reply-To: <20060414172216.GG4696@networkno.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060414155705.VTQX18886.eastrmmtao06.cox.net@172.18.52.8> <20060414172216.GG4696@networkno.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 4/14/06, Thiemo Seufer wrote: > gcc -dM -E -xc /dev/null |awk '{ if (/__GNUC__/) print $3 }' Or even simpler: gcc -dM -E -xc /dev/null | awk '/__GNUC__/{print $3}' Regards, -- Anderson Lizardo