[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Setting up AVR tool chain on Solaris

From: Andreas Höschler
Subject: Re: [avr-gcc-list] Setting up AVR tool chain on Solaris
Date: Wed, 8 Oct 2014 23:39:43 +0200

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 address@hidden:/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 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
        make install

        cd /usr/src/avr
        mkdir avrgcc
        scp address@hidden:/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 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 address@hidden:/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 
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details

Any idea?

Thanks a lot,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]