Difference between revisions of "Compiling ScummVM/Dreamcast"
Jump to navigation
Jump to search
(Updated build requirements.) |
|||
(2 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
== Tools/libraries needed == | == Tools/libraries needed == | ||
===Mandatory | ===Mandatory=== | ||
* gcc | * [http://gcc.gnu.org/ gcc] configured as a cross-compiler for 'sh-elf' - v3.4.2 recommended. | ||
* binutils- | * [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 | * [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:// | * [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:// | * [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 == | ||
* [ | * [[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
- gcc configured as a cross-compiler for 'sh-elf' - v3.4.2 recommended.
- binutils configured as a cross-assembler for 'sh-elf' - v2.18 recommended.
- newlib compiled for 'sh-elf' - Precompiled binaries of v1.12.0
- libronin-0.5 - Precompiled binaries of v0.5
- Original author's website now dead: http://peter.bortas.org/scumm/libronin-0.5.tar.gz
Optional
- libmad (MPEG Audio Decoder, needed if you want to play MP3-compressed games) - Precompiled binaries of v0.15.1b
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
- Dreamcast - wiki page for this port
- ScummVM README, Section 10.0