[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] AVR environment on Solaris 10
From: |
Andreas Höschler |
Subject: |
Re: [avr-gcc-list] AVR environment on Solaris 10 |
Date: |
Wed, 2 Dec 2009 11:07:52 +0100 |
Hi all,
Thank you for trying. This seems not to encouraging.
But, at least this tool tests before it runs into unclear
errors... ;-)
Andreas just sent me a personal email saying that he finally got the
toolchain to build.
Well, I got binutils and gcc successfully built with
mkdir /usr/local/avr/
mkdir /usr/local/avr/bin
cd /usr/src
gunzip binutils-2.20.tar.gz
tar xvf binutils-2.20.tar
cd binutils-2.20
./configure --target=avr --prefix=/usr/local/avr
make
make install
cd /usr/src
bunzip2 gcc-4.3.3.tar.bz2
gtar xvf gcc-4.3.3.tar
cd gcc-4.3.3
mkdir objdir
cd objdir
../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
I now have /usr/local/avr/bin/avr-gcc and it seems to work. However,
while building the AVR C library (I am following the getting started
instructions on
http://www.micahcarrick.com/02-15-2006/installing-gnu-tools-avr-
gcc.html) I get the following error:
mkdir /usr/local/avr/src
cd /usr/local/avr/src
bunzip2 avr-libc-1.6.7.tar.bz2
gtar xvf avr-libc-1.6.7.tar
cd avr-libc-1.6.7
./configure --build=`./config.guess` --host=avr --prefix=/usr/local/avr
make
...
make[4]: Entering directory
`/usr/local/avr/src/avr-libc-1.6.7/avr/lib/avr2'
avr-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../common
-I../../../include -g -Wall -W -Wstrict-prototypes
-D__COMPILING_AVR_LIBC__ -mcall-prologues -Os -x assembler-with-cpp
-Wa,-gstabs -D__COMPILING_AVR_LIBC__ -c -o eerd_block_at90s1200.o
\
-mmcu= \
../../../libc/misc/eerd_block.S
cc1: error: missing argument to "-mmcu="
make[4]: *** [eerd_block_at90s1200.o] Error 1
make[4]: Leaving directory
`/usr/local/avr/src/avr-libc-1.6.7/avr/lib/avr2'
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory
`/usr/local/avr/src/avr-libc-1.6.7/avr/lib/avr2'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/usr/local/avr/src/avr-libc-1.6.7/avr/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/local/avr/src/avr-libc-1.6.7/avr'
make: *** [install-recursive] Error 1
Am I missing an environment variable?
Thanks a lot,
Andreas
- RE: [avr-gcc-list] AVR environment on Solaris 10, (continued)
- RE: [avr-gcc-list] AVR environment on Solaris 10, Weddington, Eric, 2009/12/01
- Re: [avr-gcc-list] AVR environment on Solaris 10, Andreas Höschler, 2009/12/01
- Re: [avr-gcc-list] AVR environment on Solaris 10, Jonathan Blanchard, 2009/12/01
- Re: [avr-gcc-list] AVR environment on Solaris 10, Andreas Höschler, 2009/12/01
- RE: [avr-gcc-list] AVR environment on Solaris 10, Weddington, Eric, 2009/12/01
- Re: [avr-gcc-list] AVR environment on Solaris 10, Andreas Höschler, 2009/12/01
- RE: [avr-gcc-list] AVR environment on Solaris 10, Weddington, Eric, 2009/12/01
Re: [avr-gcc-list] AVR environment on Solaris 10, Ruud Vlaming, 2009/12/01
Re: [avr-gcc-list] AVR environment on Solaris 10, Ruud Vlaming, 2009/12/01
- RE: [avr-gcc-list] AVR environment on Solaris 10, Weddington, Eric, 2009/12/01
- Re: [avr-gcc-list] AVR environment on Solaris 10,
Andreas Höschler <=
- Re: [avr-gcc-list] AVR environment on Solaris 10, Andreas Höschler, 2009/12/02
- RE: [avr-gcc-list] AVR environment on Solaris 10, Weddington, Eric, 2009/12/02
- Re: [avr-gcc-list] AVR environment on Solaris 10, Andreas Höschler, 2009/12/02
- [avr-gcc-list] AVR environment on Solaris 10, Andreas Höschler, 2009/12/15
- [avr-gcc-list] Building avrdude on Solaris 10, Andreas Höschler, 2009/12/15
- Re: [avr-gcc-list] Building avrdude on Solaris 10, Joerg Wunsch, 2009/12/16
- Re: [avr-gcc-list] Building avrdude on Solaris 10, Andreas Höschler, 2009/12/16
- Re: [avr-gcc-list] Building avrdude on Solaris 10, Joerg Wunsch, 2009/12/16
- Re: [avr-gcc-list] Building avrdude on Solaris 10, Andreas Höschler, 2009/12/17