avr-gcc-list
[Top][All Lists]
Advanced

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

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


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

Hi all,

I am following 

        http://www.ladyada.net/learn/avr/setup-unix.html

to setup the AVR tool chain on a Solaris 10 box (Intel). So far I did

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
        tar 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/avr
        mkdir avrgcc
        scp address@hidden:/home/ahoesch/Downloads/gcc-4.2.0.tar.bz2 .
        bunzip2 gcc-3.4.4.tar.bz2
        gtar xvf gcc-3.4.4.tar
        cd avrgcc
        ../gcc-3.4.4/configure  --with-ar=/usr/local/bin/avr-ar 
--with-as=/usr/local/bin/avr-as --with-ld=/usr/local/bin/avr-ld --target=avr 
--enable-languages=c --disable-libssp --disable-nls --disable-libgcj 
        make

Installing binutils worked. However, when I try to build gcc I get

********************************************************************************************
config.status: executing default commands
make[1]: Entering directory `/usr/share/src/avr/avrgcc/libiberty'
rm -f needed-list; touch needed-list; \
        for f in atexit calloc memchr memcmp memcpy memmove memset rename 
strchr strerror strncmp strrchr strstr strtol strtoul tmpnam vfprintf vprintf 
vfork waitpid bcmp bcopy bzero; do \
          for g in mempcpy.o mkstemps.o sigsetmask.o stpcpy.o stpncpy.o ; do \
            case "$g" in \
              *$f*) echo $g >> needed-list ;; \
            esac; \
          done; \
        done
echo regex.o cplus-dem.o cp-demangle.o cp-demint.o md5.o alloca.o argv.o 
choose-temp.o concat.o dyn-string.o fdmatch.o fibheap.o floatformat.o fnmatch.o 
getopt.o getopt1.o getpwd.o getruntime.o hashtab.o hex.o lbasename.o 
lrealpath.o make-relative-prefix.o make-temp-file.o objalloc.o obstack.o 
partition.o physmem.o pex-unix.o safe-ctype.o sort.o spaces.o splay-tree.o 
strerror.o strsignal.o ternary.o xatexit.o xexit.o xmalloc.o xmemdup.o 
xstrdup.o xstrerror.o > required-list
make[2]: Entering directory `/usr/share/src/avr/avrgcc/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/share/src/avr/avrgcc/libiberty/testsuite'
make[1]: Leaving directory `/usr/share/src/avr/avrgcc/libiberty'
make[1]: Entering directory `/usr/share/src/avr/avrgcc/intl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/share/src/avr/avrgcc/intl'
make[1]: Entering directory `/usr/share/src/avr/avrgcc/gcc'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory `/usr/share/src/avr/avrgcc/gcc'
make: *** [all-gcc] Error 2
********************************************************************************************

Any idea?

Thanks a lot,

 Andreas




reply via email to

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