TrustedUser
2,147
edits
Ccawley2011 (talk | contribs) |
(→Using the docker images: remove outdated info) |
||
(3 intermediate revisions by one other user not shown) | |||
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-debug --enable-updates</code> | ||
<code>--host=x86_64-w64-mingw32.static --enable-debug --enable-updates</code> | |||
| <code>make win32dist-mingw DESTDIR=win32dist-mingw</code> | | <code>make win32dist-mingw DESTDIR=win32dist-mingw</code> | ||
| | | | ||
Line 159: | Line 161: | ||
| Requires building with a reduced number of engines. | | Requires building with a reduced number of engines. | ||
|- | |- | ||
| toolchains/ | | toolchains/windows-9x | ||
| [[Windows]] 95/98/ME | | [[Windows]] 95/98/ME | ||
| <code>--host=mingw32 --disable-windows-unicode</code> | | <code>--host=mingw32 --disable-windows-unicode</code> | ||
Line 172: | Line 174: | ||
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 182: | ||
<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. 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: |