[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] compiling avr-gcc from last snapshop with c,c++ fail
From: |
Klaus Rudolph |
Subject: |
Re: [avr-gcc-list] compiling avr-gcc from last snapshop with c,c++ fail |
Date: |
Thu, 27 Jun 2002 15:16:55 +0200 (MEST) |
> Hey Klaus,
>
> I came across that myself a little while ago though I forget the exact
> circumstances... it seems to me the GCC build process is using the wrong
> binutils (as in not one built for the avr). Have you built a newer
> binutils
> for the avr?
Yes, for a few minutes and ..... ahhhhh now i got other errors... :-)
pthread6.cc ..linked
testsuite_flags.in ..linked
creating cache ../config.cache
configure: error: can not find install-sh or install.sh in . ./.. ./../..
make: *** [configure-target-libstdc++-v3] Error 1
/opt/avrgcc/avr/include/stdlib.h: At top level:
cxa_demangle.c:3866: warning: `demangle_v3_with_details' defined but not
used
make[2]: *** [cxa_demangle.lo] Error 1
make[2]: Leaving directory
`/home/rudolphk/avrdownload/gcc-20020624/avr/libstdc+
+-v3/libsupc++'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/rudolphk/avrdownload/gcc-20020624/avr/libstdc+
+-v3'
make: *** [install-target-libstdc++-v3] Error 2
klfs008l:/home/rudolphk/avrdownload/gcc-20020624 # exit
But i got an avr-gcc at the end. Now i will check this really actual version
Thank you all!
Bye Klaus
>
> Tony
>
>
> ----- Original Message -----
> From: "Klaus Rudolph" <address@hidden>
> To: <address@hidden>
> Sent: Thursday, June 27, 2002 4:17 AM
> Subject: [avr-gcc-list] compiling avr-gcc from last snapshop with c,c++
> fail
>
>
> > Hi all,
> >
> > I tried to compile gcc-20020624
> >
> > ./configure --target=avr --disable-nls --enable-language=c
> > make fails with:
> > /home/rudolphk/avrdownload/gcc-20020624/gcc/xgcc
> > -B/home/rudolphk/avrdownload/gcc-20020624/gcc/ -B/usr/local/avr/bin/
> -B/us
> r/local/avr/lib/ -isystem
> >
> /usr/local/avr/include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall
> -Wwrite-stri
> ngs
> > -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -DDF=SF
> > -Dinhibit_libc -mcall-prologues -g -DIN_LIBGCC2
> -D__GCC_FLOAT_NOT_NEEDED
> > -Dinhibit_libc -I. -I. -I. -I./. -I./config -I./../include -DL_mulqi3
> > -xassembler-with-cpp -c ./config/avr/libgcc.S -o libgcc/./_mulqi3.o
> > /tmp/ccPdo93S.s: Assembler messages:
> > /tmp/ccPdo93S.s:27: Error: suffix or operands invalid for `clr'
> > /tmp/ccPdo93S.s:27: Error: no such instruction: `clear result'
> > /tmp/ccPdo93S.s:29: Error: no such instruction: `sbrc r24,0'
> > /tmp/ccPdo93S.s:30: Error: too many memory references for `add'
> > /tmp/ccPdo93S.s:31: Error: too many memory references for `add'
> > /tmp/ccPdo93S.s:31: Error: no such instruction: `shift multiplicand'
> > /tmp/ccPdo93S.s:32: Error: no such instruction: `breq __mulqi3_exit'
> > /tmp/ccPdo93S.s:32: Error: no such instruction: `while multiplicand!=0'
> > /tmp/ccPdo93S.s:33: Error: no such instruction: `lsr r24'
> > /tmp/ccPdo93S.s:34: Error: no such instruction: `brne __mulqi3_loop'
> > /tmp/ccPdo93S.s:34: Error: no such instruction: `exit if multiplier=0'
> > /tmp/ccPdo93S.s:36: Error: too many memory references for `mov'
> > /tmp/ccPdo93S.s:36: Error: no such instruction: `result to return
> register'
> > make[2]: *** [libgcc/./_mulqi3.o] Error 1
> >
> > any ideas? Maybe wrong config options? After that i want to try also
> c++,
> > but
> > if no c compiles :-(
> >
> > Thanks
> > Klaus
> >
> >
> >
> > --
> > GMX - Die Kommunikationsplattform im Internet.
> > http://www.gmx.net
> >
> > avr-gcc-list at http://avr1.org
> >
>
> avr-gcc-list at http://avr1.org
>
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
avr-gcc-list at http://avr1.org