Windows-to-RaspberryPi (2016) Cross Compiler Guide

Linux and Windows Welcome, this website explains how to create cross-compiler to build Raspberry Pi software from Windows.

Cross-compiler is a set of EXE files (command line applications), libraries and headers; it will run without installation in any Win32 environment and build your software for Raspberry Pi.

This is an updated guide how to build cross-compiler targeting latest version of Raspbian at the time of writing (May 2016): Raspbian Jessie. New version of cross-compiler has full support of C++11 and C++03. New cross-compiler has been tested and known to work with latest version of the hardware, Rasperry Pi 3.

Both hardware floating point and software floating point Linux environments are supported by this cross compiler (Raspbian vs Debian, arm-linux-gnueabihf vs arm-linux-gnueabi, dynamic linking to ld-linux-armhf.so.3 vs ld-linux.so.3).

Cross-compiling to Raspberry Pi makes perfect sense if your operating system of choice on the workstation is Windows and you need full efficiency of C or C++ on Raspberry Pi device.


>> Read next section or buy already prepared cross-compiler (€10) to save your time.