Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user@l.g.o
Cc: billk@×××××××××.au
Subject: Re: [gentoo-user] crossdev avr compile failing on crtm328p.o
Date: Thu, 29 Dec 2011 12:36:57
Message-Id: 20111229073526.0e263a4c@osagesoftware.com
In Reply to: Re: [gentoo-user] crossdev avr compile failing on crtm328p.o by William Kenworthy
1 On Sun, 08 May 2011 11:40:58 +0800
2 William Kenworthy wrote:
3
4 ...<snip>...
5
6 > oh, and I should add that the above make.conf entries exist and are
7 > correct - but if I copy crtm328p.o from /usr/avr/lib/avr5
8 > to /usr/avr/lib it all works fine. So while it now works, its ot
9 > fixed :)
10 >
11 > I have decided to emerge -ep world after doing the python update - and
12 > see what that fixes/breaks!
13 >
14 > BillK
15
16 Hello Bill,
17
18 I encountered the same toolchain problem for an Open-USB-IO board,
19 which also uses an ATmega32 microcontroller. In my case it was
20 avr5/crtm32.o that wasn't being found. Experimentation found that
21 crtm32.o is found if either of the following symlinks is created
22
23 ln -s /usr/avr/lib/avr5/crtm32.o /usr/avr/lib/crtm32.o
24
25 ln -s /usr/avr/lib/avr5 /usr/avr/lib/avr/4.5.3
26
27 The 4.5.3 is the avr-gcc version I have.
28
29 HTH,
30
31 David