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@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to