Hi all, I got it to work. Here is my chain of commands to get avr-gcc and avrdude running on Solaris 10!
Best wishes, Andreas We download http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz: PREFIX=/usr/local/avr export PREFIX PATH=$PATH:$PREFIX/bin export PATH cd /usr/src mkdir avr cd avr gunzip binutils-2.24.tar.gz gtar xvf binutils-2.24.tar cd binutils-2.24 ./configure --target=avr --program-prefix="avr-" --prefix=$PREFIX make make install We download http://gcc.cybermirror.org/releases/gcc-4.2.0/gcc-4.2.0.tar.bz2: cd /usr/src/ gtar xvf mpfr-2.4.0.tar cd mpfr-2.4.0 ./configure make make install cd /usr/src/avr mkdir avrgcc bunzip2 gcc-4.3.3.tar.bz2 gtar xvf gcc-4.3.3.tar cd avrgcc ../gcc-4.3.3/configure --target=avr --prefix=/usr/local/avr --enable-languages=c --disable-libssp --disable-shared --disable-libada --disable-libssp --disable-nls --with-dwarf2 --with-gmp=/usr/local --with-mpfr=/usr/local --prefix=/usr/local/avr make make install pico /etc/default/login pico /etc/default/su PATH= ...:/usr/local/avr/bin SUPATH= ...:/usr/local/avr/bin Relogin to get the new PATH value. which avr-gcc We download http://download.savannah.gnu.org/releases/avr-libc/avr-libc-1.8.1.tar.bz2: cd /usr/src/avr bunzip2 avr-libc-1.8.1.tar.bz2 gtar xvf avr-libc-1.8.1.tar cd avr-libc-1.8.1 ./configure --host=avr make make install We get avrdude-5.8 sources and build as follows: LIBUSB=/usr/sfw export CPPFLAGS="-I${LIBUSB}/include" export LDFLAGS="-L${LIBUSB}/lib" make make install This installs /usr/local/bin/avrdude /usr/local/etc/avrdude.conf We can now do avrdude -c avrispmkII -P usb -p atmega8 and get something like avrdude: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.01s avrdude: Device signature = 0x1e9307 avrdude: safemode: Fuses OK avrdude done. Thank you. _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list