Difference between revisions of "Cross-compile toolchains"

From Tuxamito
Jump to: navigation, search
(Created page with "These are already built toolchains optimized for ''arm1176jzf-s'' CPUs, such us in ''Samsung s3c6410'' (mini6410 board) and the ''Broadcom BCM2835'' (Raspberry Pi). == Downlo...")
 
(Hard Float)
Line 22: Line 22:
 
! Version !! Date !! Type !! Notes !! 32 bit !! 64 bit
 
! Version !! Date !! Type !! Notes !! 32 bit !! 64 bit
 
|-
 
|-
| gcc 4.7.2 linaro 13.04 || 2013-04-16 || Stable ||  || [https://mega.co.nz/#!ixx0CK5a!I0T73BPVMkvThUSFN7UOADQv9oY0gTVFjdFfI05_XWw Download] || [https://mega.co.nz/#!elwl3Cya!KXCSTju_RJUwj2OtQvdlJEhMdOMgUvouXMKJFFgYiWc Download]
+
| gcc 4.7.2 linaro 13.04 || 2013-04-16 || Stable ||  || [https://mega.co.nz/#!Oo5zBTJK!J5LDLRWxRhaLCqpTigp0lR9_ViA6aaJIymju24MJRbI Download] || [https://mega.co.nz/#!elwl3Cya!KXCSTju_RJUwj2OtQvdlJEhMdOMgUvouXMKJFFgYiWc Download]
 
|-
 
|-
| gcc 4.8.0 linaro 13.04 || 2013-04-16 || Testing ||- Do not use to build kernel<br>- More c++11 || [https://mega.co.nz/#!PhQzjRRZ!afjACiWRvZ-wNFu62R-LgTUSo2Mle-dt4AijIoNwq08 Download] || [https://mega.co.nz/#!ihwUiQYC!fih1yXCrsRR5ku6MhTGx5g-zIA5mClerDbpH79lwego Download]
+
| gcc 4.8.0 linaro 13.04 || 2013-04-16 || Testing ||- Do not use to build kernel<br>- More c++11 || [https://mega.co.nz/#!n9RGARRJ!YHP5B2ylwn_Vo1vXxZcP9WAeXH4ovEFJ-AEyCerqR_M Download] || [https://mega.co.nz/#!ihwUiQYC!fih1yXCrsRR5ku6MhTGx5g-zIA5mClerDbpH79lwego Download]
 
|}
 
|}
  

Revision as of 06:52, 19 April 2013

These are already built toolchains optimized for arm1176jzf-s CPUs, such us in Samsung s3c6410 (mini6410 board) and the Broadcom BCM2835 (Raspberry Pi).

Download

Important: Select if you need softfloat or hardfloat toolchain. More information on soffloat vs hardfloat.

View all toolchains

Soft Float

Version Date Type Notes 32 bit 64 bit
gcc 4.7.2 linaro 13.04 2013-04-16 Stable Download Download
gcc 4.8.0 linaro 13.04 2013-04-16 Testing - Do not use to build kernel
- More c++11
Download Download

Hard Float

Version Date Type Notes 32 bit 64 bit
gcc 4.7.2 linaro 13.04 2013-04-16 Stable Download Download
gcc 4.8.0 linaro 13.04 2013-04-16 Testing - Do not use to build kernel
- More c++11
Download Download

Install

  1. Download the desired toolchain version.
  2. As root (or using sudo) unpack the file
    tar jxvf arm-linux-gcc-4.x-xxxx.xx-arm1176jzfsxf-TuxamitoSoftToolchains-x86_x.tar.bz2 -C /
    This will automatically install it in the folder /opt/TuxamitoSoftToolchains/
  3. Add the binaries location (/opt/TuxamitoSoftToolchains/arm-arm1176jzfsxf-linux-gnueabi/gcc-linaro-4.x-xxxx.xx/bin) to the PATH variable:
    • Temporally: export PATH=$PATH:/opt/TuxamitoSoftToolchains/arm-arm1176jzfsxf-linux-gnueabi/gcc-linaro-4.x-xxxx.xx/bin (for one use)
    • Permanently: adding "PATH=$PATH:/opt/TuxamitoSoftToolchains/arm-arm1176jzfsxf-linux-gnueabi/gcc-linaro-4.x-xxxx.xx/bin" to your ~/.bashrc file
  4. If it is correctly installed then executing arm-linux-gcc -v should show the gcc version.