Skip to content

Instantly share code, notes, and snippets.

@qoopooh
Last active June 22, 2017 06:44
Show Gist options
  • Save qoopooh/d4b9291627e82f5b992e49269a85d109 to your computer and use it in GitHub Desktop.
Save qoopooh/d4b9291627e82f5b992e49269a85d109 to your computer and use it in GitHub Desktop.
#!/bin/sh
#
sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get install -y libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1
sudo apt-get install -y build-essential git-core libncurses5-dev flex bison texinfo zip unzip zlib1g-dev
sudo apt-get install -y gettext gperf libsdl-dev libesd0-dev g++ xz-utils libwxgtk3.0-dev u-boot-tools
wget https://github.com/offensive-security/gcc-arm-linux-gnueabihf-4.7/archive/master.zip
if [ ! -d $HOME/bin ]; then
mkdir $HOME/bin
fi
unzip master.zip -d $HOME/bin/ && \
mv $HOME/bin/gcc-arm-linux-gnueabihf-4.7-master $HOME/bin/gcc-arm && \
rm master.zip && \
cat $HOME/bin/gcc-arm/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment