Skip to content

Instantly share code, notes, and snippets.

@mnemocron
Created March 16, 2021 08:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mnemocron/06d75d15d7128389ac9a569c4dc1e8d5 to your computer and use it in GitHub Desktop.
Save mnemocron/06d75d15d7128389ac9a569c4dc1e8d5 to your computer and use it in GitHub Desktop.
Installation Script for arm-none-eabi-gcc 7-2018-q2
#!/bin/bash
NAME=7-2018-q2
GCC_URL=https://developer.arm.com/-/media/Files/downloads/gnu-rm/7-2018q2/gcc-arm-none-eabi-7-2018-q2-update-linux.tar.bz2?revision=bc2c96c0-14b5-4bb4-9f18-bceb4050fee7?product=GNU%20Arm%20Embedded%20Toolchain,64-bit,,Linux,7-2018-q2-update
pushd .
cd ~
mkdir arm-gcc-toolchain
wget -O $HOME/arm-gcc-toolchain/gcc.tar.bz2 $GCC_URL
cd arm-gcc-toolchain
tar -jxf gcc.tar.bz2 --strip=1
popd
export PATH=$HOME/arm-gcc-toolchain/bin:$PATH
echo -e "ARM GCC Compiler Version:\n"
arm-none-eabi-gcc --version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment