Slashdot Mirror


Building Distributable Linux Binaries?

Grubby Games asks: "I make games for a living, and I want to ensure that my games will run on as many Linux distros as possible. However, since I distribute binary game executables, the programs often fail to run on certain distros because of missing dependencies, and so forth. So, how do the Slashdot Linux gurus handle this situation? I've heard a number of theories on the subject, but have yet to find one that results in 100% cross-distro compatibility. Is it even possible, short of distributing source code?"

1 of 128 comments (clear)

  1. Compiling for different distribution versions by hbr · · Score: 0, Offtopic
    I have a similar question about creating binaries that run on different versions of the same distribution, say, Redhat Linux/Fedora Core.

    I have been building binaries on Redhat7.2 which seem to work OK on Fedora Core 3 (with compat-libstdc++, except there have been some problems when exceptions are thrown - anyone know anything about this?) - I assume they work OK on distributions in between too.

    Does anyone know how to build binaries on newer distributions that run on older ones, especially ones that use C++. Stuff compiled on fc3 seems to link to linux-gate.so, which I guess is not going to go down too well on the older distros.