You can try -fdollars-in-identifiers option to msp430-gcc.

Or make nesC to use "__" by adding "PFLAGS += -fnesc-separator=__" to your
TinyOS application makefile.

Vinai



On Mon, Nov 9, 2009 at 5:00 PM, Vlado Handziski
<[email protected]>wrote:

> As long as you use a recent nesC release, and work from the top of the cvs
> tree, you don't need a patched binutils anymore. The default nesc separator
> has been changed to "__".
>
> Vlado
>
>
> On Fri, Nov 6, 2009 at 20:42, Till Maas <[email protected]> wrote:
>
>> Hi again,
>>
>> On Fri, Nov 06, 2009 at 07:54:14PM +0100, Till Maas wrote:
>>
>> > I would like to use the msp430-gcc shipped with Fedora to compile TinyOS
>> > applications, but gcc does not acccept "$" within names. Eric Decker
>> made
>> > me aware of this in another mail[0], but there was no hint of how to do
>> > this.
>>
>> sorry for the noise. It's actually binutils that needs to be patched and
>> I accidently found the patch:
>>
>> http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-1.x/contrib/eyes/tools/patches/binutils/binutils-2.14_dollar.patch?revision=1.1&view=markup
>>
>> Nevertheless I do not know yet, why it is not included in upstream, I
>> only found good feedback so far:
>> http://article.gmane.org/gmane.comp.gnu.binutils/32294/match=tinyos+msp430
>>
>> Regards
>> Till
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>



-- 
Vinai Sundaram @ www.ece.purdue.edu/~vsundar/
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to