[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-chat] New avr-libc
From: |
Bob von Knobloch |
Subject: |
[avr-chat] New avr-libc |
Date: |
Wed, 26 Jul 2017 15:26:32 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
Hi,
I'm trying to update to avr-libc-2.0.0.
All (binutils, gcc & avr-libc) compiled and installed without error
messages.
When attempting to compile an existing project, the tool chain reports:
avr-gcc -g -Wall -Wno-main -Os -fno-inline -mmcu=atmega1284p
-DF_CPU=20000000 -DC_YEAR=2017 -fshort-enums -Wno-unused-function -c
-o main.o main.c
avr-gcc -g -Wall -Wno-main -Os -fno-inline -mmcu=atmega1284p
-DF_CPU=20000000 -DC_YEAR=2017 -fshort-enums -Wno-unused-function
-Wl,-Map,main.map -o main.elf main.o
/opt/avr-libc2.0.0-binutils2.9/lib64/gcc/avr/5.4.0/../../../../avr/bin/ld:
cannot find crtatmega1284p.o: No such file or directory
/opt/avr-libc2.0.0-binutils2.9/lib64/gcc/avr/5.4.0/../../../../avr/bin/ld:
cannot find -latmega1284p
collect2: error: ld returned 1 exit status
Makefile:44: recipe for target 'main.elf' failed
make: *** [main.elf] Error 1
I notice that, under '/opt/avr-libc2.0.0-binutils2.9/avr/lib/avr51/
the 'crt' files appear to have different names (when compared to my
existing tool chain):
Old = crtatmega1284p.o
New = crtm1284p.o
Have I missed some parameter that the compilation of the linker needed
to be able find these files? Why are they renamed?
Regards,
Bob von Knobloch
--
The Sun is out, the sky is blue, it's time to drive the MR2.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-chat] New avr-libc,
Bob von Knobloch <=