public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] crossdev avr compile failing on crtm328p.o
  @ 2011-12-29 12:35 99%     ` David Relson
  0 siblings, 0 replies; 1+ results
From: David Relson @ 2011-12-29 12:35 UTC (permalink / raw
  To: gentoo-user; +Cc: billk

On Sun, 08 May 2011 11:40:58 +0800
William Kenworthy wrote:

...<snip>...
 
> oh, and I should add that the above make.conf entries exist and are
> correct - but if I copy crtm328p.o from /usr/avr/lib/avr5
> to /usr/avr/lib it all works fine.  So while it now works, its ot
> fixed :)
> 
> I have decided to emerge -ep world after doing the python update - and
> see what that fixes/breaks!
> 
> BillK

Hello Bill,

I encountered the same toolchain problem for an Open-USB-IO board,
which also uses an ATmega32 microcontroller.  In my case it was
avr5/crtm32.o that wasn't being found.  Experimentation found that
crtm32.o is found if either of the following symlinks is created

   ln -s /usr/avr/lib/avr5/crtm32.o /usr/avr/lib/crtm32.o

   ln -s /usr/avr/lib/avr5 /usr/avr/lib/avr/4.5.3

The 4.5.3 is the avr-gcc version I have.

HTH,

David



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-05-07 12:34     [gentoo-user] crossdev avr compile failing on crtm328p.o William Kenworthy
2011-05-07 16:11     ` Kevin McCarthy
2011-05-08  3:40       ` William Kenworthy
2011-12-29 12:35 99%     ` David Relson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox