[Tinyos-help] tinyos 1.1.0 on debian AMD 64

Kristin Wright l.kristin.wright at gmail.com
Wed Mar 9 09:26:47 PST 2005

For what it's worth, below are the configure options for how we
configured avr-gcc-3.3tinyos for the rpm:

./configure --target=avr --disable-nls --prefix=/tmp/usr
make install

Also, I think you need the avr binutils package installed first *if* I
recall correctly. (It was a while ago and I've forgotten exactly.)

Also, here are pointers to 2 pages regarding installation on debian if
you haven't seen them already:

from Thomer Gil: http://thomer.com/tinyos/
from Geoffrey Mainland: http://www.eecs.harvard.edu/~mainland/tinyos/


On Wed, 09 Mar 2005 17:29:17 +0100, Giuseppe Valente
<giuseppe.valente at iit.cnr.it> wrote:
> Hi everybody,
> I successfully compiled tinyos 1.1.0 and the required tools on a
> Macintosh (Mac Os 10.3.8). Now I'm trying to do the same with an AMD 64
> running Linux Debian x86_64. I have gcc 3.3 (not avr-gcc) on both
> systems, but configuring avr-gcc-3.3tinyos on the AMD 64 somehow seems
> to fail with the following reason:
> velocity:/usr/src/avr-gcc-3.3tinyos# ./configure x86_64-amd-linux-gnu
> Created "Makefile" in /usr/src/avr-gcc-3.3tinyos using "mt-frag"
> /usr/local/bin/ld: unrecognized option '--as-needed'
> /usr/local/bin/ld: use the --help option for usage information
> collect2: ld returned 1 exit status
> *** The command 'gcc-3.3 -o conftest -g -O2   conftest.c' failed.
> *** You must set the environment variable CC to a working compiler.
> I tried to solve setting $CC to different values (gcc, gcc-3.3), but it
> didn't seem to help. I am wondering now if this can be due to the 64bit
> implementation of gcc, since I haven't fount any support about TinyOS
> on 64 bit systems.
> Thank you,
> Giuseppe
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at Millennium.Berkeley.EDU
> http://mail.Millennium.Berkeley.EDU/mailman/listinfo/tinyos-help

More information about the Tinyos-help mailing list