Artur Lipowski пишет:
After upgrade this packages to versions binutils-avr_2.13.90.0.18,
avr-libc_20030512 I can't compile and link any project without
errors.
...
It is not upgrade it is preparing for research of historical tools 8-)
Use the latest releases of mentioned tools (gcc 3.3.1 binutils 2.14
avr-libc 1.0) please.
What kind of errors you got?
with both binutils-avr_2.13.90.0.18 and avr-libc_20030512 installed:
---------
avr-gcc -g -mmcu=at90s8515 -Wall -Wstrict-prototypes -Os
-mcall-prologues -Wa,-ahlms=test-led7.o -o test-led7.out
-Wl,-Map,test-led7.map \
test-led7.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
---------
when I downgrade binutils-avr to version 2.12.90.0.7:
---------
avr-gcc -g -mmcu=at90s8515 -Wall -Wstrict-prototypes -Os
-mcall-prologues -Wa,-ahlms=test-led7.o -o test-led7.out
-Wl,-Map,test-led7.map \
test-led7.o
/usr/lib/gcc-lib/avr/3.2/../../../../avr/bin/ld: section .vectors
[00000142 -> 0000015b] overlaps section .data [00000142 -> 0000015f]
/usr/lib/gcc-lib/avr/3.2/../../../../avr/bin/ld: section .init2
[0000015c -> 00000167] overlaps section .data [00000142 -> 0000015f]
---------
Tnx.