[Lazarus] Windows CE

patspiper patspiper at gmail.com
Sat May 23 22:34:35 CEST 2015


On 23/05/15 23:22, Sven Barth wrote:
> On 23.05.2015 21:29, patspiper wrote:
>> On 23/05/15 21:57, Mark Morgan Lloyd wrote:
>>> patspiper wrote:
>>>> On 23/05/15 16:20, Mark Morgan Lloyd wrote:
>>>>> patspiper wrote:
>>>>>> On 22/05/15 09:59, Koenraad Lelong wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> I could be able to purchase a number of second hand intelligent
>>>>>>> barcode scanners. I have project in mind where I could use such
>>>>>>> devices.
>>>>>>> The scanners run Windows CE 5. Is it possible and advisable to
>>>>>>> develop for these devices using Lazarus ?
>>>>>>> I know Lazarus has support for Windows CE, but at the moment I
>>>>>>> don't find which versions are supported.
>>>>>>
>>>>>> Lazarus (LCL) supports WinCE. I use it for Windows Mobile 6.5.
>>>>>
>>>>> To what extent does the choice of CPU matter?
>>>>>
>>>> In what sense?
>>>
>>> Sven mentions x86. I see Loongson (MIPS-compatible) runs it. There was
>>> ARM, obviously, and I think there was some other obscure architecture.
>>> In the case of ARM, and I'm particularly thinking about Linux on the
>>> Raspberry Pi here, there's different subarchitectures.
>> Arm has different sub architectures indeed. Lazarus has a selection
>> dropdown list that lists a few of them. But IIRC, WinCE is limited to
>> ARMv4 or below.
>
> Wrong. Windows CE also runs on more modern ARM processors. It's the 
> core of Windows Phone 7 after all.
I recall reading somewhere on the Lazarus/FPC lists or forum that the 
arm subarchitecture should be set to v4 for WinCE. Could it be a 
limitation for the emulator?
>
>>>
>>> So I think there's a real possibility that there's CE-compatible
>>> boards which could give FPC problems. I'd be happy to be told that's
>>> wrong.
>> In general:
>> - FPC should be able to compile for the target CPU.
>> - WinCE should run on the target.
>> - Now you can worry if Lazarus WinCE programs could give problems on
>> that target.
>
> The order should be:
> - WinCE should run on the target
> - FPC should be able to compile for WinCE on that target
> - worry about LCL
My emphasis was on the 3rd point, but you are right in switching the 
first two.

Regards,
Stephano




More information about the Lazarus mailing list