PATH=C:\Programas\Lazarus24\fpc\2.2.0\bin\i386-win32\cd compilermkdir ..\bin\mkdir ..\bin\unitsmake cycle CPU_TARGET=arm OS_TARGET=wincecd..make packages CPU_TARGET=arm OS_TARGET=wince PP=C:\Programas\fpc_fixes_2_2\compiler\ppcrossarm.exe OPT="-FUC:\Programas\fpc_fixes_2_2\bin\units":: Installcopy compiler\*.exe bin\copy rtl\units\arm-wince\*.* bin\units\pause
Hi all,my name is Alberto, I'm a programmer from Italy.I've developed a telephone client application for WinCE using Lazarus(0.9.28.2)+FPC(2.2.4-2.4.0)+KOL/MCK(2.80.3-2.88)Everything is working good with the beautiful KOL components but... sometimes application crash with SIGILL (using gdb).No problem with WinCE emulator (Windows Mobile 6 PRO version 5.2.1235, Windows Mobile 6.1 PRO version 5.2.20757)So I create a smaller program to reproduce it (KOLtest).I'm testing it on a ASUS P552w Windows Mobile 6.1 PRO version 5.2.19965.The small KOLtest is a form with a button and an edit box.Run it thru gdb or directly, it's the same.1- Click on the KOLtest button2- click on the network icon, toggle WIFI, exit3- goto 1after toggling WIFI on/off for four-five times, the application crash with no errors, after a little O.S. hanging it just disappear, on gdb I have SIGILL or SIGSEGV at different point.I tried with FPC 2.2.4 or 2.4.0, KOL/MCK 2.80.3 or SVN trunk 2.88.Could it be a bug on FPC compiler or KOL/MCK?I don't know how to fix it...Any help would be really appreciated, I'm getting (quite) mad about it!Many thanksbyeAlberto
I don't know why but I think compiler has problem,
begin repeat Sleep(1000); utils False; // should not compileend.
procedure TForm1.Timer1Timer(Sender: TObject);begin counter := counter+1; Label1.Caption:= IntToStr(counter);end;