You are not logged in. Log in now?
Show a Story
Protip for the NesC developers
Suppose you write a fairly nice compiler for a language that allows for a neat event-driven development approach. Now suppose you need to shove resulting intermediate code through a (cross)compiler toolchain. Why would anyone think it's a good idea to use identifiers that are incompatible with the assembler? Why would anyone think it's a good idea to then depend on a badly-maintained third-party hacked version of a perfectly good assembler? Why the FUCK wouldn't you just repair YOUR OWN COMPILER and make everyone's life easier?!?
Really. Get a clue.
Update, 2009-02-13: It seems that at least Debian is shipping avr-as with a patch providing a --allow-dollars option. It only requires a very simple change to nescc or the toolchain to use, and seems to do the right thing. Now to kick some upstream butt.
As a quick workaround, if you have avr-binutils version >=2.18, you can include the following line in a TinyOS Makefile:
CFLAGS+=-Wa,--allow-dollars
By Shadowdancer, 2009-02-10, 18:01;
permalink;
Last updated at 2009-02-13, 11:11 by Shadowdancer