Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-10 Thread Bo Berglund
On Tue, 10 Jan 2017 15:10:05 +0100, Mattias Gaertner wrote: >On Tue, 10 Jan 2017 14:26:20 +0100 >Bo Berglund wrote: > >>[...] >> I found the system.ppu as follows: >> >> ~ $ find /home/pi/ -name system.ppu >>

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-10 Thread Mattias Gaertner
On Tue, 10 Jan 2017 14:26:20 +0100 Bo Berglund wrote: >[...] > I found the system.ppu as follows: > > ~ $ find /home/pi/ -name system.ppu > /home/pi/lib/fpc/3.0.0/units/arm-linux/rtl/system.ppu > > Given that path, what would the correct fpc.cfg setting be? > Something

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-10 Thread Bo Berglund
On Tue, 10 Jan 2017 11:30:35 +0100, Mattias Gaertner wrote: >Lazarus does not need the FPC sources for building. > > >>[...] >> (3104) Compiling fcllaz.pas >> Fatal: (10022) Can't find unit system used by fcllaz >> Fatal: (1018) Compilation aborted >> >> The file

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-10 Thread Mattias Gaertner
On Tue, 10 Jan 2017 09:08:55 +0100 Bo Berglund wrote: >[...] > It looks like Lazarus needs to know where the fpc sources are located > because I always get this error when trying to build lazarus bigide > the first time: Lazarus does not need the FPC sources for building.

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-10 Thread Bo Berglund
On Thu, 5 Jan 2017 02:07:00 +0100 (CET), "Karoly Balogh (Charlie/SGR)" wrote: >Hi, > >On Thu, 5 Jan 2017, Bo Berglund wrote: > >> I just need the seed compiler to be able to build FPC from sources. >> And build Lazarus of course. > >Then you need "ppcarm" from that

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-09 Thread Bo Berglund
I have trouble understanding what I see after my build attempt. Please say what I am doing wrong... - Sources for FPC 3.0.2RC1 are in ~/dev/fpc/3.0.2RC1 - Seed compiler ppcarm v. 3.0.0 is in ~/dev/fpc - ~/bin is empty - I move into the source dir ~/dev/fpc/3.0.2RC1 - I run this command: make all

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-09 Thread Bart
On 1/9/17, Bo Berglund wrote: > Or could I skip the sourceinstall part and just point lazarus to the > downloaded sources from SVN from which fpc was built? Generally speaking, for Lazarus that is enough. Sources are needed for CodeTools, not for compiling/building. Bart

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-09 Thread Bo Berglund
On Sat, 7 Jan 2017 13:19:09 +0100, Sven Barth wrote: >Am 07.01.2017 11:33 schrieb "Bo Berglund" : >> make all install FPC="/home/pi/bin/fpc/3.0.0" >> INSTALL_PREFIX="/home/pi/bin/fpc/3.0.2RC1" OPT="-dFPC_ARMHF" >> >> Will this put the binaries

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-08 Thread Bo Berglund
On Sun, 8 Jan 2017 11:25:58 +0100, Sven Barth wrote: >> Is there a reason for this strange behaviour? Especially why the >> actual new compiler was placed in such a remote place? >> > >The install make target places the main binaries in /bin and the ppcXXX >binaries

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-08 Thread Sven Barth
On 08.01.2017 11:20, Bo Berglund wrote: > On Sat, 7 Jan 2017 12:24:39 +0100 (CET), "Karoly Balogh (Charlie/SGR)" > wrote: > Then I went looking for the new ppcarm compiler and found it in these > locations: > > /home/pi/dev/fpc/3.0.2RC1/compiler/ppcarm (in the source

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-08 Thread Bo Berglund
On Sat, 7 Jan 2017 12:24:39 +0100 (CET), "Karoly Balogh (Charlie/SGR)" wrote: >Hi > >On Sat, 7 Jan 2017, Bo Berglund wrote: > >> I went ahead and tried the command but it failed miserably... >> >> pi@rpi3-jessie:~/dev/fpc/3.0.2RC1 $ make all install >>

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-07 Thread Sven Barth
Am 07.01.2017 11:33 schrieb "Bo Berglund" : > make all install FPC="/home/pi/bin/fpc/3.0.0" > INSTALL_PREFIX="/home/pi/bin/fpc/3.0.2RC1" OPT="-dFPC_ARMHF" > > Will this put the binaries into the /home/pi/bin/fpc/3.0.2RC1 ? > > I really do not want the make install command

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-07 Thread Karoly Balogh (Charlie/SGR)
Hi On Sat, 7 Jan 2017, Bo Berglund wrote: > I went ahead and tried the command but it failed miserably... > > pi@rpi3-jessie:~/dev/fpc/3.0.2RC1 $ make all install > FPC="/home/pi/bin/fpc/3.0.0" > INSTALL_PREFIX="/home/pi/bin/fpc/3.0.2RC1" OPT="-dFPC_ARMHF" With FPC, You need to specify the

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-07 Thread Bo Berglund
I went ahead and tried the command but it failed miserably... pi@rpi3-jessie:~/dev/fpc/3.0.2RC1 $ make all install FPC="/home/pi/bin/fpc/3.0.0" INSTALL_PREFIX="/home/pi/bin/fpc/3.0.2RC1" OPT="-dFPC_ARMHF" make: execvp: /home/pi/bin/fpc/3.0.0: Permission denied make compiler_cycle RELEASE=1

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-07 Thread Bo Berglund
On Thu, 5 Jan 2017 02:07:00 +0100 (CET), "Karoly Balogh (Charlie/SGR)" wrote: >Hi, > >On Thu, 5 Jan 2017, Bo Berglund wrote: > >> I just need the seed compiler to be able to build FPC from sources. >> And build Lazarus of course. > >Then you need "ppcarm" from that

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-05 Thread Bo Berglund
On Thu, 5 Jan 2017 02:07:00 +0100 (CET), "Karoly Balogh (Charlie/SGR)" wrote: >Hi, > >On Thu, 5 Jan 2017, Bo Berglund wrote: > >> I just need the seed compiler to be able to build FPC from sources. >> And build Lazarus of course. > >Then you need "ppcarm" from that

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-04 Thread Anthony Walter
Bo, Extract the archive file, then run the setup script. That's all. The script will then take care of the rest, including giving you option to choose the minimal fpc 3.0 arm compiler install location, as well as creating a debian style ".desktop" file to open a terminal with the minimal

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-04 Thread Karoly Balogh (Charlie/SGR)
Hi, On Thu, 5 Jan 2017, Bo Berglund wrote: > I just need the seed compiler to be able to build FPC from sources. > And build Lazarus of course. Then you need "ppcarm" from that archive, and nothing else. Just copy it whereever you want, in your home dir, or something and do: make all install

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-04 Thread Bo Berglund
On Wed, 4 Jan 2017 17:00:22 -0500, Anthony Walter wrote: >Here is a minimal FPC for the Pi: > >https://www.getlazarus.org/setup/minimal/ > >It's compact, installs in your home folder, and include a terminal shortcut. Thanks, I downloaded from the RaspberryPi link:

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-04 Thread Anthony Walter
Here is a minimal FPC for the Pi: https://www.getlazarus.org/setup/minimal/ It's compact, installs in your home folder, and include a terminal shortcut. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2017-01-04 Thread Bo Berglund
On Sat, 31 Dec 2016 08:15:51 +0100, Bo Berglund wrote: >I have a script for building FPC and Lazarus from scratch on Raspberry >Pi. This script starts by downloading the seed compiler from this >location:

[fpc-pascal] FPC 3.0.0 seed compiler for Rasperry Pi ARM?

2016-12-30 Thread Bo Berglund
I have a script for building FPC and Lazarus from scratch on Raspberry Pi. This script starts by downloading the seed compiler from this location: http://sourceforge.net/projects/freepascal/files/Linux/2.6.4/fpc-2.6.4.arm-linux.tar But I have not found a seed compiler for ARM at that location