* [Qemu-devel] Configure doesn't honour CC variable
@ 2006-06-04 16:05 Nigel Horne
2006-06-04 16:25 ` Jamie Lokier
0 siblings, 1 reply; 3+ messages in thread
From: Nigel Horne @ 2006-06-04 16:05 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 334 bytes --]
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
-Nigel
--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor,
Typesetter.
NJH Music, Barnsley, UK. ICQ#20252325
njh@bandsman.co.uk http://www.bandsman.co.uk
[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 181 bytes --]
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Configure doesn't honour CC variable
2006-06-04 16:05 [Qemu-devel] Configure doesn't honour CC variable Nigel Horne
@ 2006-06-04 16:25 ` Jamie Lokier
2006-06-04 17:11 ` Nigel Horne
0 siblings, 1 reply; 3+ messages in thread
From: Jamie Lokier @ 2006-06-04 16:25 UTC (permalink / raw)
To: qemu-devel
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Configure doesn't honour CC variable
2006-06-04 16:25 ` Jamie Lokier
@ 2006-06-04 17:11 ` Nigel Horne
0 siblings, 0 replies; 3+ messages in thread
From: Nigel Horne @ 2006-06-04 17:11 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1062 bytes --]
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
[-- Attachment #2: njh.vcf --]
[-- Type: text/x-vcard, Size: 181 bytes --]
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-06-04 17:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-04 16:05 [Qemu-devel] Configure doesn't honour CC variable Nigel Horne
2006-06-04 16:25 ` Jamie Lokier
2006-06-04 17:11 ` Nigel Horne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).