Instructions Circuit Diagram

- 19 -
Automatic Installation Script
Once you have made the script executable via chmod, you can start
immediately:
> cd ~/Robot Arm
> chmod -x avrgcc_build_and_install.sh
> ./avrgcc_build_and_install.sh
Answer “y” to the question if you want to install with this conguration or not.
PLEASE NOTE: The compilation and installation will take some time depen-
ding on the computing power of your system (e.g about 15 min. on a 2GHz
Core Duo Notebook. Slower systems will need longer).
The script will include also some patches. These are all the .diff les in the
directory.
If the installation was successful, following message will be displayed:
(./avrgcc_build_and_install.sh)
(./avrgcc_build_and_install.sh) installation of avr GNU tools complete
(./avrgcc_build_and_install.sh) add /usr/local/avr/bin to your path to use the avr GNU tools
(./avrgcc_build_and_install.sh) you might want to run the following to save disk space:
(./avrgcc_build_and_install.sh)
(./avrgcc_build_and_install.sh) rm -rf /usr/local/avr/source /usr/local/avr/build
As suggested, you can execute
rm -rf /usr/local/avr/source /usr/local/avr/build
This erases all temporary les that you will not need anymore.
You can skip the next paragraph and set the path to the avr tools.
If the execution of the script failed, you have to look attentively to the error
message (scroll the console up if necessary). In most cases it is just a matter
of missing programs that should have been installed earlier (as e.g. the before
mentioned texinfo le). Before you continue after an error, it is recommended
to erase the already generated les in the standard installation directory “/usr/
local/avr“ – preferably the whole directory.