#1 2018-06-22 04:27:53

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Status of Wince support of the Cross-platform clients?

As far as I know, the cross-platform clients does not support **lazarus for wince**,  is it right?

Last edited by edwinsn (2018-06-22 08:37:14)


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#2 2018-06-22 08:43:04

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: Status of Wince support of the Cross-platform clients?

I just checked.
Sample 27 : lclclient compiles for arm-wince and produces an exe file !

Due to wince problem, I used a custom setup for WinCE: FPC 3.0.4 and Lazarus 1.6.4, setup with fpcupdeluxe

Offline

#3 2018-06-22 13:05:09

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Status of Wince support of the Cross-platform clients?

@AOG, great to hear that!

What's the wince problem, if I may ask? And does it mean that in order to compile sample 27 (lclclient), we cannot use the latest fpc/lazarus?


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#4 2018-06-22 13:16:09

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Status of Wince support of the Cross-platform clients?

@AOG, I guess I found the wince problem you mentioned above: https://bugs.freepascal.org/view.php?id=33891


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#5 2018-06-22 14:24:40

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: Status of Wince support of the Cross-platform clients?

Yep.
I guess there is little change that this patch will make it into Lazarus.
And, due to the reaction, I am not going after it.

However.
https://github.com/newpascal/fpcupdelux … ag/v1.6.1c
This release will patch Lazarus to enable building for wince.
(I do not know if you are on windows, but I can prepare other releases as well ... let me know if you are interested)

Offline

#6 2018-06-22 15:22:00

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Status of Wince support of the Cross-platform clients?

@AOG, Thanks! I'm using Windows.
Re. Win CE, it's still in the very earlier stage, but it's good to know the status, I appreciate it!


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#7 2018-06-23 09:03:45

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Status of Wince support of the Cross-platform clients?

OK, tried to build a newly created LCL blank project for arm/wince, using fpc/lazarus trunk, failed with this error:

"wincewsimglist.pp(94,17) Error: Identifier not found "TWinCEWSCustomImageList"

Will try to install (FPC 3.0.4 and Lazarus 1.6.4) later.

Last edited by edwinsn (2018-06-23 09:05:50)


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#8 2018-06-23 11:11:33

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: Status of Wince support of the Cross-platform clients?

Strange.
I just did a clean install with fpcupdeluxe 1.6.1c of trunk/trunk.
Installed an arm-wince cross-compiler.
Choose target arm and wince. Selected wince widgetset.
Compile. All works out-of-the-box !

Offline

#9 2018-06-23 13:30:13

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Status of Wince support of the Cross-platform clients?

@AOG,

I only have the arm-wince cross-compiler installed with 1.6.1.c, all the others were installed by 1.6.1b.

I will try again to update all the other modules with 1.6.1c now.


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#10 2018-06-23 13:36:24

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: Status of Wince support of the Cross-platform clients?

You have to use 1.6.1c to install/update Lazarus !!
Only 1.6.1c will patch Lazarus to be suitable for wince.

Offline

#11 2018-06-23 14:18:45

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Status of Wince support of the Cross-platform clients?

update:
Yes, updated fpc/lazarus with 1.6.1c, successfully compiled a blank lcl project, selected arm/wince, without changing the 'widgetset', and the compiled program successfully run under wince 6.0.

I also have successfully compiled the mORMot sample 27 (lclclient) for wince, however, when running under wince 6.0, it starts, the form lasts for about 1 second, and then exit. This is the first time compile this sample for any platform and I haven't dig any further yet.


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#12 2018-06-23 14:22:07

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Status of Wince support of the Cross-platform clients?

@AOG,

By "Only 1.6.1c will patch Lazarus to be suitable for wince.", do you mean all newer versions since 1.6.1c will patch Lazarus for wince, or only this single version will do that? Thanks.


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#13 2018-06-23 14:38:48

AOG
Member
Registered: 2014-02-24
Posts: 490

Re: Status of Wince support of the Cross-platform clients?

There is no newer version yet. So this version is still the only version that will patch Lazarus !

Offline

#14 2018-06-24 13:28:45

edwinsn
Member
Registered: 2010-07-02
Posts: 1,215

Re: Status of Wince support of the Cross-platform clients?

Aha! You are right. And what about future versions? Do you plan to keep the patch for future versions?

PS: The customization ability of fpcupdeluxe is amazing, I didn't know it can patch the installation smile


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

Board footer

Powered by FluxBB