I didn't realize avr-libc was in svn! Anyway, the first problem is fixed as you said, but I hit another hurdle with memcpy_PF.S:
avr-gcc -DHAVE_CONFIG_H -I. -I../../../../avr/lib/avr31 -I../../.. -I../../../../common -I../../../../include -I../../../include -I../../../../common -I../../../../include -I../../../include -x assembler-with-cpp -Wa,-gstabs -mmcu=avr31 -D__COMPILING_AVR_LIBC__ -MT memcpy_PF.o -MD -MP -MF .deps/memcpy_PF.Tpo -c -o memcpy_PF.o ../../../../libc/pmstring/memcpy_PF.S ../../../../common/macros.inc: Assembler messages: ../../../../common/macros.inc:362: Error: constant value required In macros.inc line 362, it uses AVR_RAMPZ_ADDR which is defined only if RAMPZ is defined in common.h Unfortunatly with -mmcu=avr31, not a specific micro, this doesn't get defined. It also breaks on avr6. The other micros seem to work. Can anyone reproduce this? (sorry if I have confused the email replies, I am still learning this program) Sean On Fri, Nov 25, 2011 at 07:45:24AM +0100, Joerg Wunsch wrote: > As Sean D'Epagnier wrote: > > > The gcc in svn issues errors when variables are non-const and declared > > in progmem. This caused avr-libc to fail to build but it was very easy > > to fix, I attached a patch. > > Already fixed in SVN ... > > -- > cheers, J"org .-.-. --... ...-- -.. . DL8DTL > > http://www.sax.de/~joerg/ NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) > > _______________________________________________ > AVR-libc-dev mailing list > AVR-libc-dev@nongnu.org > https://lists.nongnu.org/mailman/listinfo/avr-libc-dev _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-libc-dev