-----Original Message-----
From:
address@hidden
[mailto:address@hidden
org] On Behalf Of Andrew Straw
Sent: Wednesday, March 07, 2007 2:16 AM
To: address@hidden
Subject: [avr-libc-dev] crtusb1287.o not found duing linking.
Hi,
I've just built binutils (2.17), gcc (4.1.2), and avr-libc (1.4.5 and
today's CVS) for avr using the instructions here:
http://www.nongnu.org/avr-libc/user-manual/install_tools.html
including
the patch
http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-gcc/file
s/patch-newdevices
Unfortunately, when my project gets to the final link step, I get the
following error:
/usr/local/avr/lib/gcc/avr/4.1.2/../../../../avr/bin/ld:
crtusb1287.o:
No such file: No such file or directory
Did you also include the patches needed for Binutils?:
<http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/avr-binutils/files/>
There's a "new devices" patch for binutils as well. If you don't include
that then the assembler won't know the device, therefore the library (and
startup code) won't be built for that device in avr-libc.
HTH
Eric Weddington