[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/2] contrib/elf2dmp: elf2dmp for Windows hosts
From: |
Roman Kagan |
Subject: |
Re: [Qemu-devel] [PATCH 2/2] contrib/elf2dmp: elf2dmp for Windows hosts |
Date: |
Thu, 22 Nov 2018 09:04:49 +0000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Wed, Nov 21, 2018 at 10:54:15AM -0600, Eric Blake wrote:
> On 11/21/18 4:25 AM, Roman Kagan wrote:
> > On Fri, Nov 02, 2018 at 03:28:18AM +0300, Viktor Prutyanov wrote:
> > > After this patch elf2dmp can be built by mingw64 for Windows hosts.
> >
> > What prevents building it with mingw32? (I realize that since the tool
> > uses mmaped access to the dump data it's limited to dumps under a couple
> > of gigs but it's still not totally useless).
>
> Careful. The original (32-bit) mingw project is obsolete, and its
> replacement, the mingw64 project, provides both 32- and 64-bit environments.
> Even more confusingly, Fedora ships the mingw64 cross-compilers under the
> names i686-w64-mingw32-gcc (build for a 32-bit environment) and
> x86_64-w64-mingw32-gcc (build for a 64-bit environment). Historical naming
> causes confusion.
Indeed.
> So your question may not be relevant, especially given that
> tests/docker/test-mingw builds both 32- and 64-bit mingw builds.
I think it still is :)
The patch protects certain parts with #ifdef _WIN64, so it looks like it
won't build against 32-bit mingw. Hence my question.
Roman.