------- Comment #4 from j at uriah dot heep dot sax dot de 2006-08-14 14:28 ------- (In reply to comment #3) > -lm was not an user supplied option as shown by your commands. >
Oh no, sorry for the confusion: it *is* a user-supplied library. Sorry, I now see that I somehow copy&pasted the wrong sequence. :-( OK, here's the essence again, now with the correct commands: % avr-gcc -v foo.cc -lm ... /tools/i686/lib/gcc/avr/4.1.0/../../../../avr/bin/ld [...] /tmp/cc6mvtc6.o -lm -lgcc -lc -lgcc % avr-g++ -v foo.cc -lm ... /tools/i686/lib/gcc/avr/4.1.0/../../../../avr/bin/ld [...] /tmp/cck5jSBR.o -lgcc -lm -lgcc -lc -lgcc I hope that makes my question clearer now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28718