17 Jul
2009
17 Jul
'09
5:05 p.m.
Well, is it okay or shall i see at evening ? 2009/7/17 bardo <ilbardo@gmail.com>
2009/7/17 bardo <ilbardo@gmail.com>:
A (temporary and very ugly) workaround, for those who work with only one architecture, is linking files in, for example, /usr/avr/lib/avr4/ to /usr/avr/lib/, paying attention to backup files by the same name (libm.a, libc.a...).
Ingo Becker notified me of a much better workaround: add -B/usr/avr/lib/yourarch to the gcc command line. For example: $ avr-gcc -mcpu=atmega8 -O2 -Wall -B/usr/avr/lib/avr4 source.c