News for hackers. Stuff that matters.
Re:Cross-compiling binaries for Windows is easier than build... by nickelpro on Sunday June 19, 2022 @03:31PM (#31802571)
It's easy to compile an entirely new binary for every platform/distro, and it's easy to bundle an entire execution environment along with a single binary using docker, what's hard is compiling a single binary and have it run across all distros and execution environments.
Re:Cross-compiling binaries for Windows is easier than build... by account42 on Tuesday June 21, 2022 @04:24AM (#31821615)
It really isn't that hard to get a single binary that works across glibc-based distros. Just compile against the oldest version of glibc/Xlib/etc. you want to support and bundle all non-system libraries, statically linking them with symbols hidden if possible.

We are not talking out of our ass here - I myself do this for all the software I maintain and just works. Tons of programs are released this way.

Re:Cross-compiling binaries for Windows is easier than build... by seba_dos1 on Sunday June 19, 2022 @03:38PM (#31802624)
"Across all distros" - sure, that's outright impossible, and for a good reason. "Across all distros that matter" - no, it's not. How do you think Electron apps distributed in binary form work fine across various distributions?