Remix.run Logo
oguz-ismail2 14 hours ago

>Linux

if you configure binfmt_misc

>Windows

if you disable Windows Defender

>OpenBSD

only older versions

account42 13 hours ago | parent | next [-]

Yeah 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 8 hours ago | parent | prev [-]

>> 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 8 hours ago | parent [-]

On some distros, yes. On others it'll fire up Wine for whatever reason

yjftsjthsd-h 7 hours ago | parent [-]

Okay, 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 6 hours ago | parent [-]

>if you configure binfmt_misc for WINE

It came preconfigured on Ubuntu 20.04 and 22.04, don't know about newer versions.