Hi Janos, I will try to compile gcc-core-4.4.0, but what is with the avr-gcc patches? Which patches should I use? Can you give me more informations, I am a newbie in compiling sourcecode. The instruction I found on mikrocontroller.net was the only really usefull one.
thomas > > Now with the new toolchain I tried to build /apps/Blink with make iris, > but I get following error: > > > /opt/tinyos-2.x/tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:222 > internal compiler error: in start_function, at c-decl.c:6248 > > Please submit a full bug report, with preprocessed... > > That looks like a gcc bug. > > As I wrote before, it has been reported that gcc pre-4.4.0 works OK. > Why don't you try compiling that? > > Janos > > > On Wed, Apr 22, 2009 at 7:25 AM, B.A.f.H. <[email protected]> wrote: > > Hi, > > > > first, I only tried to compile gcc-core-4.3.3 but it stopped with > failures, then I compiled the whole toolchain after following instruction > > http://www.mikrocontroller.net/topic/130972#1188040 > > Compiling was possible, only avrdude broke with failures. > > > > Now with the new toolchain I tried to build /apps/Blink with make iris, > but I get following error: > > > > /opt/tinyos-2.x/tos/chips/atm1281/timer/HplAtm1281Timer2AsyncP.nc:222 > internal compiler error: in start_function, at c-decl.c:6248 > > Please submit a full bug report, with preprocessed... > > > > Can anybody help me? > > > > thomas > > > >> The cleanest way to go is building an avr-gcc with atmega1284p > >> support. The patch was applied late 2007 > >> (http://gcc.gnu.org/ml/gcc-patches/2007-11/msg01411.html), so a fairly > >> recent version of gcc should work. Avr-gcc pre 4.4.0 was reported to > >> work well with the tinyos toolchain, so I would opt for that. > >> > >> Janos > >> > >> On Fri, Apr 17, 2009 at 4:16 AM, B.A.f.H. <[email protected]> wrote: > >> > Hi, > >> > I have posted yesterday my problem that I need support for the > >> ATmega1284P (AVR RZ Raven Eval-Kit) but the avr-gcc used by tinyos > doesn't support > >> this device. > >> > > >> > Is it possible to generate only the c-code and compile it with any > other > >> c-compiler like IAR or the newest avr-gcc? > >> > Is the generated c-code compiler independent? > >> > > >> > Thanks, > >> > thomas > >> > -- > >> > _______________________________________________ > >> > Tinyos-help mailing list > >> > [email protected] > >> > -- 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
