Build current FPC and Lazarus for Raspbian

From Lazarus wiki
Revision as of 04:52, 27 August 2019 by Ottod (talk | contribs)
Jump to navigationJump to search

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]