GNUARM is a set of open source GNU compiler for ARM microcontroller. The toolchain consists of the GNU binutils, GCC compiler set, Newlib and Insight, the graphical user interface to GNU debugger. However, building the compiler is not an easy task since you have the dependencies. Fortunately, I found a magic script from this developers group. They have created a script to compile GNU ARM toolchain automatically but their target is for Lego Mindstorms NXT platform. By a little modifying, I created a GNU ARM toolchain installer for general purpose.
Features * Automatically compile GNU ARM toolchain with one command by implementing of the process as suggested on
http://www.gnuarm.org/support.html * The toolchain includes GNU C/C++, Binutils, Newlib and Insight GUI debugger
* Tested on Ubuntu 8.04 and 8.10
* Compatible with 32 and 64 bit
Obtaining the latest versionYou can get the installer in either ways
* Check out from SVN
svn checkout http://hobbycode.googlecode.com/svn/trunk/gnu-arm-installer\\
gnu-arm-installer
* Download the Tarball:
gnu-arm-installer-v0.2.tar.gzInstallations1. Download the latest installer
gnu-arm-installer-v0.2.tar.gz and then extract the archive by typing:
tar xzf gnu-arm-installer-v0.2.tar.gz
2. Download the following source files to gnu-arm-installer/src
*
binutils-2.19.tar.bz2*
gcc-4.3.2.tar.bz2*
newlib-1.16.0.tar.gz*
insight-6.8.tar.bz2and then type these commands:
cd gnu-arm-installer
./gnu-arm-installer.sh
The installer will extract and compile all of the source files automatically. If it is successful, you will get the toolchain in install/ directory.
Known issues* insight-6.8 source code has a little problem with missing termcap library on Ubuntu. You have to install libncurses5-dev to solve the problems.
* to work with Ubuntu 8.10 need to add --disable-werror in configure option
* usual compiling failure is due to lack of dependencies i.e, patch, texinfo, gmp-dev gmfr-dev and etc...
Maintained by: Waipot Ngamsaad
License: GPL version 3 or newer
Disclaimer: You use this software with your own responsibilities. I do not guarantee anything.
PS: If you get any troubles, please feel free to report the Bugs here.
---