Joerg Wunsch <j <at> uriah.heep.sax.de> writes: > > (Please subscribe to the list, you'll miss replies otherwise.) >
Good advise. I have registered now, but have not got any confirmation mail, yet, after some hours waiting. I will keep an eye on this thread manually until then > As Vidar Vidnes wrote: > > > In file included from ../../../../common/macros.inc:39:0, > > from ../../../../crt1/gcrt1.S:38: > > ../../../../include/avr/io.h:404:6: warning: #warning "device type not > > defined" > > Herein lies the rub. Somehow, your build process must be busted, and > no (or no appropriate) -mmcu= option passed to the compiler. You > didn't include the compiler command-line in your transcript. > > Without a valid MCU name, building gcrt1.S cannot work. > Yes, I noticed that but could not link it up to anything I did since I used the below configuration options. That is if option "--target=avr" (or "--host=avr" for avr-libc) is not enough. Command line options for GCC (compilation went well) ../configure --prefix=$PREFIX --target=avr --enable-languages=c --disable-nls --disable-libssp --with-dwarf2 Command line options for Avr-libc (compiled with error) ./configure --prefix=$PREFIX --build=`./config.guess` --host=avr PREFIX is in both case /usr/local/avr Have I missed an option here? Breg Vidar Vidnes _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev