I have just installed tinyos-2.x According to instruction given at
http://www.tinyos.net/tinyos-2.x/doc/html/install-tinyos.html , i configured
environment . (TOSROOT, TOSDIR ,CLASSPATH ,MAKERULES and PATH)
But every time i exit cygwin. Those configurations are getting erased. As i
type 'printenv' its not showing (TOSROOT, TOSDIR ,CLASSPATH ,MAKERULES)
So i went to /etc/profile.d , but after that even without making any change
in any file (i just read those files) bash started to give error as below.
(at start)
____________________________________________________________________
bash: $'/r' command not found
bash: $'/r' command not found
bash: $'/r' command not found
': not a valid identifier

administra...@himanshu~
$
_____________________________________________________________________

After that i tried to change msp430tools.csc  in /etc/profile.d .  i added
one more line
-------------------------------------------------------------------------------------------------------------------------------------------
#!/bin/sh
#
# Technische Universität Berlin
# Kevin Klues <[email protected]>
#
# Based on the CDK4MSP project from:
# LiPronix by Li-Pro.Net
# Stephan Linz <[email protected]>
#
#

MSP430TOOLS="/opt/msp430"
PATH="$PATH:$MSP430TOOLS/bin"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$MSP430TOOLS/lib"
PYTHONPATH="$PYTHONPATH:$MSP430TOOLS/lib/python2.3/site-packages/"
MAN_PATH="$MAN_PATH:$MSP430TOOLS/man"
TOSROOT="/opt/tinyos-2.x"  (--------------  i added this )

export MSP430TOOLS PATH LD_LIBRARY_PATH PYTHONPATH MAN_PATH TOSROOT(this
too)
----------------------------------------------------------------------------------------------------------------------------------------------

but after that also .. 'printenv' is not showing TOSROOT

please help me in this ..
Is it require to export all (5 nos) configuration , everytime i start cygwin
??
thanks in advance



-- 
With Best Regards
Himanshu Barve
IIT Kharagpur
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to