Hi All, I'm using Debian/testingg on some of my boxes. Last time I had to recompile one of my AVR AT90S8515 designs, but the compilation failed. To check whether it is the problem with my sources I've decided to test the tools with the avr-libc examples (available in the /usr/share/doc/avr-libc/examples directory). I've copied the examples directory into /tmp/examples, ungzipped all gzipped files and try to make both "demo" and "twitest". Below are the results:
[EMAIL PROTECTED]:/tmp/examples/demo$ make avr-gcc -g -Wall -O2 -mmcu=at90s2313 -Wl,-Map,demo.map -o demo.elf demo.o /usr/lib/gcc-lib/avr/3.2/../../../../avr/bin/ld: skipping incompatible /usr/lib/gcc-lib/avr/3.2/libgcc.a when searching for -lgcc /usr/lib/gcc-lib/avr/3.2/../../../../avr/bin/ld: cannot find -lgcc make: *** [demo.elf] Error 1 So there must be a problem with the gcc configuration (wrong versions?) [EMAIL PROTECTED]:/tmp/examples/twitest$ make avr-gcc -O -g -Wall -ffreestanding -mmcu=atmega128 -c -o twitest.o twitest.c /tmp/cc40Ex4b.s: Assembler messages: /tmp/cc40Ex4b.s:248: Error: operand out of range: -96 /tmp/cc40Ex4b.s:252: Error: operand out of range: -100 /tmp/cc40Ex4b.s:276: Error: operand out of range: -120 /tmp/cc40Ex4b.s:283: Error: operand out of range: -127 /tmp/cc40Ex4b.s:310: Error: operand out of range: -151 /tmp/cc40Ex4b.s:344: Error: operand out of range: -179 /tmp/cc40Ex4b.s:606: Error: operand out of range: -346 /tmp/cc40Ex4b.s:1030: Error: operand out of range: -600 /tmp/cc40Ex4b.s:1031: Error: operand out of range: -601 /tmp/cc40Ex4b.s:1178: Error: operand out of range: -719 /tmp/cc40Ex4b.s:1179: Error: operand out of range: -720 make: *** [twitest.o] Error 1 And this is much more strange... The same bunch of errors I've got when trying to recompile my old design... My configuration: Debian/testing on AMD/K7 (Athlon) gcc-avr 3.2-2 avr-libc 20030512cvs-1 binutils-avr 2.13.90.0.18-1.1 -- TIA & Regards, Wojtek Zabolotny [EMAIL PROTECTED]