title: How can I create a modern cross compile toolchain for the Raspberry Pi 1?
body: <p>At least Debian does not provide a usable toolchain to cross develop for the Raspberry Pi 1. The Linaro toochain is at the time of this writing too old for the Qt5 developer branch. There is a project crosstools-ng, which allows to easily build custom toolchains for all kinds of systems. It supports a fairly modern GCC 4.9.1. The configuration is a bit trial and error, but the main problem is, that the toolchain does not find all the include files or libraries. How is the crosstools-ng to be configured so it can be used to compile Qt5 for the Raspberry Pi 1?</p>
  
  <p>A followup how a Raspberry Pi with Raspian has to be prepared to use this toolchain can be found here:
  <a href="https://stackoverflow.com/questions/30120871/how-do-i-prepare-a-raspberry-pi-with-raspian-so-i-can-cross-compile-qt5-program">How do I prepare a Raspberry Pi with Raspbian so I can cross compile Qt5 programs from a Linux host?</a></p>