All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nigel Horne <njh@bandsman.co.uk>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Configure doesn't honour CC variable
Date: Sun, 04 Jun 2006 18:11:33 +0100	[thread overview]
Message-ID: <44831445.1090008@bandsman.co.uk> (raw)
In-Reply-To: <20060604162512.GB9335@mail.shareable.org>

[-- 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


      reply	other threads:[~2006-06-04 17:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44831445.1090008@bandsman.co.uk \
    --to=njh@bandsman.co.uk \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.