Skip to content

Automated scripts for building a cross-compilation toolchain targeting Raspberry Pi or Raspberry Pi 2

Notifications You must be signed in to change notification settings

SnakeDoc/rpi-cross-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi Cross Compilation Tools

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.

Build Status

Downloads:

Raspberry Pi Target Specs:

  • Target: Raspberry Pi
  • Target Arch: ARMv6 (armv6zk)
  • Target CPU: ARM1176JZF-S
  • Target FPU: VFP
  • Target Endianness: LITTLE

Raspberry Pi 2 Target Specs:

  • Target: Raspberry Pi 2
  • Target Arch: ARMv7 (armv7)
  • Target CPU: Cortex-A7
  • Target FPU: Neon-VFPv4
  • Target Endianness: LITTLE

How To Build:

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 rpi2

After the build completes, there will be an archive available in the archives/ directory.

How To Install:

Installing is easy. After you have downloaded the tar.gz archive, extract it with the following command:

tar -zxvf <archive-name>.tar.gz

For example, if you downloaded the latest Raspberry Pi 2 cross-tools:

tar -zxvf rpi2-cross-tools.tar.gz

Now cd into the directory:

cd <cross-tools-directory>

For example, if you extracted the latest Raspberry Pi 2 cross-tools:

cd rpi2-cross-tools

Now, 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

About

Automated scripts for building a cross-compilation toolchain targeting Raspberry Pi or Raspberry Pi 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published