[aur-general] AVR toolchain update

bardo ilbardo at gmail.com
Fri Jul 17 11:00:53 EDT 2009


2009/7/17 bardo <ilbardo at 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


More information about the aur-general mailing list