Compiling ScummVM/Atari
Compiling ScummVM for Atari
These days it doesn't make sense to build ScummVM (or any larger application) natively on an Atari platform. Even maxed out ARAnyM can quickly become insufficient because every major gcc upgrade requires more and more available memory. And since FreeMiNT doesn't have virtual memory (swap partition/file) there is no way around it.
There are multiple options when it comes to cross-compiling, with the most common being:
- Official m68k-atari-mint(elf): gcc-mint 7.5.0 and gcc-mintelf 13.4.0
- Vincent Riviere's m68k-atari-mint and m68k-atari-mintelf: gcc-mint 4.6.4 and gcc-mintelf 13.2.0; basically the same as above
- Thorsten Otto's m68k-atari-mint(elf): basically all available gcc versions; Atari patches are shared with the gcc builds above
- Big Brown Build: basically all available gcc versions; using completely different patches
ScummVM uses the official m68k-atari-mintelf-gcc 13.4.0 for m68k builds and Thorsten Otto's mint-gcc for the ColdFire build.
Prerequisites
- libgem
- libz
These are the basic prerequisites for the m68k build. As the ColdFire build uses SDL, you need SDL and all its dependencies, along with all the other dependencies you want to enable.
To get you started, just clone & execute both [1] and [2].
Configuring
The easiest way is just to execute ./backends/platform/atari/build-release.sh and/or ./backends/platform/atari/build-release030.sh. If you want to enable asserts for development, change --enable-release to --enable-optimizations.
Compiling
Scripts above will also compile and pack everything for you. However during development it's more convenient to just use make atarifulldist and run ./scummvm-<version>-atari-full/scummvm.prg.
Installing
Unpack the created archive into any directory.