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.
_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat