4 ms·
>Linux if you configure binfmt_misc >Windows if you disable Windows Defender >OpenBSD only older versions
by oguz-ismail2 8mo ago
>Linux
if you configure binfmt_misc
>Windows
if you disable Windows Defender
>OpenBSD
only older versions
- account42 8mo agoYeah while APE is a technically impressive trick, these issues far outweigh the minor convenience of having a single binary. For most cases, a single Windows exe that targets the oldest version you want to support plus a single Glibc binary that dynamically links against the oldest version you want to support and so on is still the best option.
- yjftsjthsd-h 8mo ago>> Linux > if you configure binfmt_misc I don't think that's a requirement, it'll just fall back to the shell script bootstrap without it.
- oguz-ismail2 8mo agoOn some distros, yes. On others it'll fire up Wine for whatever reason
- yjftsjthsd-h 8mo agoOkay, yes, if you configure binfmt_misc for WINE and not APE then PE-compatible binaries will get run with WINE and not APE. That feels unfair.
- oguz-ismail2 8mo ago>if you configure binfmt_misc for WINE It came preconfigured on Ubuntu 20.04 and 22.04, don't know about newer versions.