Automated scripts which build a cross-compilation toolchain targeting Raspberry Pi or Raspberry Pi 2
Uses Linaro versions of GCC, Binutils, and Glibc to provide performance and optimization improvements on the ARM architecture CPU family.
- Target: Raspberry Pi
- Target Arch: ARMv6 (armv6zk)
- Target CPU: ARM1176JZF-S
- Target FPU: VFP
- Target Endianness: LITTLE
- Target: Raspberry Pi 2
- Target Arch: ARMv7 (armv7)
- Target CPU: Cortex-A7
- Target FPU: Neon-VFPv4
- Target Endianness: LITTLE
Building is easy, you just issue the following command from the terminal:
make <target-name>For example, if you desire to build the Raspberry Pi 2 cross-tools:
make rpi2After the build completes, there will be an archive available in the archives/ directory.
Installing is easy. After you have downloaded the tar.gz archive, extract it with the following command:
tar -zxvf <archive-name>.tar.gzFor example, if you downloaded the latest Raspberry Pi 2 cross-tools:
tar -zxvf rpi2-cross-tools.tar.gzNow cd into the directory:
cd <cross-tools-directory>For example, if you extracted the latest Raspberry Pi 2 cross-tools:
cd rpi2-cross-toolsNow, use the install.sh script to install to a directory of your desire:
./install.sh <install-directory>For example, if you wish to install to the /opt directory:
./install.sh /opt