Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2020-08

Lazarus on Raspberry Pi

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

John

Hi All,

I haven't been active on this list for a long time, but I have been still been using FPC/Lazarus - many thanks to all who who have been making all the improvements.

I recently dipped my toe into Raspberry Pi, and successfully built FPC (3.0.4) / Laz (2.0.8) using the instructions here:

https://wiki.lazarus.freepascal.org/Build_current_FPC_and_Lazarus_for_Raspbian

I have just upgraded my installation using the previously built FPC (3.0.4) to build FPC 3.2.0 / Laz 2.0.10 (rather than go through the process of getting the bootstrap compiler again as per the instructions) I presume this is legitimate - it certainly worked - and if so, would it be worth my writing this up on the wiki ? I was all set to do so, but I noticed a note at the end of the process suggesting one should repeat the entire process each time.

cheers,
John Sunderland

Reply by email

Unknown author
to John
John wrote 18 lines
Hi All, I haven't been active on this list for a long time, but I have been still been using FPC/Lazarus - many thanks to all who who have been making all the improvements. I recently dipped my toe into Raspberry Pi, and successfully built FPC (3.0.4) / Laz (2.0.8) using the instructions here: https://wiki.lazarus.freepascal.org/Build_current_FPC_and_Lazarus_for_Raspbian I have just upgraded my installation using the previously built FPC (3.0.4) to build FPC 3.2.0 / Laz 2.0.10 (rather than go through the process of getting the bootstrap compiler again as per the instructions) I presume this is legitimate - it certainly worked - and if so, would it be worth my writing this up on the wiki ?

Yes, any titles like "For version such and such" on the wiki with instructions would be useful, as I have been meaning to install these on my Pi's recently and haven't found much a few months back.

Thanks

Reply by email

Bo Berglund
to John: I haven't been active on this list for a long time, but I have been still been using…
John wrote
I recently dipped my toe into Raspberry Pi, and successfully built FPC (3.0.4) / Laz (2.0.8) using the instructions here: https://wiki.lazarus.freepascal.org/Build_current_FPC_and_Lazarus_for_Raspbian

That is NOT an instruction on how to install Fpc/Lazarus on a Raspberry Pi!
Rather it is an instruction on how to build an installation package for the same platform. Used in order to *distribute* Fpc/Lazarus to other users mainly.

Big difference and much more work than needed....

If you want to install Fpc/Lazarus in order to use it yourself and update them going forward then the much simpler way to go is to:

- Check out sources from svn (also done in the instructions)
- Install the build essentials and dependencies via apt
- Get the seed compiler (needed only once on any given system)
- Use the make command in the source dirs to build
- Use the make command in the source dirs to install in your system
- Create the desktop entry for starting Lazarus

All of this can be done in a fairly small script which gives you an upgradable installation based on svn updates.

Bo Berglund Developer in Sweden

Reply by email

Mehmet Erol Sanliturk
to Bo Berglund

On Thu, Aug 27, 2020 at 9:15 AM Bo Berglund via lazarus <

Show quoted text 41 lines
wrote: On Sat, 22 Aug 2020 21:04:36 +1000, John via lazarus wrote: >I recently dipped my toe into Raspberry Pi, and successfully built >FPC (3.0.4) / Laz (2.0.8) using the instructions here: > > https://wiki.lazarus.freepascal.org/Build_current_FPC_and_Lazarus_for_Raspbian That is NOT an instruction on how to install Fpc/Lazarus on a Raspberry Pi! Rather it is an instruction on how to build an installation package for the same platform. Used in order to *distribute* Fpc/Lazarus to other users mainly. Big difference and much more work than needed.... If you want to install Fpc/Lazarus in order to use it yourself and update them going forward then the much simpler way to go is to: - Check out sources from svn (also done in the instructions) - Install the build essentials and dependencies via apt - Get the seed compiler (needed only once on any given system) - Use the make command in the source dirs to build - Use the make command in the source dirs to install in your system - Create the desktop entry for starting Lazarus All of this can be done in a fairly small script which gives you an upgradable installation based on svn updates. -- Bo Berglund Developer in Sweden -- _______________________________________________

Is there such a published script which you can supply its link ? If not , would you please add such a part into the above link ?

Thank you very much .

Mehmet Erol Sanliturk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20200827/f5a0913a/attachment.html>

Reply by email