mirror of https://github.com/ClassiCube/ClassiCube
Merge pull request #1449 from picatsv/master
Add build instructions for WinCE target
This commit is contained in:
commit
d07f84330f
2
Makefile
2
Makefile
|
|
@ -176,7 +176,7 @@ endif
|
|||
ifeq ($(PLAT),wince)
|
||||
CC = arm-mingw32ce-gcc
|
||||
OEXT = .exe
|
||||
CFLAGS += -march=armv5tej -mcpu=arm926ej-s -DUNICODE -D_WIN32_WCE
|
||||
CFLAGS += -march=armv5te -DUNICODE -D_WIN32_WCE -std=gnu99
|
||||
LDFLAGS = -g
|
||||
LIBS = -lcoredll -lws2
|
||||
BUILD_DIR = build/wince
|
||||
|
|
|
|||
10
readme.md
10
readme.md
|
|
@ -401,6 +401,15 @@ The PowerPC build will usually perform much better
|
|||
|
||||
[Guide for Carbide.c++](misc/symbian/readme.md)
|
||||
|
||||
#### Windows CE / PocketPC
|
||||
|
||||
1. Install libmpfr-dev:i386 (or non-Debian equivalent)
|
||||
2. Unpack [the Windows CE GCC Toolchain](https://cegcc.sourceforge.net/) and update your $PATH to include it
|
||||
3. Add the following symbolic links in ```/usr/lib/i386-linux-gnu/``` to account for old toolchain versions:
|
||||
* ```libmpfr.so.1``` -> ```libmpfr.so```
|
||||
* ```libgmp.so.3``` -> ```libgmp.so```
|
||||
4. Run ```make wince```
|
||||
|
||||
#### Other systems
|
||||
|
||||
You'll have to write the necessary code. You should read `portability.md` in doc folder.
|
||||
|
|
@ -478,3 +487,4 @@ Further information (e.g. style) for ClassiCube's source code can be found in th
|
|||
ClassiCube uses sounds from [Freesound.org](https://freesound.org)<br>
|
||||
Full credits are listed in [doc/sound-credits.md](doc/sound-credits.md)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -670,7 +670,7 @@ typedef cc_uint8 cc_bool;
|
|||
#define DEFAULT_NET_BACKEND CC_NET_BACKEND_BUILTIN
|
||||
#define DEFAULT_AUD_BACKEND CC_AUD_BACKEND_NULL
|
||||
#define DEFAULT_GFX_BACKEND CC_GFX_BACKEND_SOFTFP
|
||||
#define DEFAULT_SSL_BACKEND CC_SSL_BACKEND_BEARSS
|
||||
#define DEFAULT_SSL_BACKEND CC_SSL_BACKEND_BEARSSL
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ static CRITICAL_SECTION dir_lock;
|
|||
*#########################################################################################################################*/
|
||||
#include "main_impl.h"
|
||||
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) {
|
||||
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nCmdShow) {
|
||||
cc_result res;
|
||||
SetupProgram(0, NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue