

You may want to compile Lazarus from subversion sources. Please see this page Compiling from sources
#DOWNLOAD LAZARUS FREE PASCAL WINDOWS#
Remember that not all - especially Windows - libraries are available for Linux arm.Ĭross compiling for the Raspberry Pi from Linux With the resulting ppcrossarm.exe and ARM RTL you will be able to build a cross Lazarus version as usual and compile FPC projects for the Raspberry Pi and other armhf devices. If errorlevel 1 goto quit %FPCMAKEPATH%/bin/i386-win32/make crossinstall CROSSBINDIR= %FPCPATH%/bin/win32-armhf-linux CROSSOPT= "-CpARMV6 -CfVFPV2 -OoFASTMATH" OS_TARGET=linux CPU_TARGET=arm FPC= %FPCPATH%/bin/i386-win32/ppc386.exe INSTALL_BASEDIR= %OUTPATH% : quit pause

%FPCMAKEPATH%/bin/i386-win32/make all OS_TARGET=linux CPU_TARGET=arm CROSSBINDIR= %FPCPATH%/bin/win32-armhf-linux CROSSOPT= "-CpARMV6 -CfVFPV2 -OoFASTMATH" FPC= %FPCPATH%/bin/i386-win32/ppc386.exe %FPCMAKEPATH%/bin/i386-win32/make distclean OS_TARGET=linux CPU_TARGET=arm CROSSBINDIR= %FPCPATH%/bin/win32-armhf-linux CROSSOPT= "-CpARMV6 -CfVFPV2 -OoFASTMATH" FPC= %FPCPATH%/bin/i386-win32/ppc386.exe You have to select simply "Add / Remove Software" in the global Preferences menu. It can be performed with the PiPackage manager. On modern versions of Raspbian installation is very easy. Simple installation under Raspbian Modern Raspbian versions in the file, find CONF_SWAPSIZE and change the value to 2048 or 1024.If you have RPi with memory size less then 4Gb, and you want to use FPCUPdeluxe, you need to adjust the swap file size before installing Lazarus: Installing and compiling Lazarus Correcting swap file size 2.6 PXL (Platform eXtended Library) for low level native access to GPIO, I☬, SPI, PWM, UART, V4L2, displays and sensors.2.5 PiGpio Low-level native pascal unit (GPIO control instead of wiringPi c library).2.4 rpi_hal-Hardware Abstraction Library (GPIO, I2C and SPI functions and procedures).2.2 Hardware access via encapsulated shell calls.2.1.1 Switching a device via the GPIO port.

