
RP6 ROBOT SYSTEM - 3. Hardware and Software Setup
First of all you will have to deinstall any preceding – and as already stated probably
obsolete - versions of the avr-gcc, avr-binutils and avr-libc. To start deinstall you may
use your distributions package manager tool, search for “avr” and then deinstall the
packages from your system, if the tool finds corresponding objects starting with
“avr-”.
You may easily check whether avr-gcc has been installed or not. If it exists you may
ask for the location of the program by executing the following on a command-line:
> which avr-gcc
If the system responds with a pathname, then most likely an avr-gcc version already
exists on your system. In this case you can check its version:
> avr-gcc --version
If the version number is under 3.4.6, you definitely have to deinstall it. If the version
number is newer than 3.4.6 you may test it by compiling programs (see next
chapter). If compiling fails you can proceed by deinstalling old versions and installing
the avr-gcc version from the CD. The following chapter will refer to version 4.1.1 (re-
leased March 2007) including some important patches that are usually also included in
WinAVR.
Attention: please check the availability of the standard Linux development packages,
e.g. GCC, make, binutils, libc, etc. before you start compiling and installing! Use your
distributions package manager. Each Linux distribution should provide the required
packages on the installation CD or alternatively you should be able to obtain the latest
packages via Internet.
Please make sure you have the program “texinfo” installed. If the program is missing,
you have to install it before proceeding with the installation – otherwise the installa-
tion process will fail!
Having completed this, you may now start the actual installation.
You have three options to chose from: you can compile and install all packages manu-
ally, you may use a simple automatic install script
or you use the precompiled .deb
packages. The precompiled packages can be found on the CD and are useable
on Debian / Ubuntu based systems.
(Newer Version may be found here: http://www.wrightflyer.co.uk/avr-gcc/ )
We suggest to try the .debs first, if that is not possible try the script and use manual
install only if problems occur!
Attention: Please check whether you have enough free disk space! You will need more
than 400MB of free space. More than 300MB of this data is only required temporairly
for compiling, but may be removed later.
A number of install jobs require root rights and we suggest you should be logged in as
root by “su” OR alternatively start critical jobs with “sudo” (as usual for the Ubuntu-
distribution) or corresponding commands. The install script, mkdir in /usr/local/ dir-
ectories and make install require root-rights.
Please pay attention to the CORRECT spelling of the following commands! Each and
every symbol is meaningful and even if some of these commands may look
awkward – these lines are perfectly correct and do not contain typing errors! (Of
course you will still have to replace the string
<CD-ROM-drive>
by the name of your
CD-ROM-drive device!).
- 33 -