Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2009-11

Exception: ppcrossarm + arm-linux-uclibc + qt-embedded-linux-opensource-4.5.2 + qt4pas-V1.72_Qt4.5.2

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Nataraj S Narayan

Hi

I am on ppcrossarm for arm-linux-uclibcgnueabi-

I get this :-

# ./shapedclock -qws
An unhandled exception occurred at $0105B180 :
EAccessViolation : Access violation
$0105B180 of ../objpas/rtlconsts.pp
$00009174 TCLOCK__CREATE, line 73 of shapedclock.pas $0000A054 TAPPLICATION__CREATE, line 319 of shapedclock.pas $0000A1B8 main, line 340 of shapedclock.pas

in the following example code:-

constructor TApplication.Create;
begin
inherited;
QApplication_Create(@argc,argv);
Clock:=TClock.Create;
QWidget_Show(Clock.Handle);
QApplication_Exec();
end;

Using:-
/home/nataraj/fpc-armel/lib/fpc/2.5.1/ppcrossarm -MObjFPC -TLinux -Parmv5 -gl -Xd -Xs -l -darm -XParm-linux-uclibcgnueabi- -CfSOFT -CaEABI -darm -gl -O- -CpARMV5 -uUSE_LOCALIZE
-Fu/home/nataraj/fpc-armel/lib/fpc/2.5.1/units/arm-linux/* -FL/home/sidhhik/buildroot/output/target/lib/ld-uClibc.so.0 -XR/home/sidhhik/buildroot/output/target
-Fl/home/sidhhik/buildroot/output/target/usr/lib -k" --sysroot=/home/sidhhik/buildroot/output/target" shapedclock.pas

As mentioned by Jonas before, added {$linklib gcc_s} and compiled.

regards

Nataraj

Reply by email