From: Paolo Bonzini <pbonzini@redhat.com>
To: Howard Spoelstra <hsp.cat7@gmail.com>
Cc: Helge Konetzka <hk@zapateado.de>,
qemu-devel qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [qemu-web PATCH] Fix link to Windows page in Wiki
Date: Sat, 11 Sep 2021 11:09:04 +0200 [thread overview]
Message-ID: <CABgObfY5UsGOCnQkhAY4+P3yevZe-nKHRFXj9fRrB0aWD5a5_w@mail.gmail.com> (raw)
In-Reply-To: <CABLmASEuNT2WVocMwakuhhYDvVBB0YdFueP24ULRFQ1Z35eKPg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 951 bytes --]
Il sab 11 set 2021, 10:43 Howard Spoelstra <hsp.cat7@gmail.com> ha scritto:
> I wrote those instructions as I obviously could not find a better way to
> get Qemu to cross-compile using MSYS2 in Windows.
>
But if you are using MSYS2, why do you need cross compilation and
--cross-prefix at all?
When you look at configure, you see that only adding the cross-prefix will
> not find the MSYS equivalents of some tools:
>
> ar="${AR-${cross_prefix}ar}"
> looks for x86_64-w64-mingw32-ar.exe and not (as it is named in MSYS2)
> x86_64-w64-mingw32-gcc-ar.exe
>
Yes, if the static linker is gcc-ar (I think that's only needed with
link-time optimization) you would need AR=. But if you don't need gcc-ar
you don't need to change the AR variable, and if you don't need a cross
prefix you can just set AR=gcc-ar.
Paolo
> Perhaps it would be better to fix configure for the MSYS2 case so the flags or the renaming are not required?
>
> Best,
> Howard
>
>
[-- Attachment #2: Type: text/html, Size: 2133 bytes --]
next prev parent reply other threads:[~2021-09-11 9:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-25 16:43 [qemu-web PATCH] Fix link to Windows page in Wiki Helge Konetzka
2021-09-01 15:30 ` Stefano Garzarella
2021-09-10 15:44 ` Paolo Bonzini
2021-09-11 6:28 ` Helge Konetzka
2021-09-11 8:43 ` Howard Spoelstra
2021-09-11 9:03 ` Mark Cave-Ayland
2021-09-11 9:17 ` Mark Cave-Ayland
2021-09-11 9:17 ` Helge Konetzka
2021-09-11 9:30 ` Mark Cave-Ayland
2021-09-12 8:15 ` Helge Konetzka
2021-09-11 9:09 ` Paolo Bonzini [this message]
2021-09-11 9:29 ` Helge Konetzka
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=CABgObfY5UsGOCnQkhAY4+P3yevZe-nKHRFXj9fRrB0aWD5a5_w@mail.gmail.com \
--to=pbonzini@redhat.com \
--cc=hk@zapateado.de \
--cc=hsp.cat7@gmail.com \
--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).