Compiling ScummVM/Atari

From ScummVM :: Wiki

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:

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.