[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] build-sys: do no support modules on Windows
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] build-sys: do no support modules on Windows |
Date: |
Thu, 18 Jul 2019 14:51:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 |
On 18/07/19 14:04, Marc-André Lureau wrote:
> Our module system does not support Windows, because it relies on
> resolving symbols from the main executable.
>
> If there is enough interest in supporting modules on Windows, we could
> generate an import library for the executable and link with it:
> https://stackoverflow.com/questions/15454968/dll-plugin-that-uses-functions-defined-in-the-main-executable
>
> However, there is a small chicken egg problem, since the executable
> link and exports extra symbols needed by the library...
Yeah, with Meson it would be possible to do this easily, but for now
let's just drop support for modules on Windows.
Paolo