Build current FPC and Lazarus for Raspbian
From Free Pascal wiki
Jump to navigationJump to searchRaspbian 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:
- Install subversion:
sudo apt install subversion
- Get bootstrap FPC compiler