[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Configure doesn't honour CC variable
From: |
Nigel Horne |
Subject: |
Re: [Qemu-devel] Configure doesn't honour CC variable |
Date: |
Sun, 04 Jun 2006 18:11:33 +0100 |
User-agent: |
Thunderbird 1.5.0.2 (X11/20060501) |
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:
address@hidden 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
address@hidden 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
address@hidden 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
njh.vcf
Description: Vcard