All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Brook <paul@codesourcery.com>
To: Stuart Yoder <stuart.yoder@freescale.com>
Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH] configure: change endian cross compilation test
Date: Wed, 14 Mar 2012 16:54:34 +0000	[thread overview]
Message-ID: <201203141654.35425.paul@codesourcery.com> (raw)
In-Reply-To: <1331742990-14385-1-git-send-email-stuart.yoder@freescale.com>

> From: Stuart Yoder <stuart.yoder@freescale.com>
> 
> Previous check in configure's endian test was to determine if
> this is a cross-compile build by testing whether --cross-prefix
> was used.  This does not work for cross build environments
> like Yocto that may set CC instead of --cross-prefix.
> 
> Instead, test whether host compiler is same as target compiler,
> which also works when --cross-prefix is used.

I'd much rather remove this test altogether.  If the cross case doesn't give 
the right answer for all the host systems we care about then we should fix 
that.

Paul

  reply	other threads:[~2012-03-14 16:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-14 16:36 [Qemu-devel] [PATCH] configure: change endian cross compilation test Stuart Yoder
2012-03-14 16:54 ` Paul Brook [this message]
2012-03-14 17:17   ` Peter Maydell
     [not found]     ` <CALRxmdAhwT-2p2VaO2mpN7sLr46BTBZRBkXsWWpoCd=UBH5PNQ@mail.gmail.com>
2012-03-14 18:09       ` Peter Maydell
2012-03-14 19:00         ` Stefan Weil

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=201203141654.35425.paul@codesourcery.com \
    --to=paul@codesourcery.com \
    --cc=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=stuart.yoder@freescale.com \
    /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.