[Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Alfred
Then, perhaps, the ODROID-C2 could be your toy for aarch64 ! Especially the eMMC connector makes it very suitable for reliable embedded (FPC) applications. As well as its 2Gbyte SDRAM and Gigabit Ethernet. Arch has 64 bit ready: https://archlinuxarm.org/platforms/armv8/amlogic/odroid-c2 But,

[Lazarus] How do events come into the glib event queue?

2016-03-03 Thread Martin Grajcar
Our Lazarus-GTK2 application crashes due to a GTK event whose target has been freed. My problem is that I can see only the place where this happens and the data has already been overwritten. *What I need is the place where the event was generated or enqueued.* I thought it'd be gtk2msgqueue.pp, bu

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Florian Klaempfl
Am 03.03.2016 um 14:29 schrieb Alfred: > Working ! > > Thanks very much. > I have now an aarch64 fpc(laz)up executable, compiled through Lazarus. > > If a 64 bit RPi3 distro is available, I will report back !! I ordered also one in the hope using it to play with fpc aarch64. But currently it doe

Re: [Lazarus] Procedure List dialog regressions

2016-03-03 Thread Graeme Geldenhuys
On 01/03/2016 18:51, Juha Manninen wrote: Maybe that should wait a little. Ondrej is making a generic configuration API for storing column widths OK, thanks for letting me know. Regards, Graeme -- ___ Lazarus mailing list Lazarus@lists.lazarus.fr

Re: [Lazarus] Lazbuild: calling of ExecuteBefore command with up-to-date project

2016-03-03 Thread Martok
Patch series now in the bugtracker as issue #29773 (and a related on on #27820). I have thoroughly tested it and it now does exactly what the documentation says, but please verify. Kind Regards, Sebastian -- ___ Lazarus mailing list Lazarus@lists.laz

[Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Alfred
Working ! Thanks very much. I have now an aarch64 fpc(laz)up executable, compiled through Lazarus. If a 64 bit RPi3 distro is available, I will report back !! Fixed. I replaced a64 with aarch64 in the IDE. Mattias -- ___ Lazarus mailing list La

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Michael Schnell
On 03/03/2016 12:33 PM, Bo Berglund wrote: And they claim not so much is to be gained with 64 bit mode since RAM is just 1GB (currently). I suppose similar to X86-64, with aarch64 the speed advantage vs 32 bit is debatable. Some applications that really do 64 bit calculation might get a lot f

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Mattias Gaertner
On Thu, 03 Mar 2016 06:47:24 + Alfred wrote: >[...] > How to setup Lazarus to compile for Aarch64 ?? > Fpc does NOT know what to do with -Pa64. > Fpc does know what to do with -Paarch64. Fixed. I replaced a64 with aarch64 in the IDE. Mattias -- _

[Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Alfred
FYI. All my RPi(2) FPC/Lazarus apps do run unchanged on the new RPi3, by just replacing the boot firmware with the latest firmware. They were (cross-)compiled for ARMV7 hardfloat and run on Arch Linux. And boot is fast ... and ... my apps run FAST !!! So, this makes the change towards th

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Maxim Ganetsky
03.03.2016 09:47, Alfred пишет: > However, the main question still stands: > > How to setup Lazarus to compile for Aarch64 ?? > Fpc does NOT know what to do with -Pa64. > Fpc does know what to do with -Paarch64. Please create a bug report. -- Best regards, Maxim Ganetsky mai

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Bo Berglund
On Thu, 03 Mar 2016 10:53:43 +0100, Michael Schnell wrote: >On 03/02/2016 05:09 PM, Michael Ring wrote: >> AFAIK This is the default mode on RPi for now, same for ODroid C2, it >> also currently runs a64 cpu with a a32 kernel, 'real' 64bit support >> will come later. >> >So obviously the a64 ha

Re: [Lazarus] Aarch64 as CPU target for RPi3 with Linux as OS

2016-03-03 Thread Michael Schnell
On 03/02/2016 05:09 PM, Michael Ring wrote: AFAIK This is the default mode on RPi for now, same for ODroid C2, it also currently runs a64 cpu with a a32 kernel, 'real' 64bit support will come later. So obviously the a64 hardware can run a32 code :-) . Hence I suppose an a64 Linux distributio