Difference between revisions of "Compiling ScummVM/Dreamcast"

From ScummVM :: Wiki
Jump to navigation Jump to search
(Updated build requirements.)
(Fixed Broken Links.)
Line 2: Line 2:
  
 
== Tools/libraries needed ==
 
== Tools/libraries needed ==
===Mandatory (these should also install dependencies)===
+
===Mandatory===
* gcc-3.4.2 configured as a cross-compiler for `sh-elf'
+
* [http://gcc.gnu.org/ gcc] configured as a cross-compiler for 'sh-elf' - v3.4.2 recommended.
* binutils-2.18 configured likewise
+
* [https://www.gnu.org/software/binutils/ binutils] configured as a cross-assembler for 'sh-elf' - v2.18 recommended.
* [http://mc.pp.se/dc/files/newlib-1.12.0.tar.gz newlib for sh-elf]
+
* [http://www.sourceware.org/newlib/ newlib] compiled for 'sh-elf' - [http://mc.pp.se/dc/files/newlib-1.12.0.tar.gz Precompiled binaries of v1.12.0]
* [http://peter.bortas.org/scumm/libronin-0.5.tar.gz libronin-0.5]
+
* [http://www.sega-dc.de/dateien/programmierung/libronin-0.5-src.tar.gz libronin-0.5] - [http://www.sega-dc.de/dateien/programmierung/libronin-0.5.tar.gz Precompiled binaries of v0.5]
 +
** Original author's website now dead: http://peter.bortas.org/scumm/libronin-0.5.tar.gz
  
 
===Optional===
 
===Optional===
Line 24: Line 25:
  
 
== Further reading ==
 
== Further reading ==
* [http://svn.sourceforge.net/viewcvs.py/*checkout*/scummvm/scummvm/trunk/README ScummVM README, Section 9.0]
+
* [[Dreamcast]] - wiki page for this port
 +
* [https://raw.github.com/scummvm/scummvm/master/README ScummVM README, Section 9.0]

Revision as of 16:57, 12 June 2012

Compiling ScummVM for Dreamcast under Linux

Tools/libraries needed

Mandatory

Optional

  • libmad (MPEG Audio Decoder, needed if you want to play MP3-compressed games)

Building the libraries

todo

Configuring ScummVM

Edit the makefile in backends/dc to point to your libronin path, as well as your path to the sh-elf cross-compiler.

Compiling ScummVM

run make dist

For serial/IP upload, remove the "BUILD_PLUGINS" line from the makefile and just run `make', to get a static binary with the name `scummvm.elf'.

Further reading