News for hackers. Stuff that matters.
Re:Cross-compiling binaries for Windows is easier than build... by account42 on Tuesday June 21, 2022 @03:59AM (#31821442)
> Compiling on one distro and then expecting it to work on another distro is a foolhardy errand.

Only if you link random libs you find in on the system. The base system libs making up a Linux desktop (glibc, xlib, libasound, libpulse*, libGL, etc.) all are pretty good about maintaining backwards compatibility so you only need to build against the oldest version you want to support and it will run on all. Other libraries you should distribute yourself or even statically link with their symbols hidden. This approach works for many projects.

There are no comments on this comment yet.