simulavr-devel
[Top][All Lists]
Advanced

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

Re: [Simulavr-devel] Build Error: demo.c


From: Theodore A. Roth
Subject: Re: [Simulavr-devel] Build Error: demo.c
Date: Tue Oct 22 15:35:02 2002

Which version of simulavr are you using? I would suspect that the problem
goes away if you use the current cvs version of gcc.

Try switching the order of the outb() arguments and see if that helps.

If you don't need the test programs, configure with the --without-tests
option.

Hope that helps.

Ted Roth

On Tue, 22 Oct 2002, Harald Skoglund wrote:

:) avr-gcc  -I. -I/usr/avr/    -g -Wall -v -save-temps -mmcu=at90s8515 -c demo.c
:) Reading specs from /usr/lib/gcc-lib/avr/3.2/specs
:) Configured with: ../src/configure -v --enable-languages=c --prefix=/usr 
--infodir=/usr/share/info --mandir=/usr/share/man --enable-shared --with-gnu-as 
--with-gnu-ld --with-system-zlib --enable-long-long --enable-nls 
--without-included-gettext --disable-checking --build=i386-linux 
--host=i386-linux --target=avr
:) Thread model: single
:) gcc version 3.2 (Debian)
:)  /usr/lib/gcc-lib/avr/3.2/cpp0 -lang-c -v -I. -I/usr/avr/ -D__GNUC__=3 
-D__GNUC_MINOR__=2 -D__GNUC_PATCHLEVEL__=0 -D__GXX_ABI_VERSION=102 -DAVR 
-D__AVR__ -D__AVR -D__NO_INLINE__ -D__STDC_HOSTED__=1 -D__AVR_ARCH__=2 
-D__AVR_AT90S8515__ -D__SIZE_TYPE__=unsigned int -D__PTRDIFF_TYPE__=int 
-D__INT_MAX__=32767 demo.c -Wall demo.i
:) GNU CPP version 3.2 (Debian) (cpplib) (GNU assembler syntax)
:) ignoring nonexistent directory "/usr/avr/sys-include"
:) #include "..." search starts here:
:) #include <...> search starts here:
:)  .
:)  /usr/avr
:)  /usr/lib/gcc-lib/avr/3.2/include
:)  /usr/avr/include
:) End of search list.
:)  /usr/lib/gcc-lib/avr/3.2/cc1 -fpreprocessed demo.i -quiet -dumpbase demo.c 
-mmcu=at90s8515 -g -Wall -version -o demo.s
:) GNU CPP version 3.2 (Debian) (cpplib) (GNU assembler syntax)
:) GNU C version 3.2 (Debian) (avr)
:)      compiled by GNU C version 2.95.4 20011002 (Debian prerelease).
:) 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: *** [demo.o] Error 1
:)
:) This might be a GCC-bug, but I'm submitting it here first, just incase
:) it's me who's doing something stupid :)
:)
:) --
:) Harald
:)





reply via email to

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