On 28.07.2016 13:56, Jonathan Wakely wrote: > On 28/07/16 13:41 +0200, spike wrote: >> Here's some more verbose output. It's not unlikely that this is a pebkac error... > > It is. You, Sir, are 100% correct and made my day! >> $ 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 I've used eclipse to set this up and for some odd reason my "library paths" tab in the project settings is gone. It was pretty late last night and I didn't notice that I've put the lib under the "library" tab (which corresponds to -l) and for some reason didn't see the small letter/capital letter change. I ran so far down a completely different path that I just didn't see the obvious. Thanks a lot for helping me out and sorry for the noise. :) -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx