Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KWc9r-0002p5-Gj for qemu-devel@nongnu.org; Fri, 22 Aug 2008 15:18:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KWc9p-0002kK-0C for qemu-devel@nongnu.org; Fri, 22 Aug 2008 15:18:51 -0400 Received: from [199.232.76.173] (port=46439 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWc9o-0002kH-S4 for qemu-devel@nongnu.org; Fri, 22 Aug 2008 15:18:48 -0400 Received: from web24505.mail.ird.yahoo.com ([87.248.114.232]:23644) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KWc9o-0006kC-L3 for qemu-devel@nongnu.org; Fri, 22 Aug 2008 15:18:48 -0400 Date: Fri, 22 Aug 2008 19:18:45 +0000 (GMT) From: Sylvain Petreolle Subject: Re : [Qemu-devel] [PATCH] Check for gcc3 only if compiling dyngen targets MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <347838.43059.qm@web24505.mail.ird.yahoo.com> 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 ----- Message d'origine ----=0A=0A> De : Anthony Liguori =0A> =C0 : qemu-devel@nongnu.org=0A> Envoy=E9 le : Vendredi, 22 Ao=FBt= 2008, 20h01mn 51s=0A> Objet : Re: [Qemu-devel] [PATCH] Check for gcc3 only= if compiling dyngen targets=0A> =0A> Herv=E9 Poussineau wrote:=0A> > Hi,= =0A> >=0A> > If no configured target needs dyngen, gcc3.x is not required. = Currently,=0A> > you have to explicitly pass --disable-gcc-check flag to al= low compilation.=0A> >=0A> > Attached patch removes gcc check if no selecte= d target needs dyngen.=0A> > I had to move gcc4 detection later in the conf= igure script=0A> > =0A> =0A> This patch breaks gcc3 autodetection in a sub= tle way. You more the =0A> autodetect down much further after $cc is used = to compile a bunch of =0A> test executables. gcc3 autodetection may change= $cc so all of those =0A> compile tests are now invalid.=0A> =0A> I posted = a patch a while ago that did basically the same thing but =0A> didn't suffe= r from this problem. Paul Brook basically Nacked it though =0A> as it's a = lot of ugliness for little short term gain. Let's wait a bit =0A> longer a= nd hope that the remaining targets get converted to TCG before =0A> doing a= partial switch to gcc4.=0A> =0A> Regards,=0A> =0A> Anthony Liguori=0A> =0A= > > Herv=E9=0A> > =0A=0A=0ACurrently --disable-gcc-check isnt documented, = it only appears on failure to find =0Acompatible gcc (ie 3.x).=0A=0A =0AKin= d regards,=0ASylvain Petreolle