[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Simulavr-devel] Making simulavr
From: |
Theodore A. Roth |
Subject: |
Re: [Simulavr-devel] Making simulavr |
Date: |
Sat, 1 Mar 2003 18:47:45 -0800 (PST) |
On Sat, 1 Mar 2003, Russell Shaw wrote:
:)Hi,
:)I just got simulavr from cvs and did:
:)
:)./bootstrap
:)./configure --with-avr-include=/usr/avr/include
:)make
:)
:)and got errors doing test_c.
:)
:)I'm using avr-gcc 3.2. I guess it was made for the 2.95 compiler?
:)
:)
:)address@hidden/simulavr: make
:)Making all in src
:)make[1]: Entering directory `/home/russell/simulavr/src'
:)make all-recursive
:)make[2]: Entering directory `/home/russell/simulavr/src'
:)Making all in disp
:)make[3]: Entering directory `/home/russell/simulavr/src/disp'
:)make[3]: Nothing to be done for `all'.
:)make[3]: Leaving directory `/home/russell/simulavr/src/disp'
:)Making all in disp-vcd
:)make[3]: Entering directory `/home/russell/simulavr/src/disp-vcd'
:)make[3]: Nothing to be done for `all'.
:)make[3]: Leaving directory `/home/russell/simulavr/src/disp-vcd'
:)make[3]: Entering directory `/home/russell/simulavr/src'
:)make[3]: Leaving directory `/home/russell/simulavr/src'
:)make[2]: Leaving directory `/home/russell/simulavr/src'
:)make[1]: Leaving directory `/home/russell/simulavr/src'
:)Making all in test_c
:)make[1]: Entering directory `/home/russell/simulavr/test_c'
:)avr-gcc -I. -g -Wall -mmcu=at90s8515 -c demo.c
:)demo.c: In function `main':
:)demo.c:18: warning: asm operand 0 probably doesn't match constraints
:)demo.c:18: warning: asm operand 1 probably doesn't match constraints
:)demo.c:21: warning: asm operand 0 probably doesn't match constraints
:)demo.c:21: warning: asm operand 1 probably doesn't match constraints
:)demo.c:27: Internal compiler error in instantiate_virtual_regs_1, at
function.c:4126
:)Please submit a full bug report,
:)with preprocessed source if appropriate.
:)See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
:)make[1]: *** [demo.o] Error 1
:)make[1]: Leaving directory `/home/russell/simulavr/test_c'
:)make: *** [all-recursive] Error 1
Are you using version 3.3 (experiental or prelease) of avr-gcc with the
latest avr-libc (either cvs or a recent snapshot).
The error you are seeing is from avr-gcc. I think you need a more recent
version.
I have successfully built simulavr using gcc-2.95.x (debian), gcc-2.96
(redhat-7.3) and gcc-3.2 (redhat-8.0).
If you configure simulavr with --disable-tests, I think you will have a
successful build.
Let me know if you still have problems.
Ted Roth