- Dowload the following packages (the version numbers you find may
be newer, and will probably work just as well but these are the
latest ones I've tested with.
- Compile and install binutils:
bzcat binutils-2.14.tar.bz2 | tar xf -
cd binutils-2.14
./configure --target=avr --disable-nls [--prefix=/opt/avr]
make
[sudo] make install
- Compile and install gcc:
bzcat gcc-core-3.3.2.tar.bz2 | tar xf -
cd gcc-3.3.2
./configure --target=avr --enable-languages=c [--prefix=/opt/avr]
# Need -no-cpp-precomp option or you'll get errors
make CC="cc -no-cpp-precomp"
[sudo] make install
# add /usr/local/bin to your path if it's not there already
# -- the example fixes your path for a .tchsrc, but you may
# instead have to do this for either the .cshrc or the .login file
echo 'setenv PATH ${PATH}:/usr/local/bin' >> ~/.tcshrc
rehash
- Compile and install avrlibc:
bzcat avr-libc-1.0.4.tar.bz2 | tar xf -
cd avr-libc-1.0.4
# edit doconf and change the PREFIX if necessary
#
./doconf
./domake
[sudo] ./domake install
- Compile and install uisp:
bzcat uisp-20040311.tar.bz2 | tar xf -
cd uisp
./configure [--prefix=/opt/avr]
make
[sudo] make install