213
edits
Ccawley2011 (talk | contribs) m |
Ccawley2011 (talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
!Name | !Name | ||
!Target platform | !Target platform | ||
!class=unsortable|Required | !class=unsortable|Required configure flags | ||
!class=unsortable|Packaging command | !class=unsortable|Packaging command | ||
!class=unsortable|Notes | !class=unsortable|Notes | ||
Line 99: | Line 99: | ||
| toolchains/mxe | | toolchains/mxe | ||
| [[Windows]] for x86 and x86_64 | | [[Windows]] for x86 and x86_64 | ||
| | | <code>--host=i686-w64-mingw32.static --enable-updates</code> | ||
<code>--host=x86_64-w64-mingw32.static --enable-updates</code> | |||
| <code>make win32dist-mingw DESTDIR=win32dist-mingw</code> | | <code>make win32dist-mingw DESTDIR=win32dist-mingw</code> | ||
| | | | ||
Line 107: | Line 109: | ||
| <code>--host=n64 --enable-vkeybd</code> | | <code>--host=n64 --enable-vkeybd</code> | ||
| <code>make n64-dist</code> | | <code>make n64-dist</code> | ||
| Requires building with a reduced number of engines. | | Requires building with a reduced number of engines. | ||
|- | |- | ||
Line 119: | Line 115: | ||
| <code>--host=dingux --enable-plugins --default-dynamic --enable-vkeybd --disable-theoradec</code> | | <code>--host=dingux --enable-plugins --default-dynamic --enable-vkeybd --disable-theoradec</code> | ||
| <code>make dingux-dist</code> | | <code>make dingux-dist</code> | ||
| | |||
|- | |||
| toolchains/opendingux-beta | |||
| [[OpenDingux Beta]] | |||
| <code>--host=opendingux-gcw0</code> | |||
<code>--host=opendingux-lepus</code> | |||
<code>--host=opendingux-rg99</code> | |||
| <code>make od-make-opk</code> | |||
| | | | ||
|- | |- | ||
Line 137: | Line 143: | ||
| <code>--host=psp --disable-debug --enable-plugins --default-dynamic</code> | | <code>--host=psp --disable-debug --enable-plugins --default-dynamic</code> | ||
| | | | ||
| | | | ||
|- | |- | ||
| toolchains/raspberrypi | | toolchains/raspberrypi | ||
Line 147: | Line 153: | ||
| toolchains/riscos | | toolchains/riscos | ||
| [[RISC OS]] | | [[RISC OS]] | ||
| <code>--host=arm-unknown-riscos</code> | | <code>--host=arm-unknown-riscos --enable-plugins --default-dynamic</code> | ||
<code>--host=arm-vfp-riscos</code> | <code>--host=arm-vfp-riscos --enable-plugins --default-dynamic</code> | ||
| <code>make riscosdist</code> | | <code>make riscosdist</code> | ||
| | | | ||
|- | |- | ||
| toolchains/vita | | toolchains/vita | ||
Line 172: | Line 178: | ||
The following should install all the necessary packages: | The following should install all the necessary packages: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
apt-get install docker.io git | apt-get install docker.io git | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 180: | Line 186: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
git clone https://github.com/scummvm/scummvm.git | git clone https://github.com/scummvm/scummvm.git | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=== | === Using the docker images === | ||
To fetch a toolchain image from the Docker Hub, issue the following command | To fetch a toolchain image from the Docker Hub, issue the following command from the ScummVM source directory: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
./devtools/docker.sh <toolchain> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
where <toolchain> is the name of the toolchain you want to use. | where <toolchain> is the name of the toolchain you want to use. This will fetch the requested toolchain from the Docker Hub if it isn't installed, mount the scummvm folder in the Docker image and launch a shell that can be used to build ScummVM for the relevant platform. Alternatively, you can use the following command to fetch updates for an already installed toolchain before launching the shell: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
./devtools/docker.sh --update <toolchain> | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Once in the Docker image, the following commands should be issued in order to build ScummVM: | Once in the Docker image, the following commands should be issued in order to build ScummVM: | ||
Line 211: | Line 207: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
where <configure-flags> is the list of required | where <configure-flags> is the list of required configure flags specified in the table at the top of the page. This should be followed by the packaging command if one is specified. | ||
Once done, the <code>exit</code> command can be used to leave the Docker image. | Once done, the <code>exit</code> command can be used to leave the Docker image. |
edits