Difference between revisions of "Build current FPC and Lazarus for Raspbian"

From Free Pascal wiki
Jump to navigationJump to search
m
m
Line 8: Line 8:
 
Steps:
 
Steps:
  
# Install subversion: apt install subversion
+
# Install subversion: <code>apt install subversion</code>
 
# Get bootstrap FPC compiler: [https://sourceforge.net/projects/freepascal/files/Linux/3.0.2/fpc-3.0.2.arm-linux-eabihf-raspberry.tar/download]
 
# Get bootstrap FPC compiler: [https://sourceforge.net/projects/freepascal/files/Linux/3.0.2/fpc-3.0.2.arm-linux-eabihf-raspberry.tar/download]

Revision as of 04:53, 27 August 2019

Raspbian Buster (based on Debian 10 Buster) has FPC and Lazarus available in the repositories, but they suffer from the same "design decisions" that don't allow for a nice experience, namely the smooth IDE rebuilding capability based on source packages that is possible with FPC/Lazarus official .deb packages vs the crippled experience with the official Debian/Raspbian packages. One wishes there were official FPC/Lazarus packages for Raspbian as there are for Intel Debian/Ubuntu, which are also frequently updated; not being that the case (at least for now), this page shows the steps for building your own FPC, FPC-source and Lazarus packages for Raspbian.

Requirements:

  • Raspberry Pi 4 4 GB
  • Latest Raspbian fully up to date

Steps:

  1. Install subversion: apt install subversion
  2. Get bootstrap FPC compiler: [1]