Re: [fpc-pascal] FPC on ARM (eg Zaurus)
On 5 nov 2004, at 07:20, Den Jean wrote: --- - arm-linux-ld: warning: cannot find entry symbol _start; defaulting to 84c8 /usr/lib/fpc/1.9.3/cross/arm-linux/units/rtl/system.o: In function `SYSTEM_SYSTEM_EXIT': /usr/lib/fpc/1.9.3/cross/arm-linux/units/rtl/system.o(.text+0x147a8): undefined reference to `_haltproc' --- -- So I add /usr/lib/fpc/1.9.3/cross/arm-linux/units/rtl/prt0.o to link.res (thank you Jose Pascual for this idea) Again this compiles but the resulting executable give the same ... "No such file or directory"...error as above. I don't know whether this will fix the "no such file or directory" problem, but when linking to libc, you have to use cprt0.o instead of prt0.o Also, what does "file " tell you? And "ldd "? Jonas ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC on ARM (eg Zaurus)
Den Jean wrote: Anyone any ideas left ??? I built a new cross snapshot with all those issues fixed: ftp://ftp.freepascal.org/pub/fpc/snapshot/v19/linux-arm/fpc-cross-arm-linux.tar.gz ppcarm tmt1 -XParm-linux- -Xd -Fl/usr/arm-linux/lib created for me a working cross compiled test using dl (my emdebian libs are in /usr/arm-linux/): hermes:~# ldd tmt1 libdl.so.2 => /lib/libdl.so.2 (0x4001f000) libc.so.6 => /lib/libc.so.6 (0x40029000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000) ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] FPC on ARM (eg Zaurus)
On Friday 05 November 2004 08:57 am, Florian Klaempfl wrote: > I built a new cross snapshot with all those issues fixed: Big Big Big Thanks. I can already cross-compile my demo program of http://users.pandora.be/Jan.Van.hijfte/qtforfpc/qtedemo.html I updated it (wrong libraryname and some other stuff) and added some screenshots. Now I am struggling with stuff like - No Qt/Embedded server appears to be running If you want to run this program as a server add the -qws command-line option - Though it should be (I think, not sure) when I am on the Zaurus ?! And when I add -qws as suggested, I get - cannot find font definition file /usr/local/qte-embedded/lib/fonts/fontdir is QTDIR set correctly - echo $QTDIR reveals /home/QtPalmtop and there is a /home/QtPalmtop/lib/fontdir as it should be. So I do not know I'll search further *** Thanks again for the great work on the arm compiler. *** I will report asap when I get something of Qt/E running on the Zaurus with FPC. (I already tried the C++ example and that works) kind regards, Den Jean ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal