I followed the following to get TinyOS on Intel-based Mac.
http://docs.tinyos.net/index.php/Installing_tinyos-2.x_on_Mac_OS_X_%28Tiger_%26_Leopard%29
I did install both msp430-tools-i686 and avr-tools-i686.
When I do make telosb, it succeeds with these messages:
make telosb
mkdir -p build/telosb
compiling BlinkAppC to a telosb binary
ncc -o build/telosb/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow
-DDEF_TOS_AM_GROUP=0x7d -Wnesc-all -target=telosb
-fnesc-cfile=build/telosb/app.c -board= BlinkAppC.nc -lm
compiled BlinkAppC to build/telosb/main.exe
2618 bytes in ROM
55 bytes in RAM
msp430-objcopy --output-target=ihex build/telosb/main.exe
build/telosb/main.ihex
writing TOS image
However, for mica2 or micaz, I get the following error and any help on this
would be great.
make micaz
mkdir -p build/micaz
compiling BlinkAppC to a micaz binary
ncc -o build/micaz/main.exe -Os -finline-limit=100000 -Wall -Wshadow
-Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-fnesc-separator=\never1096WritE -fnesc-dump=wiring
-fnesc-dump='interfaces(!abstract())' -fnesc-dump='referenced(interfacedefs,
components)' -fnesc-dumpfile=build/micaz/wiring-check.xml BlinkAppC.nc -lm
avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
<commandline>: failed to preprocess /opt/local/stow/nesc-1.2.9
/lib/ncc/nesc_nx.h
avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
<commandline>: failed to preprocess /Users/sameer/tinyos-2.x
/tos/system/tos.h
avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
<commandline>: failed to preprocess /Users/sameer/tinyos-2.x
/tos/system/TinySchedulerC.nc
<commandline>: Scheduler `TinySchedulerC' has no scheduling interface named
`TaskBasic'
avr-gcc: error trying to exec 'cc1': execvp: No such file or directory
<commandline>: failed to preprocess BlinkAppC.nc
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help