watashi_metan ([info]watashi_metan) wrote,
@ 2008-10-28 23:34:00
Previous Entry  Add to memories!  Tell a Friend!  Next Entry
Entry tags:bugs, gentoo

crossdev -t avr
Okay here is my struggle with avr-gcc on gentoo. After reading several bugreports you should do:


  • Edit /usr/sbin/crossdev and change line 334 to WITH_DEF_HEADERS="no"

  • Select version of binutils and gcc (as default ones doesn't compile) for example crossdev -t avr --b 2.18.50.0.9 --g 4.1.2

  • Create symlink for linker scripts on x86_64 use ln -s /usr/x86_64-pc-linux-gnu/avr/lib/ldscripts/ /usr/libexec/gcc/avr/ldscripts




Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…