Downloading Files

1) Download and install Virtual Machine. Any modern virtual machine capable of making snapshots will do, for example VMware Workstation. This tutorial assumes Oracle VirtualBox because it's available free of charge.

2) Download source code for gcc-4.6.3 and binutils-2.22 from ftp://ftp.gnu.org/ . It's recommended to download full gcc package for this tutorial.

3) Download unpatched source code for eglibc-2.13. Location 1: Raspbian Repository ; Location 2 : Debian Repository ; Location 3 : Ubuntu Repository .

4) Download source code for libraries gcc depends on: gmp, mpfr and mpc. We will use gmp-5.0.1, mpfr-3.0.1 and mpc-0.9 in this tutorial, but generally latest versions of all of them is what you need.

5) Download source code for Linux kernel (3.2.21 will do).

6) Download additional patches for gcc and eglibc from this website.


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