Sunday, July 31, 2011

Installing GNU ARM Toolchain (Ubuntu)

Installing the GNU ARM toolchain is a breeze in Debian/Ubuntu. Just fire up the terminal and enter the following three lines.
sudo add-apt-repository ppa:bdrung/bsprak
sudo apt-get update
sudo apt-get install arm-elf-toolchain
(From Benjamin Drung)

This will install all the tools you will need to assemble and link your ARM-based files. arm-elf-gdb is a GDB-based debugger that will let simulate an ARM microprocessor in which you can step through, and examine registers and memory.

If you want to install the toolchain on Windows or Mac OSX, head on over to http://www.gnuarm.com/files.html