Windows-to-RaspberryPi (2012) 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 older version of cross-compiler howto (originally written in August of 2012) targeting previous version of Raspbian: Raspbian Wheezy. Old version of cross-compiler has full support of C++03, but it does not support C++11. Old cross-compiler has been tested and known to work with first version of the hardware (Raspberry Pi Model B).

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.

About Raspberry Pi

The Raspberry Pi is a credit-card sized computer manufactured by Raspberry PI Foundation that plugs into your TV and a keyboard. It's a capable little PC which can be used for many of the things that your desktop PC does, like spreadsheets, word-processing and games.

Raspberry Pi is also very useful for DIY hobbysts and can be a hardware platform for embedded appliances like TV set top box or retail checkout terminal or maybe even ATM.

This website is run by independent software developer and not endorsed or associated in any way with Raspberry Pi Foundation. This website is not endorsed or associated in any way with Free Software Foundation. This website is not endorsed or associated in any way with Microsoft Corporation. Raspberry Pi is a registered trademark of the Raspberry Pi Foundation. Microsoft Windows is a registered trademark of Microsoft Corporation.


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