Instructions Circuit Diagram

- 23 -
Binutils for AVR
Now you must unpack the sourcecode of the binutils and add a few patches.
We suppose in our example that you have copied everything into the home
directory ~/Robot Arm:
> cd ~/Robot Arm
> bunzip2 -c binutils-2.17.tar.bz2 | tar xf -
> cd binutils-2.17
> patch -p0 < ../binutils-patch-aa.diff
> patch -p0 < ../binutils-patch-atmega256x.diff
> patch -p0 < ../binutils-patch-coff-avr.diff
> patch -p0 < ../binutils-patch-newdevices.diff
> patch -p0 < ../binutils-patch-avr-size.diff
> mkdir obj-avr
> cd obj-avr
Now execute the congure script:
> ../congure --prex=$PREFIX --target=avr --disable-nls
This script detects what is available in your system and generates suitable
makeles. Now the binutils can be compiled and installed:
> make
> make install
Depending on the computing power of your system, this can take a few minu-
tes. That applies also to the next two sections, especially to the GCC!
Java 6
The RobotLoader (see Info below) has been developed for the Java platform
and is suitable for Windows and Linux (theoretically also for operating systems
like OS X but AREXX Engineering is unfortunately not yet in a position to give
ofcial support). To make it work, you need to install an updated Java Runtime
Environment (JRA). It is often already installed on the computer but it must be
at least version 1.6 (= Java 6)! If you have no JRE or JDK installed, you must
install the supplied JRE 1.6 from SUN Microsystems or alternatively download a
newer version from http://www.java.com or http://java.sun.com.