Re: [Lazarus] Building GUI program for RPi1 on RPi2?

2016-01-17 Thread Bo Berglund
On Sat, 16 Jan 2016 13:45:26 +, Mark Morgan Lloyd wrote: >So in my opinion using an older RPi is a false economy here. You are absolutely correct! I bit the bullet today and bought an RPi2B instead and within short I was in business with the already

Re: [Lazarus] Building GUI program for RPi1 on RPi2?

2016-01-16 Thread Michael Ring
You will need to create code for armv6, Pi2B is armv7 The easiest way is most propably to install freepascal on the old RPi1B and to compile the code there. Either use apt-get or search for a fpc 3.0 version that is compiled for this device. Another alternative could be to build another

[Lazarus] Building GUI program for RPi1 on RPi2?

2016-01-16 Thread Bo Berglund
I have a development system running on a Raspberry Pi2B with fpc 3.0.0 and Lazarus 1.6RC2. It works just fine. :) Today I am faced with a problem regarding compatibility between RPi1 and RPi2... I have this Delphi program I wrote some years ago which is used to show a text dialog on a TV for my

Re: [Lazarus] Building GUI program for RPi1 on RPi2?

2016-01-16 Thread Mark Morgan Lloyd
Bo Berglund wrote: I have a development system running on a Raspberry Pi2B with fpc 3.0.0 and Lazarus 1.6RC2. It works just fine. :) Today I am faced with a problem regarding compatibility between RPi1 and RPi2... I have this Delphi program I wrote some years ago which is used to show a text

Re: [Lazarus] Building GUI program for RPi1 on RPi2?

2016-01-16 Thread Bo Berglund
On Sat, 16 Jan 2016 12:14:05 +0100, Michael Ring wrote: >You will need to create code for armv6, Pi2B is armv7 > I tried by copying the program file to my new RaspbianJessie on the RPi1B and running it, but it threw exceptions... So I have installed the seed fpc compiler

Re: [Lazarus] Building GUI program for RPi1 on RPi2?

2016-01-16 Thread Mehmet Erol Sanliturk
On Sat, Jan 16, 2016 at 11:32 AM, Bo Berglund wrote: > On Sat, 16 Jan 2016 12:14:05 +0100, Michael Ring > wrote: > > >You will need to create code for armv6, Pi2B is armv7 > > > I tried by copying the program file to my new RaspbianJessie on the >

Re: [Lazarus] Building GUI program for RPi1 on RPi2?

2016-01-16 Thread Bo Berglund
On Sat, 16 Jan 2016 12:17:59 -0800, Mehmet Erol Sanliturk wrote: >> So I have installed the seed fpc compiler 2.6.4 on the Pi1B now and am >> checking out the sources for Lazarus 1.4.4 now. >> >> Will build lazarus 1.4.4 using the seed compiler and then build the >>

Re: [Lazarus] Building GUI program for RPi1 on RPi2?

2016-01-16 Thread Mehmet Erol Sanliturk
On Sat, Jan 16, 2016 at 2:35 PM, Bo Berglund wrote: > On Sat, 16 Jan 2016 12:17:59 -0800, Mehmet Erol Sanliturk > wrote: > > >> So I have installed the seed fpc compiler 2.6.4 on the Pi1B now and am > >> checking out the sources for Lazarus 1.4.4