Cross compiling and emulating for Raspberry Pi with Debian Cross-Toolchains and QEMU

Installing the toolchain Add a .list file in /etc/apt/sources.list.d/ containing : “deb http://emdebian.org/tools/debian jessie main” Update the public key for this repo with ‘curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo apt-key add –‘ Add armhf as foreign architecture by running ‘sudo dpkg –add-architecture armhf‘. Check correct install with ‘dpkg –print-foreign-architectures‘ ¬† ¬†which should show ‘armhf‘ Run ‘sudo apt-get Read More …