avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] Missing and unfindable run time objects


From: Dennis W. Tokarski
Subject: [avr-libc-dev] Missing and unfindable run time objects
Date: Wed, 25 Feb 2009 16:06:33 -0500
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I have a bit of a mystery, but first a quick note:
the avr toolchain now supports atmega169p as distinct
from atmega169, but the run time object is missing.
Suspecting it would be the same as for the '169, I
made a hard link and it worked.

The above is using avr-libc-1.4.6-4.fc8.noarch.rpm
on Fedora 10 with avr-gcc-4.3.3-1.fc10.i386.rpm
and avr-binutils-2.18-2.fc9.i386.

Now the mystery. Creating a simple hello.c program
and running the following:

for mcu in `ls /usr/avr/lib/avr5/crtm* | sed -e 's/crtm/atmega/' -e 's/[.]o//' 
| xargs -I{} basename {}` ; do avr-gcc -mmcu=${mcu} -o hello hello.c; done

produces the this:

/usr/lib/gcc/avr/4.3.3/../../../../avr/bin/ld: crtm1280.o: No such file: No 
such file or directory
/usr/lib/gcc/avr/4.3.3/../../../../avr/bin/ld: crtm1281.o: No such file: No 
such file or directory
/usr/lib/gcc/avr/4.3.3/../../../../avr/bin/ld: crtm128.o: No such file: No such 
file or directory

The files are definitely there, with 644 perms and owned
by root, just like all the others which work.

This problem first popped up while trying to build
simulavr, and the build tests choked on the atmega128.

I don't know if this is an avr-gcc/binutils problem or
an avr-libc problem.  Thought I'd ask here, expecting
that maintainers of all three projects are likely to
be on this list.

Anyone here know what's going on?

- --Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFJpbLRDJucIzCImrURAnFcAJ4iAw/bqB6IIj1+xjQEt4U1KnRg4QCeMYcz
bHgGB5uOrz42HFmgn0AxHYI=
=98hF
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]