Hi all,

I made some progress. I got avr-gcc (v 4.3.3) to build on Solaris. I now get 
stuck at configuring avr-libc! :-(

*****************************************************************************
We download http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz:

        cd /usr/src
        mkdir avr
        cd avr
        scp ahoesch@192.168.1.7:/home/ahoesch/Downloads/binutils-2.24.tar.gz .
        gunzip binutils-2.24.tar.gz
        gtar xvf binutils-2.24.tar
        cd binutils-2.24
        ./configure --target=avr --program-prefix="avr-"
        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
        scp ahoesch@192.168.1.7:/home/ahoesch/Downloads/gcc-4.3.3.tar.bz2 .
        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
*****************************************************************************

The following goes wrong:

        cd /usr/src/avr
        scp ahoesch@192.168.1.7:/home/ahoesch/Downloads/avr-libc-1.8.1.tar.bz2 .
        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

checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for avr-gcc... avr-gcc
checking whether we are cross compiling... yes
checking for suffix of object files... configure: error: in 
`/usr/src/avr/avr-libc-1.8.1':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details

Any idea?

Thanks a lot,

 Andreas



_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to