News for hackers. Stuff that matters.
Re:The Holy Grail of Linux Binary Compatibility: Musl and Dl... by oguz-ismail2 on Monday January 26, 2026 @04:49AM (#46763631)
>Linux

if you configure binfmt_misc

>Windows

if you disable Windows Defender

>OpenBSD

only older versions

Re:The Holy Grail of Linux Binary Compatibility: Musl and Dl... by account42 on Monday January 26, 2026 @05:38AM (#46764008)
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.

Re:The Holy Grail of Linux Binary Compatibility: Musl and Dl... by yjftsjthsd-h on Monday January 26, 2026 @11:15AM (#46767499)
>> 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.

Re:The Holy Grail of Linux Binary Compatibility: Musl and Dl... by oguz-ismail2 on Monday January 26, 2026 @11:18AM (#46767540)
On some distros, yes. On others it'll fire up Wine for whatever reason
Re:The Holy Grail of Linux Binary Compatibility: Musl and Dl... by yjftsjthsd-h on Monday January 26, 2026 @12:20PM (#46768469)
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.
Re:The Holy Grail of Linux Binary Compatibility: Musl and Dl... by oguz-ismail2 on Monday January 26, 2026 @12:49PM (#46768967)
>if you configure binfmt_misc for WINE

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