From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FmvPh-0003Jb-TL for qemu-devel@nongnu.org; Sun, 04 Jun 2006 12:25:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FmvPf-0003JH-WA for qemu-devel@nongnu.org; Sun, 04 Jun 2006 12:25:17 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FmvPf-0003JE-RH for qemu-devel@nongnu.org; Sun, 04 Jun 2006 12:25:15 -0400 Received: from [81.29.64.88] (helo=mail.shareable.org) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FmvWc-0006gR-TR for qemu-devel@nongnu.org; Sun, 04 Jun 2006 12:32:27 -0400 Received: from mail.shareable.org (localhost [127.0.0.1]) by mail.shareable.org (8.12.11.20060308/8.12.8) with ESMTP id k54GPCbZ006115 for ; Sun, 4 Jun 2006 17:25:12 +0100 Received: (from jamie@localhost) by mail.shareable.org (8.12.11.20060308/8.12.8/Submit) id k54GPCVL006113 for qemu-devel@nongnu.org; Sun, 4 Jun 2006 17:25:12 +0100 Date: Sun, 4 Jun 2006 17:25:12 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] Configure doesn't honour CC variable Message-ID: <20060604162512.GB9335@mail.shareable.org> References: <448304D8.7080308@bandsman.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <448304D8.7080308@bandsman.co.uk> 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 Nigel Horne wrote: > When running "configure" I get > > 'ERROR: "gcc" looks like gcc 4.x' > > even though I've set the CC environment variable to point to my copy of > gcc version 3.2.2 Qemu's configure is not like most other configure scripts. You have to use the --cc="$CC" command line option to Qemu's configure, to get it to use a different compiler. You might need to use the --host-cc="$CC" option as well. -- Jamie