Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-28 Thread Den Jean
On Sunday 28 November 2004 02:56 pm, Den Jean wrote: > In the mean time enjoy these animated screenshots of the demo program running > on the Zaurus. >http://users.pandora.be/Jan.Van.hijfte/qtforfpc/ScreenShot03.html > I updated the animation for the non Konqueror browsers. Now those MSIE v

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-28 Thread Den Jean
On Wednesday 24 November 2004 10:47 am, Florian Klaempfl wrote: > I know, but I've to get my arm working first :( Another incentive to get your zaurus up and running again. The demo program now works on the Zaurus :-) The updated now uses LargeInt instead of TMethod. Some temporary trigonometric

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-24 Thread Florian Klaempfl
Den Jean wrote: On Tuesday 23 November 2004 11:13 am, Florian Klaempfl wrote: * dynamic arrays : TIntArray = array of integer. On Intel it works fine but on arm not. Bindhelp.pas provides TIntArray pascal helper functions to the binding that is written in C++ eg. this C-code copies in

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-23 Thread Den Jean
On Tuesday 23 November 2004 11:13 am, Florian Klaempfl wrote: > This is indeed an improper implemntation of the arm abi, I'll fix it > asap. Thanks a lot. In the mean time I changed the binding so that it uses LargeInt instead of TMethod. So the big demo program almosts works :-) -

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-23 Thread Florian Klaempfl
Den Jean wrote: On Sunday 21 November 2004 11:41 pm, Den Jean wrote: I also debugged it on the zaurus with gdb. I debugged somewhat more and this learned me that the record Method is passed by reference instead of by value as it should. With a little hack I managed to force a call by value. Libr

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-22 Thread Den Jean
On Sunday 21 November 2004 11:41 pm, Den Jean wrote: > I also debugged it on the zaurus with gdb. > I debugged somewhat more and this learned me that the record Method is passed by reference instead of by value as it should. With a little hack I managed to force a call by value. Library extra

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-21 Thread Den Jean
On Saturday 20 November 2004 11:53 pm, Den Jean wrote: > it crashes > when compiled for ARM > I also debugged it on the zaurus with gdb. On clicking the button that is attached to AppQuit I get: Program received signal SIGILL, Illegal instruction. $000a0e84 in U_SYSUTILS_UPPERCASETABLE (

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-20 Thread Den Jean
On Wednesday 10 November 2004 02:45 am, Florian Klaempfl wrote: > >>Before I can test it, I've to reinstall my Zaurus, when updating to > >>3.5.1, the installation got broken :/ I have prepared something to test. I created a small C-program as a reference (that works) and then a FPC program tha

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-09 Thread Florian Klaempfl
Den Jean wrote: On Sunday 07 November 2004 04:30 am, Florian Klaempfl wrote: Before I can test it, I've to reinstall my Zaurus, when updating to 3.5.1, the installation got broken :/ It is time to reinstall your Zaurus. Hopefully, I'll get the new (and bigger ;)) SD card today so I can reinsta

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-08 Thread Den Jean
On Sunday 07 November 2004 04:30 am, Florian Klaempfl wrote: > > Before I can test it, I've to reinstall my Zaurus, when updating to > 3.5.1, the installation got broken :/ > It is time to reinstall your Zaurus. I just managed to create a small Qt program with FPC on the Zaurus :-) Zaurus scr

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-07 Thread Florian Klaempfl
Den Jean wrote: 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

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-05 Thread Den Jean
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 oth

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-05 Thread Florian Klaempfl
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 emdebi

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-05 Thread Jonas Maebe
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/syste

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-11-04 Thread Den Jean
Hi, On Sunday 31 October 2004 06:14 pm, Marco van de Voort wrote: > > Try to add -Xd > Thanks, it does what I need. Did not find this in the manual nor in fpc -h. * uses Dl; * I managed to compile my qt binding for arm (the library is C/C++ code) but to test fpc's ca

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-31 Thread Marco van de Voort
> I am trying to cross-compile a program a bit more > complicated than Hello World and I have the following problem. > > ppcarm uses the wrong libraries because it uses some default lib paths > first before it uses the library paths added with -Fl > > eg: > > ppcarm -Sd -XParm-linux- -k'-z nodef

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-31 Thread Den Jean
Hi, I am trying to cross-compile a program a bit more complicated than Hello World and I have the following problem. ppcarm uses the wrong libraries because it uses some default lib paths first before it uses the library paths added with -Fl eg: ppcarm -Sd -XParm-linux- -k'-z nodefaultlib' -vt

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-27 Thread Florian Klaempfl
Den Jean wrote: On Monday 25 October 2004 02:36 am, Florian Klaempfl wrote: What about putting these information into the fpc wiki? see my first wiki page on: http://www.freepascal.org/wiki/index.php/Setup_Cross_Compile_For_ARM Thanks :) linked by [Arm] (under development) http://www.freepascal.o

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-25 Thread Den Jean
On Monday 25 October 2004 02:36 am, Florian Klaempfl wrote: > What about putting these information into the fpc wiki? > see my first wiki page on: http://www.freepascal.org/wiki/index.php/Setup_Cross_Compile_For_ARM linked by [Arm] (under development) http://www.freepascal.org/wiki/index.php/Pl

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-24 Thread Florian Klaempfl
Den Jean wrote: On Friday 22 October 2004 04:22 pm, Florian Klaempfl wrote: The "official" way is to do use -XP: ppcarm -XParm-linux- hello and install the arm-linux-as and arm-linux-ld into e.g. /usr/local/bin Nice. Webpage has been updated. What about putting these information into the fpc wiki?

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-22 Thread Den Jean
On Friday 22 October 2004 04:22 pm, Florian Klaempfl wrote: >The "official" way is to do use -XP: >ppcarm -XParm-linux- hello >and install the arm-linux-as and arm-linux-ld into e.g. /usr/local/bin Nice. Webpage has been updated. But the help of ppcarm -h does not show this option XP (if I checke

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-22 Thread Florian Klaempfl
Den Jean wrote: On Thursday 21 October 2004 06:02 pm, Florian Klaempfl wrote: * Does anyone have a working ARM snapshot ? ftp://ftp.freepascal.org/fpc/snapshot/v19/linux-arm/fpc-1.9.3.arm.tar Hi Thanks. It works fine with the snapshot you pointed out. For a report see : http://users.pandora.be/J

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-22 Thread Den Jean
On Thursday 21 October 2004 06:02 pm, Florian Klaempfl wrote: > > > > * Does anyone have a working ARM snapshot ? > > ftp://ftp.freepascal.org/fpc/snapshot/v19/linux-arm/fpc-1.9.3.arm.tar > Hi Thanks. It works fine with the snapshot you pointed out. For a report see : http://users.pandora.be

Re: [fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-21 Thread Florian Klaempfl
Den Jean wrote: Hi, Cross-compile for ARM: == I'd like to develop an application on Zaurus (arm) with FPC, but I do not manage to create a cross-compile setup. Qt/Embedded binding for FPC: == I already created a binding for FPC to Qt/Embedded that works with libqte (t

[fpc-pascal] FPC on ARM (eg Zaurus)

2004-10-21 Thread Den Jean
Hi, Cross-compile for ARM: == I'd like to develop an application on Zaurus (arm) with FPC, but I do not manage to create a cross-compile setup. Qt/Embedded binding for FPC: == I already created a binding for FPC to Qt/Embedded that works with libqte (the Qt/Embedded