During https://github.com/natevw/msp430f5529-repro bringup for cr1901/msp430f5529#2 (comment).
Initial project setup:
cargo generate --git https://github.com/rust-embedded/msp430-quickstart
wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-9.3.1.11_linux64.tar.bz2
cd
tar -xjvf msp430-gcc-9.3.1.11_linux64.tar.bz2
mv msp430-gcc-9.3.1.11_linux64 msp430-gcc
export PATH="${HOME}/msp430-gcc/bin:${PATH}"
# doesn't work, Intel arch of course…!!
Compile from source:
wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-9.3.1.11-source-full.tar.bz2
tar -xjvf msp430-gcc-9.3.1.11-source-full.tar.bz2
#wget https://dr-download.ti.com/software-development/ide-configuration-compiler-or-debugger/MD-LlCjWuAbzH/9.3.1.2/msp430-gcc-9.3.1.11-source-patches.tar.bz2
#tar -xjvf msp430-gcc-9.3.1.11-source-patches.tar.bz2
sudo apt-get install build-essential flex bison texinfo
cd msp430-gcc-9.3.1.11-source-full
chmod +x README-build.sh
./README-build.sh
# exits unhappy with missing Python 2.7 but seems to have build the main executables already
ln -s ~/msp430-gcc-9.3.1.11-source-full/install/usr/local ~/msp430-gcc
export PATH="${HOME}/msp430-gcc/bin:${PATH}"