try to use 
export TOSROOT=/opt/tinyos-2.x 

instead of 
export TOSROOT=´cygpath -w /opt/tinyos-2.x´

you  have to use cygpath only for the macro CLASSPATH
(according to Installing_TinyOS_2.1).

this is the line that makes you fail in launching commands
export PATH=´ cygwin -w /opt/msp430/bin:/opt/jflashmm:$PATH´
try
export PATH=/opt/msp430/bin:/opt/jflashmm:$PATH

> having a problem
> http://docs.tinyos.net/index.php/Installing_TinyOS_2.1
> according to step 5 I have to set path
> According to example given I set paths in such way (kindly let me know
> am I right in getting the syntax)
> 
> export TOSROOT=´cygpath -w /opt/tinyos-2.x´
> export TOSROOT="$TOSROOT;."
> 
> export TOSDIR=´cygpath -w $TOSROOT/tos´
> export TOSDIR="$TOSDIR;."
> 
> export CLASSPATH=`cygpath -w $TOSROOT/support/sdk/java/tinyos.jar`
> export CLASSPATH="$CLASSPATH;."
> 
> export MAKERULES=´cygpath -w $TOSROOT/support/Makerules´
> export MAKERULES="$MAKERULES;."
> The above mentioned cmds worked well.
> But after running the below mentioned cmd
> 
> export PATH=´ cygwin -w /opt/msp430/bin:/opt/jflashmm:$PATH´
> export PATH="$PATH;."
> 
> after running it i get error on every command like dir, exit, logout
> help etc etc that
> command not found
> this is not a command
> why is this happening any idea?
> 
> _______________________________________________
> 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

Reply via email to