[aur-general] AVR toolchain update

taptaptap dödödö djszapi2 at gmail.com
Fri Jul 17 11:05:34 EDT 2009


Well, is it okay or shall i see at evening ?

2009/7/17 bardo <ilbardo at gmail.com>

> 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