How to build ARM mbed projects on GNU Tools (offline)

  • GNU Tools for ARM Embedded Processor

  • Download GNU Tools on GNU Tools page

    • relsase.txt – release notes
    • win32/ win64 – windows installer
    • linux – linux installation
    • mac – MAC installation
    • How-to-build-tolchain.pdf – how to build
    • readme.txt
    • license.txt
  • Uncompress tar file
    tar xvf gcc-arm-none-eabi-4_7-2013q3-20130916-linux.tar.bz2

  • make /usr/local/arm, /arm/ is the custom software folder
    mkdir /usr/local/arm

  • Move gcc-arm-none-eabi-4_7-2013q3 to /usr/loack/arm
    sudo mv gcc-arm-none-eabi-4_7-2013q3 /usr/local/arm

  • Add path to existing shell, and apply
    vi ~/.bashrc
    export PATH=/usr/loacl/arm/gcc-arm-none-eabi-4_7-2013q3/bin:$PATH
    source ~/.bashrc