[Tinyos-help] avr-gcc compilation option for tinyos?
Jin-serk Baik
jinserk at gmail.com
Wed Jun 27 02:53:49 PDT 2007
Hello,
To see the feasibility of atmega1280 instead of atmega128, I want to
use avr-gcc 3.4.6 or higher version to compile tinyos-2.x. Since the
avr-gcc rpm package supplied from the tinyos forum is 3.4.3, I have to
compile avr-gcc 3.4.6 itself under cygwin environment. I also compiled
and installed binutil-2.17 and avr-libc-1.4.6 together. However, when
I make blink example in apps directory, I got hundreds of messages
like :
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s: Assembler messages:
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:10: Error:
unknown opcode `atm128powe'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:12: Error:
unrecognized symbol type ""
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:12: Error:
unknown opcode `atm128powe'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:13: Error:
expected comma after name `McuSleepC' in .size directive
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:13: Error:
unknown opcode `atm128powe'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:14: Error:
unknown opcode `mcusleepc'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:48: Error:
unrecognized symbol type ""
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:48: Error:
unknown opcode `taskbasic'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:48: Error:
unknown opcode `posttask'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:49: Error:
unknown opcode `schedulerb'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:49: Error:
unknown opcode `taskbasic'
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:60: Error: `)' required
/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/cc3LOOdL.s:60: Error:
unknown opcode `m_next'
I don't know what's wrong. Is there any special compilation option to
make avr-gcc to compile tinyos using it? If so, plz let me know.
Thank you in advance.
--
Jin-serk Baik
More information about the Tinyos-help
mailing list