From: Paolo Bonzini <pbonzini@redhat.com>
To: Stefan Weil <sw@weilnetz.de>, Peter Maydell <peter.maydell@linaro.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH for-2.9] Fix check for target OS support
Date: Tue, 28 Mar 2017 10:04:56 +0200 [thread overview]
Message-ID: <f4b891ea-88c0-7c22-c702-f0ad0740d4e5@redhat.com> (raw)
In-Reply-To: <20170327201146.1820-1-sw@weilnetz.de>
On 27/03/2017 22:11, Stefan Weil wrote:
> * Support cross compilation with the most common cross prefixes
> for Mingw-w64. Other cross builds are still broken!
Can you explain how it's broken? Why does check_define not work at this
point, for cross builds?
"../configure --cross-prefix=x86_64-w64-mingw32-" seems to work for me.
Paolo
> +if test "$cross_prefix" = "i686_64-w64-mingw32-" ; then
> + targetos='MINGW32'
> +elif test "$cross_prefix" = "x86_64-w64-mingw32-" ; then
> + targetos='MINGW32'
> +elif test -n "$cross_prefix" ; then
> + targetos="$cross_prefix"
> +elif check_define __linux__ ; then
> targetos="Linux"
next prev parent reply other threads:[~2017-03-28 8:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 20:11 [Qemu-devel] [PATCH for-2.9] Fix check for target OS support Stefan Weil
2017-03-28 7:10 ` Peter Maydell
2017-03-28 12:07 ` Stefan Weil
2017-03-28 12:14 ` Peter Maydell
2017-03-28 8:04 ` Paolo Bonzini [this message]
2017-03-28 11:53 ` Stefan Weil
2017-03-28 12:03 ` Peter Maydell
2017-03-28 12:05 ` Mark Cave-Ayland
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=f4b891ea-88c0-7c22-c702-f0ad0740d4e5@redhat.com \
--to=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=sw@weilnetz.de \
/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.