[vlc-devel] [PATCH 1/7] configure: detect if we can run win32 executables

Martin Storsjö martin at martin.st
Tue May 12 12:38:44 CEST 2020


On Tue, 12 May 2020, Steve Lhomme wrote:

> It is possible to run win32 executables when cross compiling with mingw64. It's
> even mandatory to build contribs as it needs to call fxc.exe (currently
> hardcoded to use wine).

Keep in mind that there's a bit of complication regarding this. We can't 
generally assume/hope to be able to run the compiled applications - if 
compiling for windows/arm64, we won't be able to run the apps we build for 
the target architecture. But e.g. fxc.exe is explicitly built for an x86 
windows architecture in these cases.

Not sure how it works for WIX for building MSI files (I haven't tried 
that), but if that's existing binaries that are run in wine, it should 
work fine - even if this configure test would fail when targeting arm64.

// Martin



More information about the vlc-devel mailing list