Recent

Author Topic: Windows CE on Linux  (Read 10807 times)

Natxo

  • New Member
  • *
  • Posts: 13
Windows CE on Linux
« on: December 26, 2011, 05:18:35 pm »
Hello

I'm new in Lazarus. I have installed Lazarus (0.9.30) in Linux. I need to do a Windows CE application from my Linux. What do I need?

Many thanks in advance.
Natxo

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Windows CE on Linux
« Reply #1 on: December 26, 2011, 09:47:01 pm »
My recommendation is not to do it. ActiveSync works only in Windows. The emulator also works only in Windows ... all instructions are for Windows.

Nowadays computers are fast and virtual machines well developed so you can simply install Windows in a virtual machine and then install Lazarus for Windows there + the WinCE add-on

The other traditional solution is using a dual boot. I use both kinds of solutions and both work very well.

Now, if you really don't want to install Windows for whatever reason then you can adventure yourself into the following process:
1> Find binutils linux->arm-wince
2> Build a cross-compiler linux->arm-wince
3> Build the LCL with that and your program

If you manage to do it, it would be nice if you could document the process here or in the wiki because a lot of people ask. I personally won't ever try that because it is so much easier to just start Windows from a virtual machine or just reboot into Windows.

Natxo

  • New Member
  • *
  • Posts: 13
Re: Windows CE on Linux
« Reply #2 on: December 27, 2011, 09:07:44 am »
Dear felipemc

Many thanks by your prompt reply.
Do you want to say that there are not possible to make applications for windows ce from Lazarus in Linux?
If this is the reason, I will install Lazarus and WinCE in my virtual machine.

Many thanks again.
Best Regards
Natxo

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Windows CE on Linux
« Reply #3 on: December 27, 2011, 09:51:50 am »
Do you want to say that there are not possible to make applications for windows ce from Lazarus in Linux?

It is possible. But it is not documented and is not practical.

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Windows CE on Linux
« Reply #4 on: December 27, 2011, 09:59:41 am »
You will learn most if you do it the official way, but if you get stuck and hit some walls too high for you, then don't give up and check out Lazarus CT edition. It's win32 layer is a cross build center for ARM WinCE. If I remember well then your WM device should be at least 5.1 to make it work (search forum for the correct version number because my memory is fuzzy about this).
http://www.pilotlogic.com/sitejoom/index.php/codetyphon
Btw, you must install it as admin.
« Last Edit: December 27, 2011, 10:01:47 am by avra »
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

Natxo

  • New Member
  • *
  • Posts: 13
Re: Windows CE on Linux
« Reply #5 on: December 27, 2011, 07:42:01 pm »
Dear avra

Many thanks by your help.

I will try to use this and I will inform my progress here.

Best Regards
Natxo

Natxo

  • New Member
  • *
  • Posts: 13
Re: Windows CE on Linux
« Reply #6 on: December 27, 2011, 08:24:16 pm »
Hello again

I have installed with instructions of online help, and I have this error when I open Lazarus 64:

Any idea?
Tks.
Natxo

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Re: Windows CE on Linux
« Reply #7 on: December 27, 2011, 09:46:42 pm »
I have installed with instructions of online help, and I have this error when I open Lazarus 64:

You are in the wrong forum for your question. CodeTyphon has it's own forum:

http://www.pilotlogic.com/sitejoom/index.php/forum/index

The official Lazarus setup is something different and the official Lazarus install instructions are located here:

http://wiki.lazarus.freepascal.org/Windows_CE_Interface#Using_the_stable_add-on_installer_.28Recommended_Method.29

And I think they are very short and very easy to follow for Windows CE.

Natxo

  • New Member
  • *
  • Posts: 13
Re: Windows CE on Linux
« Reply #8 on: December 28, 2011, 09:51:29 am »
Dear felipemdc

Sorry, you have reason.

Many thanks by the information.

Best Regards
Natxo

 

TinyPortal © 2005-2018