curl -s https://github.com/matthiasr/summon-arm-toolchain/raw/master/summon-arm-toolchain | /bin/sh git clone git://github.com/matthiasr/r0ket.git r0ket cd r0ket/firmware cp SECRETS SECRETS.release PATH=$HOME/arm/bin:$PATH ./release-all
Another working example:
git clone https://github.com/esden/summon-arm-toolchain.git cd summon-arm-toolchain ./summon-arm-toolchain PREFIX=$HOME/arm USE_LINARO=0 ...
gcc-linaro fails to build, and when building by hand he had problems while linking. ratte
I adapted a Script for building a GNU binutils/GCC/Newlib/GDB toolchain. It should be portable. gmp, mpfr and mpc need not be installed.
The script will build binutils, gcc, the newlib C library, gcc again and gdb into ~/arm by default.
Currently there is one issue with the mainline r0ket firmware; in some circumstances the linker for loadables fails to find some library functions gcc inserts on variable initialisations or something. I've found that linking with gcc instead fixes this problem. A fixed version is available from my repo for now.