Cross Compiling for Raspberry Pi? Use Docker!

Stop fiddling with serveral downloads and linking toolchains.

Head into your source code directory and do this:

docker run -it -v ${PWD}:/build mitchallen/pi-cross-compile

Boom. You’ll have fresh binaries in the build directory of your source!