Difference between revisions of "Compiling ScummVM/Windows CE"
Jump to navigation
Jump to search
(WIP save) |
(updated instructions for the new cegcc compiler in the trunk) |
||
Line 88: | Line 88: | ||
you can find it right [http://users.uoa.gr/~knakos/scummvm/libraries/wince-gcc-libs.tar.bz2 here]. | you can find it right [http://users.uoa.gr/~knakos/scummvm/libraries/wince-gcc-libs.tar.bz2 here]. | ||
Please note that many of those libraries have been officially ported to | Please note that many of those libraries have been officially ported to WinCE | ||
after the work done by Arisme or, newer versions are available for them. | after the work done by Arisme or, newer versions are available for them. | ||
We generally cannot comment on how well they will work with ScummVM. | We generally cannot comment on how well they will work with ScummVM. | ||
Line 145: | Line 145: | ||
== Compiling using the GCC toolchain == | == Compiling using the GCC toolchain == | ||
First, you need to download and install the [http://cegcc.sf.net/ cegcc] cross compiler. More specifically, you need the mingw32 variety (without the posix layer emulation that is). The package also includes a working gdb debugger for debugging the applications. | |||
[http:// | |||
( | |||
=== ScummVM === | === ScummVM === | ||
Here is the procedure for building ScummVM: | |||
* Build libraries from source | * Build libraries from source | ||
Line 256: | Line 186: | ||
|} | |} | ||
''Try <tt>make libz.a</tt> for libz. Also DrMcCoy reported that he had to include "<tt>typedef long _off_t; typedef _off_t off_t;</tt>" into <tt>unistd.h</tt>'' | ''Try <tt>make libz.a</tt> for libz. Also DrMcCoy reported that he had to include "<tt>typedef long _off_t; typedef _off_t off_t;</tt>" into <tt>unistd.h</tt>'' | ||
''WARNING: These instructions have been written with the VLC GCC compiler in mind. Exact command lines may differ slightly from these shown aboe'' | |||
Line 273: | Line 204: | ||
* Build | * Build | ||
cd into <tt>backends/platform/wince/</tt>, edit the Makefile | cd into <tt>backends/platform/wince/</tt>, edit the Makefile to your needs (usually you don't have to do this). Finally type <tt>make dist</tt> if you have edited the Makefile for a non-plugin build, <tt>make dist-plugins</tt> for the plugin case, or more simply <tt>make all</tt> which invokes the required build automatically. |