Skip to content

Raspberry Pi GCC Cross Compiler ARM Toolchains CMake Usage Guide

Abhishek Thakur edited this page Apr 21, 2021 · 21 revisions

Raspberry Pi Toolchains Logo

Cross-Compiler CMake Usage Guide with rsynced Raspberry Pi's Sysroot

This guide documents the complete steps to create rootfs/sysroot so that you can create a cross compile environment for any Raspberry Pi variant/model on Linux machine using rsync from the Raspberry Pi hardware you're already running. After that we will cross-compile a working Software Binaries (Hello-World CMAKE example in this case) with CMAKE using only the Raspberry Pi GCC Toolchains available within this project.

ย 

Get Started

Choose the appropriate instructions for OS installed on your target Raspberry Pi to get started:

ย 

ย 

Clone this wiki locally