chmod a+r not u+x or chmod 666 I think.
cygwin has some kind of symbolic linking facility
so /usr/bin and /bin seem to be one and the same.
Beyond that I can't be of much help.
MS


aldo wrote:
> Is it enough to do $chmod u+x /usr/lib/ncc/tdspecs ?
> 
> I'm doing this with no result...
> 
> tdspecs is not empty...
> 
> .nc: @nesc
> 
> @nesc:
> perl -S nesc-compile %{_*} %{m*} %{D*&U*&A*} %{I*} %{undef} %{trigraphs} 
> %{i*} %
> {nostdinc} %{a*} %{g*} %{O*} %{W*} %{w} %{S} %{pedantic*} %{std*} 
> %{ansi} %{trad
> itional} %{v} %{p*} %{f*} 
> %{!fsyntax-only:%{!fnesc-cfile=*:%{!_fnesc-cfile=*:-fn
> esc-tmpcfile=%g.c}} %{S:%W{o*}%{!o*:-o %b.s}}%{!S:%{c:%W{o*}%{!o*:-o 
> %w%b%O}}%{!
> c:-o %d%w%u%O}}} %{fsyntax-only:-o %j} %{-param*} %i -_ASM %Y
> 
> Another strange thing is that when i'm searching the path 
> c:\cygwin\usr\lib\ with windows explorer I don't see this 
> directory...but searching it by cygwin I see the directory... 
> I don't know if it's all concerning to permissions...or a problems with 
> a environmental variable...
> Any idea?
> 
> Thank you in advance.
> 
> Aldo
> 
> 2009/8/1 Michael Schippling <[email protected] <mailto:[email protected]>>
> 
>     make sure you have permission to read it
>     and that it actually contains something...
>     MS
> 
>     aldo wrote:
> 
>         Hello everybody,
> 
>         I have the following problem when i try to do make in Cygwin:
> 
>         sn...@aldo /opt/tinyos-2.x/apps/Blink
>         $ make telosb
>         mkdir -p build/telosb
>            compiling BlinkAppC to a telosb binary
>         ncc -o build/telosb/main.exe  -Os -O -mdisable-hwmul -Wall
>         -Wshadow -Wnesc-all -
>         target=telosb -fnesc-cfile=build/telosb/app.c -board=
>         -DDEFINED_TOS_AM_GROUP=0x2
>         2 -DIDENT_APPNAME=\"BlinkAppC\" -DIDENT_USERNAME=\"snake\"
>         -DIDENT_HOSTNAME=\"al
>         do\" -DIDENT_USERHASH=0x421acedcL -DIDENT_TIMESTAMP=0x4a7495efL
>         -DIDENT_UIDHASH=
>         0x6003e0b7L  BlinkAppC.nc -lm
>         *msp430-gcc.exe: /usr/lib/ncc/tdspecs: No such file or directory*
>         make: *** [exe0] Error 1
> 
>         The gcc tells me can't find the /usr/lib/ncc/tdspecs...and when
>         i navigate through Cygwin i see this directory with tdspecs...
> 
>         sn...@aldo /opt/tinyos-2.x/apps/Blink
>         $ cd /usr/lib/ncc/
>         deputy_nodeputy.h  gencsharp.pm <http://gencsharp.pm>
>         <http://gencsharp.pm>       genjava.pm <http://genjava.pm>
>         <http://genjava.pm>         nesc.jar
>         deputy_stage1.h    gencstc.pm <http://gencstc.pm>
>         <http://gencstc.pm>         genpython.pm <http://genpython.pm>
>         <http://genpython.pm>       nesc1.exe
>         deputy_stage2.h    gencstjava.pm <http://gencstjava.pm>
>         <http://gencstjava.pm>      migdecode.pm <http://migdecode.pm>
>         <http://migdecode.pm>       nesc_nx.h
>         genc.pm <http://genc.pm> <http://genc.pm>          
>          gencstpython.pm <http://gencstpython.pm>
>         <http://gencstpython.pm>    nesc-compile       *tdspecs*
> 
> 
>         I have this file!! I can't understand this... I have already
>         added /usr/lib/ncc in my PATH variable but with no luck.
> 
>         Anyone can help me with this?
>         Thank you in advance.
> 
>         Aldo
> 
> 
>         -- 
>         aldo
> 
> 
>         
> ------------------------------------------------------------------------
> 
>         _______________________________________________
>         Tinyos-help mailing list
>         [email protected]
>         <mailto:[email protected]>
>         
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> 
> 
> 
> 
> -- 
> aldo
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to