[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] new binutils-avr and libc-avr usage problems on linux
From: |
Cota Tkachyeff |
Subject: |
Re: [avr-gcc-list] new binutils-avr and libc-avr usage problems on linux. |
Date: |
Mon, 29 Sep 2003 16:16:38 +0300 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.3) Gecko/20030309 |
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.