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

2016-07-28 Thread spike
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,--g

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

2016-07-28 Thread Jonathan Wakely
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 pebka

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

2016-07-28 Thread spike
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... $ avr-g++ -v -Wl,-Map,Ard

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

2016-07-28 Thread spike
Hi Thibault, On 28.07.2016 13:00, Thibault North wrote: > You're right that avr-libc is outdated. Would you mind testing this > scratch build and testing it with your avr-gcc?Available here: > https://kojipkgs.fedoraproject.org//work/tasks/6378/15046378/avr-libc-2.0.0-1.fc23.src.rpm Thanks a bunc

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

2016-07-28 Thread Thibault North
On Thu, Jul 28, 2016 at 4:07 AM, spike wrote: > [snap] > 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/

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

2016-07-27 Thread spike
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/../../