yury 8be8e77e3a Merged revisions 9022-9023,9026 via svnmerge from il y a 18 ans
..
wininc 8be8e77e3a Merged revisions 9022-9023,9026 via svnmerge from il y a 18 ans
Makefile edfb121c83 * regenerated with darwin/ppc64 support il y a 18 ans
Makefile.fpc ea3b80be4c Merged revisions 6777,6784,6796-6797,6800,6806,6808-6809,6815,6824,6842-6843,6864-6866,6868-6869,6872,6882-6883,6889,6891,6893-6894,6896,6898,6901-6903,6908,6916,6921-6922,6924-6925,6927-6928,6930,6943-6946,6952,6954,6956,6974,6976,6996-6997,7002,7007,7016,7020-7021,7033,7037,7040,7042,7045,7068-7069,7075-7079,7087,7094,7098-7099,7101,7103,7109,7115-7119,7128,7136-7137,7139,7150,7160-7162,7175,7179,7190-7195,7198,7202,7205-7206,7208-7217,7220-7222,7225-7228,7230,7233,7239-7241,7244,7246,7263,7275,7277,7279-7281,7285,7288-7289,7291-7293,7296,7300,7303,7310,7318,7340-7341,7343,7345,7372-7373,7375-7376,7379,7381,7383-7388,7391-7393,7400,7404-7406,7411,7422,7425,7432-7433,7436,7441-7442,7444-7445,7450,7456,7463,7467,7475,7479,7486,7504,7506-7509,7522,7527,7534-7536,7558-7559,7563-7565,7567,7570-7571,7573-7576,7586,7589,7592-7594,7607,7612,7615,7619-7620,7622-7623,7626-7628,7631,7633,7646,7652,7663,7665,7673,7677,7681-7683,7685-7686,7689,7697,7704-7712,7725,7736,7738,7740,7744-7746,7751,7753,7764,7767,7769-7770,7776-7777,7788,7800-7801,7808,7813,7822,7830,7836-7839,7844,7846,7849,7853-7857,7861-7862,7864-7865,7867,7869,7872,7877,7882,7904,7927-7929,7953,7961,7965,7967,7971,7986-7987,7990-7994,7998-8000,8004-8006,8008-8012,8016,8027,8034,8036-8037,8039,8044,8046,8048-8049,8051,8060,8071,8075-8076,8082-8083,8087-8089,8095-8096,8099-8100,8102,8136,8150,8187,8190,8203,8206-8208,8212-8213,8215,8218,8225,8227,8230,8233-8239,8251,8262,8276-8277,8289,8302,8307,8309,8316,8318-8319,8326,8329,8334,8336,8338-8340,8342,8372 via svnmerge from il y a 18 ans
classes.pp aec09856da Merged revisions 8468 via svnmerge from il y a 18 ans
dos.pp aec09856da Merged revisions 8468 via svnmerge from il y a 18 ans
dynlibs.inc aec09856da Merged revisions 8468 via svnmerge from il y a 18 ans
gx.pp ea3b80be4c Merged revisions 6777,6784,6796-6797,6800,6806,6808-6809,6815,6824,6842-6843,6864-6866,6868-6869,6872,6882-6883,6889,6891,6893-6894,6896,6898,6901-6903,6908,6916,6921-6922,6924-6925,6927-6928,6930,6943-6946,6952,6954,6956,6974,6976,6996-6997,7002,7007,7016,7020-7021,7033,7037,7040,7042,7045,7068-7069,7075-7079,7087,7094,7098-7099,7101,7103,7109,7115-7119,7128,7136-7137,7139,7150,7160-7162,7175,7179,7190-7195,7198,7202,7205-7206,7208-7217,7220-7222,7225-7228,7230,7233,7239-7241,7244,7246,7263,7275,7277,7279-7281,7285,7288-7289,7291-7293,7296,7300,7303,7310,7318,7340-7341,7343,7345,7372-7373,7375-7376,7379,7381,7383-7388,7391-7393,7400,7404-7406,7411,7422,7425,7432-7433,7436,7441-7442,7444-7445,7450,7456,7463,7467,7475,7479,7486,7504,7506-7509,7522,7527,7534-7536,7558-7559,7563-7565,7567,7570-7571,7573-7576,7586,7589,7592-7594,7607,7612,7615,7619-7620,7622-7623,7626-7628,7631,7633,7646,7652,7663,7665,7673,7677,7681-7683,7685-7686,7689,7697,7704-7712,7725,7736,7738,7740,7744-7746,7751,7753,7764,7767,7769-7770,7776-7777,7788,7800-7801,7808,7813,7822,7830,7836-7839,7844,7846,7849,7853-7857,7861-7862,7864-7865,7867,7869,7872,7877,7882,7904,7927-7929,7953,7961,7965,7967,7971,7986-7987,7990-7994,7998-8000,8004-8006,8008-8012,8016,8027,8034,8036-8037,8039,8044,8046,8048-8049,8051,8060,8071,8075-8076,8082-8083,8087-8089,8095-8096,8099-8100,8102,8136,8150,8187,8190,8203,8206-8208,8212-8213,8215,8218,8225,8227,8230,8233-8239,8251,8262,8276-8277,8289,8302,8307,8309,8316,8318-8319,8326,8329,8334,8336,8338-8340,8342,8372 via svnmerge from il y a 18 ans
messages.pp aec09856da Merged revisions 8468 via svnmerge from il y a 18 ans
readme.txt aec09856da Merged revisions 8468 via svnmerge from il y a 18 ans
system.pp 60bc15c326 Merged revisions 8492 via svnmerge from il y a 18 ans
sysutils.pp aec09856da Merged revisions 8468 via svnmerge from il y a 18 ans
varutils.pp aec09856da Merged revisions 8468 via svnmerge from il y a 18 ans
windows.pp 8be8e77e3a Merged revisions 9022-9023,9026 via svnmerge from il y a 18 ans
winres.inc ff37ef8786 * fixed i386-wince support. WinCE API functions are cdecl. il y a 19 ans
winsock.pp 4b3a8ebff1 Merged revisions 7966 via svnmerge from il y a 18 ans
winsock2.pp 4b3a8ebff1 Merged revisions 7966 via svnmerge from il y a 18 ans

