Hi,
now I have build a new toolchain. The people especially Ruud Vlaming from the
avr-gcc mailing list supported me. The toolchain consists of avr-binutils-2.19,
avr-gcc-4.3.3 and avr-libc-1.6.4 with patches, for details look at the
install_toolchain script from FemtoOS.
Compiling simple C files works fine with no errors.
But compiling for example the Blink app for the iris or the micaz plattform
break with internal compiler error. See the attachement.
Also compiling the app.c file break with the same internal compiler error.
Does anybody knows the problem? Is there a solution for the problem?
thomas
-------- Original-Nachricht --------
> Datum: Mon, 20 Apr 2009 09:58:41 -0500
> Von: Janos Sallai <[email protected]>
> An: "B.A.f.H." <[email protected]>, tinyos forum
> <[email protected]>
> Betreff: Re: [Tinyos-help] Building RPM-Packages for TinyOS toolchain
> There are no tinyos specific patches in avr-gcc. This means that you
> can just fetch the sources, apply the patches you need and compile gcc
> for the avr target.
>
> Of course, you can automate the process with rpmbuild. In this case,
> you will need to create a spec file. See the man page of rpmbuild for
> details. For reference, the source rpm, spec file, and binaries for
> the avr-gcc package I built for the iris platform are here:
> http://w3.isis.vanderbilt.edu/Projects/NEST/tinyos-2.x-iris/tools/testing/external-tools/
>
> This is not the same rpm as what we have in the official tinyos
> toolchain now, but it's pretty close to that.
>
> Janos
>
> On Mon, Apr 20, 2009 at 7:56 AM, B.A.f.H. <[email protected]> wrote:
> > Hello,
> > I need some help, I need a newer avr-gcc with support for the
> ATmega1284P. The used compiler is from 2006 and realy old.
> > My idea is to build a new avr-gcc.rpm package but I haven't found any
> informations in the wiki how to build a package for the tinyos-toolchain.
> > Can anybody give me some informations?
> > How do I build a rpm package? What has to be changed on the real avr-gcc
> sourcecode to run with the tinyos-toolchain?
> > Or is their anybody using a newer avr-gcc in cygwin?
> > Regards
> > thomas
> >
> >
> > --
> > Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate +
> Telefonanschluss für nur 17,95 Euro/mtl.!*
> http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
> > _______________________________________________
> > Tinyos-help mailing list
> > [email protected]
> > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> >
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss
für nur 17,95 Euro/mtl.!*
http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
administra...@ct-59029873f6c2 /opt/tinyos-2.x/apps/Blink
$ make micaz
mkdir -p build/micaz
compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -Wall -Wshadow -Wnesc-all -target=micaz -fnesc-
cfile=build/micaz/app.c -board=micasb -DDEFINED_TOS_AM_GROUP=0x22 --param max-in
line-insns-single=100000 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"Admini
strator\" -DIDENT_HOSTNAME=\"ct-59029873f6c2\" -DIDENT_USERHASH=0x7bd24869L -DID
ENT_TIMESTAMP=0x4a0417a9L -DIDENT_UIDHASH=0xc95e2240L -fnesc-dump=wiring -fnesc-
dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs, components
)' -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm
/opt/tinyos-2.x/tos/chips/atm128/timer/HplAtm128Timer0AsyncP.nc:178: internal co
mpiler error: in start_function, at c-decl.c:6248
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [exe0] Error 1
administra...@ct-59029873f6c2 /opt/tinyos-2.x/apps/Blink
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help