Single game installation that runs on ALL Linux distributions?

Single game installation that runs on ALL Linux distributions ???

Hi,

Is the above possible?

In the happy land of PC Windows,
I as a game designer can create a single installation EXE file
that the PC Windows user can run to install the game to the OS.

How I do this for Linux?

Thanks!

Jesse “JeZ+Lee” Palser
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com

Jesse P. wrote:

Single game installation that runs on ALL Linux distributions ???

This question pops up from time to time on the list. Try searching the
archives:
http://lists.libsdl.org/mmsearch.cgi/sdl-libsdl.org?config=sdl-libsdl.org&restrict=&exclude=&method=and&format=short&sort=time&words=linux+binary--
Sitsofe | http://sucs.org/~sits/

Jesse P. wrote:

Single game installation that runs on ALL Linux distributions ???

Read this article series:
http://www.gamedev.net/reference/programming/features/linuxprogramming1/

You could create a tarball or use package managers to create the install
for specific distros.

With a tarball the user would just download the source, unzip it and
build/install.On Tue, 2008-06-03 at 16:31 -0400, Jesse P. wrote:

Single game installation that runs on ALL Linux distributions ???

Hi,

Is the above possible?

In the happy land of PC Windows,
I as a game designer can create a single installation EXE file
that the PC Windows user can run to install the game to the OS.

How I do this for Linux?

Thanks!

Jesse “JeZ+Lee” Palser
slnthero at aol.com
Silent Hero Productions®
Video Game Design Studio
http://www.SilentHeroProductions.com


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Hello !

You could create a tarball or use package managers to create the install
for specific distros.

A way to create an RPM, DEB, TGZ File would be EPM :

http://www.epmhome.org/

CU

The article is intresting but not very complete since ignore an important
part of the problem:

Different distros has different versions of glibc libstdc++ and if you
compile on a quite new distro you’ll need at least the version of glibc /
libstdc++ shipped in your distro.

You can avoid this in two ways:

  1. Compile your release build (binary and all the shared libraries you’ll
    ship with your binary) on a really old distro.
  2. Use apgcc/apg++ gcc “downgrading” scripts (see www.autopackage.org that
    gives also a complete overview of the linux binary distribution problems).On 6/4/08, Ilya Olevsky wrote:

Jesse P. wrote:

Single game installation that runs on ALL Linux distributions ???

Read this article series:
http://www.gamedev.net/reference/programming/features/linuxprogramming1/


Bye,
Gabry

  1. Static link libstd++ & libc (mind you, I don’t say this is a great way,
    but it is a way).

Cheers,
MaxAm Do, 5.06.2008, 09:51, schrieb Gabriele Greco:

On 6/4/08, Ilya Olevsky wrote:

Jesse P. wrote:

Single game installation that runs on ALL Linux distributions ???

Read this article series:
http://www.gamedev.net/reference/programming/features/linuxprogramming1/

The article is intresting but not very complete since ignore an important
part of the problem:

Different distros has different versions of glibc libstdc++ and if you
compile on a quite new distro you’ll need at least the version of glibc /
libstdc++ shipped in your distro.

You can avoid this in two ways:

  1. Compile your release build (binary and all the shared libraries you’ll
    ship with your binary) on a really old distro.
  2. Use apgcc/apg++ gcc “downgrading” scripts (see www.autopackage.org that
    gives also a complete overview of the linux binary distribution problems).
  1. Static link libstd++ & libc (mind you, I don’t say this is a great way,
    but it is a way).

You can’t do it if you depend from other shared libraries (IE libSDL or
openal that you can’t statically link) or libGL that you can’t distribute
(since it’s different for each machine).

Also if you statically link SDL and distribute your object files to comply
with the LGPL license you’ll have problems when SDL tries to dynamically
load ALSA or libGL since you’ll have a “nice” symbol mismatch for libc
stuff.–
Bye,
Gabry