Cross-Build for RasberryPi

Contents[Hide]

The following steps are exactly the same for every CodeTyphon host-OS
(Windows, Linux, FreeBSD, etc)

 

1. Download arm-linux--RapberryPi Toolchains

rasberry-pi-1

 

rasberry-pi-2

 

 

2. Download arm-linux-Raspbian OS libraries

rasberry-pi-3

 

rasberry-pi-4

 you can use and arm-linux-pi.7z is bigger

 

 

3. Build FPC Cross arm-linux--RapberryPi element

rasberry-pi-5

 

rasberry-pi-6

 

 

4. Setup your Project Libraries

rasberry-pi-7

 

rasberry-pi-8

 

 

5. Setup your Project CPU and OS

Select Target OS=Linux and Target CPU=arm in application "Config and Target" page

rasberry-pi-9

 

 

6. Setup your Project Platform

Select LCLWidgetType=GTK2 in application "Additions and Overrides" page
You can select any Platform (QT4, QT5, CustomDraw, FpGUI, etc) supported by your Rasberry Pi OS.

rasberry-pi-10

 

 

 

7. Finally build your project

rasberry-pi-11

 

Now Copy your new application to your Rasberry Pi Box or
to Qemu.

Note: Before execute your new application in Rasberry Pi, give executable permitions to you app.

and have fun...