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?"

3 of 128 comments (clear)

  1. Distribute source by baadger · · Score: 2, Funny

    How many comments until someone asks "Why not distribute the source?"?

    Ah geeks..always finding a way to answer the question with a better(?) one.

    1. Re:Distribute source by Ithika · · Score: 3, Funny

      You forgot force the user to move to your distro of choice and I only play Nethack.

  2. Easy by orasio · · Score: 1, Funny
    1 - Statically Link everything
    2 - Realize you are linking GPLed or LGPLed libraries. Who will notice? They will.
    3 - Remove GPL and LGPL libraries.
    4 - Look for proprietary-friendly libraries.
    5.a - Develop for .NET. Be sure you charge enough for support.
    5.b - Cave in after finding you can't afford it, or you can't find what you want, and GPL your own code. Keep the artwork proprietary. Try to raise money to "liberate" your game.
    5.c - Pay for libraries. Distribute your games. Be happy.
     
    6.a - ???
    6.b - We profit
    6.c - Profit!!!