As an open source game developer, I’ve generally not built binaries for Linux. I’d build them for Windows but for Linux it is either provided by your distro or you build it yourself. Obviously flatpaks and snaps can also be used. I decided to build a binary for Anagramarama so that a user group member using Ubuntu could try it out.
First I built it on Fedora 35 and copied all libraries except libc and libm. I put all the libs in a subdirectory and then moved anything missing into the bin directory and added a script to set LD_LIBRARY_PATH. This failed of course because glibc on Fedora is newer than Ubuntu. I knew the recommendation is to compile with the oldest system you want to support.
I started Fedora 32 in a VM and did the same as before. (Why 32? It was the first release with libgamerzilla.) It mostly worked. It worked on Fedora 35 and 32. It ran on Ubuntu 20.04 but crashed after switching the screen resolution when going fullscreen.