Forum > PDAs and Smartphones

Can Lazarus build program for PocketPC?

(1/3) > >>

brianlai:
Anybody has experience to build application for PocketPC...?  If so, are you build it for WinCE 2.x, WinCE3.x, PPC 2002 or PPC2003?

Please comment...

 :?:

CCRDude:
Take a look at the compiler page:

http://www.freepascal.org/

Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal compiler. It is available for different processors: Intel x86, Amd64/x86 64, PowerPC, Sparc. The discontinued 1.0 version also supports the Motorola 680x0. The following operating systems are supported: Linux, FreeBSD, Mac OS X/Darwin, Mac OS classic, DOS, Win32, OS/2, Netware (libc and classic) and MorphOS.

I just now see that it no longer supports good old 680x0 :-/

The later text at least mentions cross-compiling for the ARM platform, which imho is what PocketPC are based on?

But even if compiling for arm would be possible, there imho are no widgets for CE.

felipemdc:
Hello,

I am am writting the Windows CE interface for Lazarus.

Currently the Free Pascal compiler works perfectly for Pocket PC and Smartphones. The compiler is a arm cross compiler, meaning that you use Free Pascal on MS Windows to write software for PocketPC. So, if you want to write a windows api based application for pocket pc, then Free Pascal is a good tool of choice.

What is needed now is a Lazarus interface for the Windows CE port, so you don´t have to write windows api based apps, but rather use LCL and the form designed. Currently TCustomForm, TCustomButton and TApplication are implemented. I am also working on TEdit. TEdit already works on my computer, soon I will send a patch for it.

You can find more information on the Wiki page about the Windows CE interface:

http://wiki.lazarus.freepascal.org/index.php/Windows_CE_Interface

felipemdc:

--- Quote from: "CCRDude" ---I just now see that it no longer supports good old 680x0 :-/
--- End quote ---


Yup, really bad hum? But that doesn´t affect Windows CE at all. Windows CE is based mostly on arm.

It would be great if someone makes the compiler work for 68k so I can write a PalmOS interface for Lazarus =)


--- Quote ---The later text at least mentions cross-compiling for the ARM platform, which imho is what PocketPC are based on?
--- End quote ---


Just because the text wasn´t updated, doesn´t mean FPC doesn´t support ARM. It probably wasn´t updated because support for arm-wince is on the unstable 2.1 branch.


--- Quote ---But even if compiling for arm would be possible, there imho are no widgets for CE.
--- End quote ---


What do you mean there are no widgets for CE? Windows CE of course supports widgets. Adding widgets to the lcl interface for wince should be easy. I can help if others are interrested on adding more widgets to the wince interface.

brianlai:
Sekel.... Thanks for your kindly update.... I will try it in PPC2002/2003!

 :D

Navigation

[0] Message Index

[#] Next page

Go to full version