Hi Janos building the latest sources without patches isn't the solution. Compiling app.c or a make xx-mote-xx stops with an internal compiler error.
thomas > Just fetch the latest soruces, run the configure script and then make. > > Janos > > On Tue, May 12, 2009 at 4:05 AM, B.A.f.H. <[email protected]> wrote: > > > > > >> * B.A.f.H. [2009-05-11 15:29 +0200]: > >> > > >> > 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. > >> [...] > >> > 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? > >> > >> I think I do. One of the problems here appears to be that nescc adds > >> __attribute__(interrupt) to _both_ function declaration and definition. > >> The documentation of recent gcc versions states that function > attributes > >> are only allowed at function declaration. The other problem is that > >> gcc does not handle this in a more graceful manner. > >> > >> You can work around this by applying the attached patch to your nescc. > >> > >> > >> bye > > > > Hello Simon, > > > > I have never build nescc. Can you give me some informations how to build > the nessc? Which version do you use? Which patches do you apply? > > > > Thanks! > > > > -- > > 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 > > -- 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
