Aversive/Devguide/install avr libc

De Wikidroids

How to setup the last version of the avr-libc:

First, download and unzip the following packages :

wget http://download.savannah.gnu.org/releases/avr-libc/avr-libc-1.4.4.tar.bz2
wget http://download.savannah.gnu.org/releases/avr-libc/avr-libc-user-manual-1.4.4.tar.bz2
tar jxfv avr-libc-1.4.4.tar.bz2
tar jxfv avr-libc-user-manual-1.4.4.tar.bz2
rm *.tar.bz2

Then, make and install avr-libc :

cd avr-libc-1.4.4/ 
./configure --prefix=/usr --build=`./config.guess` --host=avr
make
sudo make install

And finally, copy the documentation in the appropriate directory

cd ..
cd avr-libc-user-manual-1.4.4/
sudo cp * /usr/share/doc/avr-libc-1.4.4/

That's all !

Boîte à outils
LANGUAGES