Yury Sidorov wrote:

Hi,

I reached significant waypoint in WinCE port.
I have Hello world application running on WinCE. :)

GJ :)
Hope, you'll contribute the patches soon ;)


Here are some notes:

Official binutils seems to be buggy for WinCE target. I used binutils from Pocket GCC port and they work fine.

procedure fpc_cpuinit for ARM performs illegal instruction (rfs r0) on WinCE.
A question why this init is needed and is it needed at WinCE?

    rfs r0
    and r0,r0,#0xffe0ffff
    orr r0,r0,#0x00020000
    wfs r0

It turns floating point exceptions on.


Currently I excluded this code for WinCE using ifdefs.

It doesn't hurt much but you won't get floating point exceptions then.


Yury Sidorov.


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to