public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Carlo Marcelo Arenas Belon <carenas-kLeDWSohozoJb6fo7hG9ng@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: [PATCH] Allow users to override compiler checks for gcc3 by only using --disable-gcc-check as done in qemu
Date: Tue, 9 Oct 2007 01:02:02 -0500	[thread overview]
Message-ID: <20071009060202.GA8418@tapir> (raw)
In-Reply-To: <470A5982.5080606-atKUWr5tajBWk0Htik3J/w@public.gmane.org>

On Mon, Oct 08, 2007 at 06:23:30PM +0200, Avi Kivity wrote:
> Carlo Marcelo Arenas Belon wrote:
> >
> > If the qemu-cc option is not used but disable-gcc-check is requested then
> > assume that the default system gcc should be used (chosen by name)
> >
> > This patch fixes sourceforge bug id 1807620
> 
> This deviates from normal qemu, no?  I think qemu-s --disable-gcc-check
> doesn't imply anything about the compiler.

--disable-gcc-check in qemu's configure just shortcuts all the tests to
validate that the compiler to be used is gcc-3.x and that defaults to "gcc"

in the case of kvm's configure, using "gcc" as the default compiler will be
the case if :

1) the user didn't provide his own --qemu-cc preference
2) gcc-3.x couldn't be found when searching by name in /usr/bin/

and which is the expected behavior on qemu when --disable-gcc-check is used.

Carlo

PS. ideally host_cc should be by default "${CC}" if defined but using "gcc" is
what qemu's configure does so did the same for consistency reasons

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

      parent reply	other threads:[~2007-10-09  6:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-08 15:29 [PATCH] Allow users to override compiler checks for gcc3 by only using --disable-gcc-check as done in qemu Carlo Marcelo Arenas Belon
2007-10-08 16:23 ` Avi Kivity
     [not found]   ` <470A5982.5080606-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-09  6:02     ` Carlo Marcelo Arenas Belon [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=20071009060202.GA8418@tapir \
    --to=carenas-kledwsohozojb6fo7hg9ng@public.gmane.org \
    --cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox