avr-gcc refusing to link against avr-libc in Fedora 23

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi everyone,

I'm trying to get avr-gcc to link against library that I built (which is just the arduino core library):

avr-gcc -Wl,-Map,ArduinoTest.map -mmcu=atmega328p -o "ArduinoTest.elf"  ./main.o   -l/home/spike/workspaceAVR/libarduino/328P_16MHz/liblibarduino.a
/usr/lib/gcc/avr/4.9.3/../../../../avr/bin/ld: cannot find -l/home/spike/workspaceAVR/libarduino/328P_16MHz/liblibarduino.a

alghough: ls -lah /home/spike/workspaceAVR/libarduino/328P_16MHz/liblibarduino.a 
-rw-rw-r-- 1 spike spike 56K 28. Jul 03:50 /home/spike/workspaceAVR/libarduino/328P_16MHz/liblibarduino.a

Yes, the 'liblib' is a bit of a screw up on my side, it's late here, can't be bothered at the moment. Rest assured that the paths and filenames are correct. :)

Could it be that the current avr-gcc that's in Fedora 23 (and it seems also in 24 and rawhide) is just not playing nicely with the (apparently pretty ancient) avr-libc version? Something was mentioned here: http://stackoverflow.com/questions/31740435/cannot-compile-and-link-avr-program-in-os-x
We're on version 1.8.0 in Fedora 23 and 24 and apparently version 1.8.1 has been released in 2014 and version 2.0.0 has been out since 02/2016. Any chance, there's an update for me to try out somewhere without having to recompile avr-libc myself?

Cheers!
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux