mirror of https://github.com/ClassiCube/ClassiCube
Add build instructions for WinCE target
Fix typo in Core.h declarations for WinCE Drop mcpu tuning as it conflicts with march (armv5te does not target Jazelle but our code is C so it's fine i think...)
This commit is contained in:
parent
fe76435079
commit
6afdb0f176
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
|
||||
|
|
|
|||
|
|
@ -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 (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.
|
||||
|
|
|
|||
|
|
@ -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