The one that I have used is the 4.9 2015.05 version( gcc-linaro-4.9-2015.05-x86_64_), which you can download here.
The easiest way to do this is to download a pre-build cross compiler from Linaro.
In order to cross-compile QT, we also need the cross compiler. #install C/C++ headers, as well as openssl #qemu will handle the translation of ARM binaries to your local architectureĪpt-get install libstdc++-4.9-dev libc6-dev libssl-dev #everything else can be installed thru apt. #the minbase variant will install the minimum number of required packages in order to boot the system,
Qemu-debootstrap -arch=armhf -variant=minbase jessie. Su #become root alternatively 'sudo bash' should work Mkdir $ROOTFS #directory which will become /