qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Peter Maydell <peter.maydell@linaro.org>
Cc: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] capstone broke mingw cross build
Date: Fri, 03 Nov 2017 14:22:37 +0100	[thread overview]
Message-ID: <1509715357.5662.1.camel@redhat.com> (raw)
In-Reply-To: <CAFEAcA8LWHP-yWZxSQmnL_U2f_RAk-_ZfSERF8U48zqRE+bq0Q@mail.gmail.com>

  Hi,

> Works for me for the crossbuild I do with mingw64, so I wonder
> what's different about your setup?

It's RHEL-7, with the mingw packages from epel.

For some reason just using x86_64-w64-mingw32-ar seems to not be
enough.  When running "x86_64-w64-mingw32-ranlib capstone/capstone.lib"
(as suggested by the error msg) manually, then kick "make" again the
build finishes successfully.

"x86_64-w64-mingw32-ar --version" says "GNU ar (GNU Binutils) 2.25"

cheers,
  Gerd

  reply	other threads:[~2017-11-03 13:22 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-03  8:19 [Qemu-devel] capstone broke mingw cross build Gerd Hoffmann
2017-11-03 13:06 ` Philippe Mathieu-Daudé
2017-11-03 13:09   ` Dr. David Alan Gilbert
2017-11-03 13:08 ` Peter Maydell
2017-11-03 13:22   ` Gerd Hoffmann [this message]
2017-11-03 13:28     ` Peter Maydell
2017-11-03 13:40       ` Gerd Hoffmann
2017-11-07 17:52         ` Alistair Francis
2017-11-07 17:53           ` Peter Maydell
2017-11-07 23:21             ` Alistair Francis

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=1509715357.5662.1.camel@redhat.com \
    --to=kraxel@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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 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).