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

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

 



On 28/07/16 13:41 +0200, spike wrote:
On 28.07.2016 13:37, spike wrote:
Is there some piece of information that would be helpful to sort out, what's going on? Btw: I've tried the c++ compiler/linker as well, same story...

Here's some more verbose output. It's not unlikely that this is a pebkac error...

It is.

$ avr-g++ -v -Wl,-Map,ArduinoTest_cpp.map,--cref -mrelax -Wl,--gc-sections -mmcu=atmega328p -o "ArduinoTest_cpp.elf"  ./main.o   -l"/home/spike/workspaceAVR/libarduino/328P_16MHz/liblibarduino.a"

That's not how you find libraries.

Either use
/home/spike/workspaceAVR/libarduino/328P_16MHz/liblibarduino.a
without the -l option or use
-L/home/spike/workspaceAVR/libarduino/328P_16MHz -llibarduino

But "liblibarduino.a" looks wrong as well, so it should be:

-L/home/spike/workspaceAVR/libarduino/328P_16MHz -larduino
--
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