From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fmw8Z-00061V-Af for qemu-devel@nongnu.org; Sun, 04 Jun 2006 13:11:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fmw8W-00061J-U4 for qemu-devel@nongnu.org; Sun, 04 Jun 2006 13:11:38 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fmw8W-00061C-Q7 for qemu-devel@nongnu.org; Sun, 04 Jun 2006 13:11:36 -0400 Received: from [212.159.106.41] (helo=bandsman.co.uk) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FmwFT-0000xd-Sb for qemu-devel@nongnu.org; Sun, 04 Jun 2006 13:18:48 -0400 Received: from [192.168.1.2] (njh [192.168.1.2]) (authenticated bits=0) by bandsman.co.uk (8.13.6/8.13.6) with ESMTP id k54HBVAZ021571 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 4 Jun 2006 18:11:33 +0100 Message-ID: <44831445.1090008@bandsman.co.uk> Date: Sun, 04 Jun 2006 18:11:33 +0100 From: Nigel Horne MIME-Version: 1.0 Subject: Re: [Qemu-devel] Configure doesn't honour CC variable References: <448304D8.7080308@bandsman.co.uk> <20060604162512.GB9335@mail.shareable.org> In-Reply-To: <20060604162512.GB9335@mail.shareable.org> Content-Type: multipart/mixed; boundary="------------030408020504030508000102" 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 This is a multi-part message in MIME format. --------------030408020504030508000102 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Jamie Lokier wrote: > 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. Tut tut ;-) > 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. Nope, that didn't work: [njh@njh qemu]$ ./configure --cc=/home/njh/build_3.2.2_dir/gcc/xgcc ERROR: "/home/njh/build_3.2.2_dir/gcc/xgcc" either does not exist or does not work [njh@njh qemu]$ ls -l /home/njh/build_3.2.2_dir/gcc/xgcc -rwxrwxr-x 1 njh njh 85636 Aug 28 2005 /home/njh/build_3.2.2_dir/gcc/xgcc [njh@njh qemu]$ ./configure --cc=/home/njh/build_3.2.2_dir/gcc/xgcc --host-cc=/home/njh/build_3.2.2_dir/gcc/xgcc ERROR: "/home/njh/build_3.2.2_dir/gcc/xgcc" either does not exist or does not work And before your say, yes, I am sure that my 3.2.2 build works. > -- Jamie -Nigel --------------030408020504030508000102 Content-Type: text/x-vcard; charset=utf-8; name="njh.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="njh.vcf" begin:vcard fn:Nigel Horne n:Horne;Nigel org:NJH Music email;internet:njh@bandsman.co.uk tel;fax:+44 870 705 9334 note:Skype: nigelhorne x-mozilla-html:FALSE version:2.1 end:vcard --------------030408020504030508000102--