Automating avr-gnat and AVR-Ada installation
For those, who don't want to follow my manual build instructions, I made a script which automates the steps.
You can use the script like this:
wget https://hg.sr.ht/~tkoskine/avr-ada-build-script/archive/tip.tar.gz tar zxvf tip.tar.gz cd avr-ada-build-script-tip/ sh -x build-avr-ada-environment.sh
The script will build GNAT 4.7.0 into $HOME/programs64/gnat-native-470 directory and AVR-Ada and AVR-GNAT into $HOME/programs64/avr-ada-470 directory. If you want to change the locations, you need to edit GNATPREFIX and AVRADAPREFIX variables at the beginning of the script.
The script is tested on Fedora 16 and Fedora 17, although I make no promises that it actually works anywhere.