i'm trying to compile TinyOs 1.x applications on my cygwin machine. I'm able to compile the applications of TinyOs 1.x using avr-gcc v3.3 but not with v4.2.1.
I wanted to upgrade my avr-gcc from v3.3 to v4.2.1 as there are support for new controllers. So i followed the steps that were provided to build the toolchains.
https://www.microchip.com/webdoc/AVRLibcReferenceManual/install_tools_1install_avr_binutils.html
I have used : binutils-2.17, gcc-4.2-20070719 , avr-libc-1.8.1 to build my toolchain. I choose this versions because it is the base version for the new mcu's support.
Now when i try to compile the TinyOs applications using v4.2.1 , i'm stuck at the errors like this. Error Given while compiling with avr-gcc v4.2.1
And For v3.3 : binutils-2.13, gcc-3.3 , avr-libc-20030512.
and additionally : nesc-1.1-1w.cygwin.i386.rpm, tinyos-1.1.0-1.cygwin.noarch.rpm, tinyos-tools-1.1.0-1.cygwin.i386.rpm, galsc-0.1.0-1.cygwin.i386.rpm were installed for both the versions of avr-gcc.
How can i fix this error ? If more information needed, feel free to ask. Thank you in advance .
I added the new controllers to the the current gcc toochain.
I added the architectures to the my current toolchain. I have answered it here.