Recent

Author Topic: ARM-WinCE for FPC 2.7.1  (Read 3753 times)

bambamns

  • Full Member
  • ***
  • Posts: 226
ARM-WinCE for FPC 2.7.1
« on: May 11, 2014, 09:23:45 pm »
Hi,

On SVN trunk is FPC 2.7.1 , but I can't find ARM-WinCE units.

Latest 2.7.1 ARM-WinCE is on snapshot and it is from 13.09.2013 and in combination with SVN FPC 2.7.1 it doesn't work.

Where I can find SVN ARM-WinCE units for SVN FPC 2.7.1 ?

Thx
« Last Edit: May 11, 2014, 09:27:03 pm by bambamns »
Lazarus 3.6 on Windows 11

Laksen

  • Hero Member
  • *****
  • Posts: 802
    • J-Software
Re: ARM-WinCE for FPC 2.7.1
« Reply #1 on: May 11, 2014, 09:49:12 pm »
You can just build it yourself from source. It's very easy.

Get 2.6.2 installed somewhere, then run:

make clean all install OS_TARGET=wince CPU_TARGET=arm CROSSINSTALL=1 FPC=c:\path\to\fpc-2.6.2\fpc.exe PREFIX=C:\path\where\to\install

bambamns

  • Full Member
  • ***
  • Posts: 226
Re: ARM-WinCE for FPC 2.7.1
« Reply #2 on: May 11, 2014, 10:26:31 pm »
I tried but I get message :
Quote
Can'y find unit system used by fcllaz

If it helps - I use Lazarus SVN and FPC SVN and it works when I compile it for win32.
Lazarus 3.6 on Windows 11

Laksen

  • Hero Member
  • *****
  • Posts: 802
    • J-Software
Re: ARM-WinCE for FPC 2.7.1
« Reply #3 on: May 11, 2014, 11:50:42 pm »
What have you done when you get that error? Changed processor, operating system and widgetset property in the project settings?

bambamns

  • Full Member
  • ***
  • Posts: 226
Re: ARM-WinCE for FPC 2.7.1
« Reply #4 on: May 11, 2014, 11:54:32 pm »
I have just run example you wrote :
Quote
make clean all install OS_TARGET=wince CPU_TARGET=arm CROSSINSTALL=1 FPC=c:\path\to\fpc-2.6.2\fpc.exe PREFIX=C:\path\where\to\install

Of course I changed the paths to real one.
Lazarus 3.6 on Windows 11

Laksen

  • Hero Member
  • *****
  • Posts: 802
    • J-Software
Re: ARM-WinCE for FPC 2.7.1
« Reply #5 on: May 12, 2014, 07:29:13 am »
You should run that in the fpc source root dir. That builds the fpc crosscompiler for wince.

After that you should be able to build your project pretty much straight away after changing the three parameters I mentioned

bambamns

  • Full Member
  • ***
  • Posts: 226
Re: ARM-WinCE for FPC 2.7.1
« Reply #6 on: May 12, 2014, 12:12:36 pm »
Still no luck.

To give more information about this :
  • I'm using Lazarus 1.3 from SVN trunk
  • I have WinCE project (made 4 years ago - tested and working perfectly)
  • When I install FPC 2.6.2 and 2.6.2 ARM-WINCE , I can compile WinCE project
  • When I install FPC 2.6.4 and 2.6.4 ARM-WINCE , I can compile WinCE project
  • When I copy FPC 2.7.1 from SVN trunk, I can't compile WInCE project (I can compile win32 projects)
« Last Edit: May 12, 2014, 12:14:17 pm by bambamns »
Lazarus 3.6 on Windows 11

 

TinyPortal © 2005-2018