Difference between revisions of "Compiling ScummVM/Atari/FreeMiNT"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Added new Source for GCC 3.3.6)
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
SDL (the latest version is 1.2.12) can be found [http://pmandin.atari.org here].  You will also need [http://ldg.sourceforge.net/ ldg] and [http://arnaud.bercegeay.free.fr/gemlib/ gemlib]. SDL can also be built from the official sources available at the [http://libsdl.org SDL] website.
SDL (the latest version is 1.2.12) can be found [http://pmandin.atari.org here].  You will also need [http://ldg.sourceforge.net/ ldg] and [http://arnaud.bercegeay.free.fr/gemlib/ gemlib]. SDL can also be built from the official sources available at the [http://libsdl.org SDL] website.


For GCC, there is currently only one choice. [http://vincent.riviere.free.fr/soft/m68k-atari-mint/ GCC 4.2.2] which is currently only a cross compiler but work is also being done to make it native. A few guides to building cross compiler tool chains are also scattered around the Internet. ScummVM is currently being built with GCC 4.1.2, and [http://vincent.riviere.free.fr/soft/m68k-atari-mint/archives/unsupported/binutils-2.18-mint-20070922-bin-mint-20070923.tar.bz2 Binutils 2.18].
For GCC, there is Version 4.2.2 and 3.3.6. [http://vincent.riviere.free.fr/soft/m68k-atari-mint/ GCC 4.2.2] which is currently only a cross compiler but work is also being done to make it native. A few guides to building cross compiler tool chains are also scattered around the Internet. ScummVM is currently being built with GCC 4.1.2, and [https://ftp.gnu.org/gnu/binutils/binutils-2.18.tar.bz2 Binutils 2.18].
GCC 3.3.6 [https://ftp.gnu.org/gnu/gcc/gcc-3.3.6/gcc-3.3.6.tar.gz GCC 3.3.6]


== Building ==
== Building ==

Latest revision as of 16:06, 27 March 2023

Compiling ScummVM for Atari/FreeMiNT

Requirements

To build ScummVM for Atari/FreeMiNT you need:

  • A working FreeMiNT Development Environment
  • zLib
  • SDL and the libraries it requires
  • A version of GCC >= 3.x

For building natively, a Falcon with a CT60 or a clone with a 68060 is strongly recommended. A FreeMiNT AranyM environment should also work as well.

Required FreeMiNT libraries can be found here as well as zLib and Ogg/Vorbis. The GCC found there (2.95.3) is now too old to be used to compile ScummVM (as of 12/31/2007).

If you currently do not have a FreeMiNT environment, this is a place to start. It includes an easy to setup package, called EasyMiNT, to get FreeMiNT going on the Atari machines.

SDL (the latest version is 1.2.12) can be found here. You will also need ldg and gemlib. SDL can also be built from the official sources available at the SDL website.

For GCC, there is Version 4.2.2 and 3.3.6. GCC 4.2.2 which is currently only a cross compiler but work is also being done to make it native. A few guides to building cross compiler tool chains are also scattered around the Internet. ScummVM is currently being built with GCC 4.1.2, and Binutils 2.18. GCC 3.3.6 GCC 3.3.6

Building

To build ScummVM natively, all you need to do is extract the source code from the latest stable release (*.tar.gz) (or retrieve the latest development code from the source code repository) and run:

./configure --disable-mt32emu

This will build a binary about 36 MB suitable for debugging. Stripping the binary will bring it down to around 6-8 MB. The MT-32 emulator is disabled because MiNT currently lacks some of the math functions necessary for running it. It is also recommended to disable scalers (--disable-hq-scalers --disable-scalers) because these files might cause a problem when building because they may exhaust the available system memory when compiled natively.

To build ScummVM using a cross compiler:

./configure --host=m68k-atari-mint --disable-mt32emu