Difference between revisions of "Cygwin User Notes"
(New page: This page is used to collect misc. user notes on using TinyOS under Cygwin. The organization is adhoc. Currently, topics are listed as sections. = Environment variables under Cygwin = ...) |
|||
Line 1: | Line 1: | ||
This page is used to collect misc. user notes on using TinyOS under Cygwin. The organization is adhoc. Currently, topics are listed as sections. | This page is used to collect misc. user notes on using TinyOS under Cygwin. The organization is adhoc. Currently, topics are listed as sections. | ||
+ | |||
+ | = Beware of <cr><lf> vs. <lf> line terminators = | ||
+ | |||
+ | Some windows editors will use <cr><lf> instead of <lf> to terminate lines. Unix programs brought over under Cygwin can get confused by this. We have definitely seen this messing up environment settings. | ||
+ | |||
= Environment variables under Cygwin = | = Environment variables under Cygwin = |
Revision as of 13:23, 6 October 2008
This page is used to collect misc. user notes on using TinyOS under Cygwin. The organization is adhoc. Currently, topics are listed as sections.
Beware of <cr><lf> vs. <lf> line terminators
Some windows editors will use <cr><lf> instead of <lf> to terminate lines. Unix programs brought over under Cygwin can get confused by this. We have definitely seen this messing up environment settings.
Environment variables under Cygwin
Sometimes when using TinyOS under Cygwin there are problems with the environment variables being recognized. One proposed solution is to place the file /etc/profile.d/tinyos-2.x.sh. ie:
cat /etc/profile.d/tinyos-2.x.sh export MAKERULES=`cygpath -w $TOSROOT/support/make/Makerules` export MAKERULES="$MAKERULES:."
<Can someone verify that this works?>