readme.txt

WinCE port
==========

WinCE port is quite complete and usable. The port was started and maintained by Yury Sidorov. Oliver (Oro06) ported WinCE API headers.

Status
------
* The 2.1.x compiler has compiler support WinCE.
* ARM and i386 (old WinCE emulator) CPUs are supported.
* The following platforms are supported:
* Pocket PC 2002 � WinCE version: 3.0
* Pocket PC 2003 � WinCE version: 4.20
* Pocket PC 2003 Second Edition � WinCE version: 4.21
* Base units are complete.
* Windows unit is almost complete. Delphi compatible declarations is not ready.

Building
--------
* You need cross binutils for arm-wince, get them fromftp://ftp.freepascal.org/pub/fpc/contrib/cross/arm-wince-binutils.zip for Win32.
* Extract them to some dir in the path on your machine.
* Get the 2.1 source repository from SVN: http://www.freepascal.org/develop.html#svn
* Go to fpc/compiler and execute:
make cycle CPU_TARGET=arm OS_TARGET=wince

You should end with the units compiled to fpc/rtl/units/arm-wince and a ppccrossarm.exe in fpc/compiler. Copy them to locations fitting your fpc installation.

WinCE port notes
----------------
* chdir procedure always produces an error (WinCE does not support setting of current directory).
* All file/dir paths must be absolute (started with \).
* WinCE is unicode OS. All string parameters to API calls must be PWideChar.
* WinCE does not have support for environment strings.
* WinCE does not have support for console applications by default. But you can install console support by yourself. Please note that FPC creates GUI applications for WinCE target by default. To create console application you should use -WC compiler switch or put {$APPTYPE CONSOLE} directive to source code.
To enable console in WinCE install one of the following programs:

- PocketCMD by SymbolicTools. It is recommended solution. Get it here: http://www.symbolictools.de/public/pocketconsole/applications/PocketCMD

- PPC Command Shell from Microsoft Windows Mobile Developer Power Toys. Get it here: http://www.microsoft.com/downloads/details.aspx?FamilyID=74473fd6-1dcc-47aa-ab28-6a2b006edfe9&displaylang=en

PPC Command Shell have less features than PocketCMD. Also it have some issues. One of them - a new console window is opened even if an application is started from a console command prompt.

Links
-----
* WinCE Port page at Free Pascal Wiki: http://www.freepascal.org/wiki/index.php/WinCE_port
* Useful WinCE info: http://www.rainer-keuchel.de/documents.html

Contacts
--------
Write any questions regarding WinCE port to Yury Sidorov [email protected]