![]() Older methods, outdated, may still be of value due to optimized RP1 1 Zero etc. With “sudo make clean bigide” you can build the Lazarus-IDE. Now the Free-Pascal-Compiler should be installed. Start the terminal and cd /usr/local/fpc-3.0.4.arm-linux Sudo apt-get install libgtk2.0-dev libghc-x11-dev -yģ. Tutorial: Installation of Lazarus to Raspberry Pi 3 + 4 Now the -T warning is also harmless, bug in LD and the trunk version of FPC seems to have a solution. You may get a few linker messages, like crtbegin.0 missing. Wiki article to get fpc3.04 and Lazarus 2.06 deb packages on Raspbian Buster RPI 4 as build machine To add packages: increase swap file to 1000 MB (see below)! Sudo apt install libgtk2.0-dev libgpm-dev libncurses-dev You may have to install some dependencies libgtk2.0-dev libgpm-dev libncurses-dev to download deb packages using the following Wiki article. Alas the package maintainers did a not perfect job, much is not working … On Buster you get even more recent versions. But the resulting programs are running fast enough, we have a real compiler here! All systems run Lazarus on the desktop, but the older version 1 systems are running Lazarus quite slow due to the ARM V6 CPU and lack of memory. ![]() I have both Raspberry Pi’s Version 1 and the newer Version 2 systems. And the programs compiled on the Raspberry Pi 2 B crashed on the older Raspberry Pi for me. Freepascal is missing the character based fp IDE alas. Note that for me Lazarus did not show up in the Programming menu on the desktop on jessie, but easy to add yourself with the menu editor (Lazarus is located somewhere in /usr/local/). On Raspbian jessie you get more recent versions: Freepascal 2.6.4 and Lazarus 1.2.4. Working but not quite bleeding edge. Perfect for a first session! On Raspbian wheezy you get Freepascal 2.6.0 and Lazarus 0.9.30.4. Updated March 2020, for current FPC/Lazarus/Raspbian versions. A page describing how to get the latest Freepascal and Lazarus development systems on the Raspberry Pi in optimal format, targeted at ARMV6 (all Raspberri Pi’s) and ARMV7 (RPi 2).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |