Sunday, 8 May 2011

MSPGCC4 on Ubuntu 11.04

There appears to be no single, simple guide on how to install mspgcc4 on Ubuntu, so here goes:


  1. sudo apt-get install git build-essential libexpat1-dev zlib1g-dev libusb-dev texinfo patch libncurses5-dev zlibc libreadline6-dev
  2. git clone git://mspgcc4.git.sourceforge.net/gitroot/mspgcc4/mspgcc
  3. cd mspgcc && sudo perl buildgcc.pl
  4. echo "PATH=${PATH}:/opt/msp430-gcc-4.4.5/bin/" >> ~/.bashrc
  5. echo "export PATH" >> ~/.bashrc
  6. bash +x