[Tinyos-help] ncc Problems....

Philip Levis pal at cs.stanford.edu
Tue Sep 4 16:45:44 PDT 2007


On Sep 3, 2007, at 8:12 AM, Douglas McIlwraith wrote:

> Hi there,
>
> I'm wondering if anybody can help me:
>
> I'm not exactly new to tinyOS, but have been experiencing some  
> problems that I can't seem to overcome. I wish to use
> exactly the same configuration for tinyos (versions, compiler  
> versions etc) as a colleague, so I've copied the entire
> directory to dvd and dropped it onto another machine.
>
> I have also ensure that the following environment variables have  
> been set correctly:
>
> TOSDIR='c:\cygwin\opt\tinyos-1.x\tos'
> TOSROOT='c:\cygwin\opt\tinyos-1.x\'
> MAKERULES=/opt/tinyos-1.x/tools/make/Makerules
>
> TOSPATH='C:\cygwin\usr\local\mspgcc;C:\cygwin\usr\local\mspgcc 
> \bin;c:\cygwin\bin;
> 	c:\cygwin\opt\tinyos-1.x\tools\java;
> 	c:\cygwin\opt\tinyos-1.x\tos; c:\cygwin\opt\tinyos-1.x\tools\java 
> \jars;'
>
> then TOSPATH included in my actual PATH, which provides access to  
> all the bin folders
> that you would expect.
>
> This has been sufficient before to execute ncc with different  
> target plaforms. Now,
> toscheck gives me several warnings

I don't know what the exact problem is, but be careful with the  
direction of your slashes: it seems like you're using / sometimes and  
\ others. Rather than "c:\some-windows-path" you might be better off  
with "/cygdrive/c/", or, better yet, just do "/opt/tinyos-1.x/..."

Phil


More information about the Tinyos-help mailing list