logoalt Hacker News

the__alchemist • yesterday at 7:39 PM • 1 reply • view on HN

It depends. I've found for example, if i compile on Ubuntu or Debian, it will probably work on any Ubuntu, Debian, or Debian-based distro released at or newer than the one I compiled it on. There are other cross-compatible examples.

More broadly, there are things like manylinux and MUSL which allow cross-distro applications.


Replies

martijnvds • yesterday at 7:59 PM

Containers fix this.

As long as the container bundles the right libc, the program should work.

➕ show 1 reply