Difference between revisions of "Cross-compile toolchains"
(→Soft Float) |
|||
Line 8: | Line 8: | ||
=== Soft Float === | === Soft Float === | ||
− | {| class="wikitable" | + | {| class="wikitable sortable" |
|- | |- | ||
− | ! Version !! Date !! Type !! Notes !! 32 bit !! 64 bit | + | ! Version !! Date !! Type !! C library !! GMP !! MPFR !! PPL !! CLooG/ppl !! MPC !! Notes !! 32 bit !! 64 bit |
|- | |- | ||
− | | gcc 4.7.2 linaro | + | | gcc 4.7.2 linaro 2013.04 || 2013-04-16 || Stable || eglibc 2.17 || 5.0.2 || 3.1.0 || 0.11.2 || 0.15.11 || 0.9 || || [https://mega.co.nz/#!mpAg0ajD!bHK0PU7QKyDNtRjUhl5w1mf6dBEuBFLbrl_Sjf0FVvk Download] || [https://mega.co.nz/#!T5hHlL4S!HOuDmj_81ZFH8M-bnKBtXCEE41Fsk2UPYPXPFcJ1XAM Download] |
|- | |- | ||
− | | gcc 4.8.0 linaro | + | | gcc 4.8.0 linaro 2013.04 || 2013-04-16 || Testing || eglibc 2.17 || 5.0.2 || 3.1.0 || 0.11.2 || 0.15.11 || 0.9 || - Do not use to build kernel<br>- More c++11 || [https://mega.co.nz/#!G4JAXQQI!Pw-y-UPP_yyqAqr_ng4FTWoNuk9XeQzUtnEWHLnhv9Q Download] || [https://mega.co.nz/#!b0hVhSxD!B0HwXEL4a0w2v89ohc_sBi9gdJoVGKFMRT_c08YLUE8 Download] |
|} | |} | ||
Revision as of 08:49, 22 May 2013
These are already built toolchains optimized for arm1176jzf-s CPUs, such us in Samsung s3c6410 (mini6410 board) and the Broadcom BCM2835 (Raspberry Pi).
Contents
Download
Important: Select if you need softfloat or hardfloat toolchain. More information on soffloat vs hardfloat.
Soft Float
Version | Date | Type | C library | GMP | MPFR | PPL | CLooG/ppl | MPC | Notes | 32 bit | 64 bit |
---|---|---|---|---|---|---|---|---|---|---|---|
gcc 4.7.2 linaro 2013.04 | 2013-04-16 | Stable | eglibc 2.17 | 5.0.2 | 3.1.0 | 0.11.2 | 0.15.11 | 0.9 | Download | Download | |
gcc 4.8.0 linaro 2013.04 | 2013-04-16 | Testing | eglibc 2.17 | 5.0.2 | 3.1.0 | 0.11.2 | 0.15.11 | 0.9 | - 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
- Download the desired toolchain version.
- 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/ - 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
- Temporally:
- If it is correctly installed then executing
arm-linux-gcc -v
should show the gcc version.
<comments/>