This is a guide on how to set up a C++ cross-compilation toolchain and development environment. It serves as the documentation for the RPi-Cpp-Toolchain repository.

The first page guides you through the installation of the necessary tools and editors.

The second and third page explain how to build a cross-compilation toolchain using Crosstool-NG, and how to use it to compile the following libraries:

Next, page four explains how to install these libraries to the Raspberry Pi.

The fifth helps you set up Visual Studio Code for cross-compilation and remote debugging.

The sixth page presents a small "hello world" example project in C++ that uses CMake and Google Test.

Finally, there's a page on remote on-target debugging using GDB and Visual Studio Code.

If you're in a hurry, or if you are already quite familiar with Linux, compilers, etc. you can skip straight to the "Speedrun" page, it contains all the commands you need to get the entire project running in just a couple of minutes.