Difference between revisions of "Compiling ScummVM/Dreamcast"

From ScummVM :: Wiki
Jump to navigation Jump to search
m (Compiling ScummVM Dreamcast moved to Compiling ScummVM/Dreamcast: using subpage instead)
 
(3 intermediate revisions by 2 users not shown)
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.14 configured likewise (don't use 2.15, it's broken for `sh-elf')
* [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.4.tar.gz libronin-0.4]
* [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===
* [http://mc.pp.se/dc/files/libmad-0.15.1b.tar.gz libmad] (MPEG Audio Decoder, needed if you want to play MP3-compressed games)
* [http://sourceforge.net/projects/mad/files/libmad/ libmad] (MPEG Audio Decoder, needed if you want to play MP3-compressed games) - [http://mc.pp.se/dc/files/libmad-0.15.1b.tar.gz Precompiled binaries of v0.15.1b]


== Building the libraries ==
== Building the libraries ==
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://github.com/scummvm/scummvm/blob/master/README.md#100-compiling ScummVM README, Section 10.0]

Latest revision as of 03:35, 21 February 2019

Compiling ScummVM for Dreamcast under Linux

Tools/libraries needed

Mandatory

Optional

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