Hi,

When I execute 'make micaz' command to compile RadioSenseToLeds the
following command is executed to compile this application and create
main.exe:

ncc -o build/micaz/main.exe  -O0 -fnesc-separator=__ -Wall -Wshadow
-Wnesc-all -target=micaz -fnesc-cfile=build/micaz/app.c -board=micasb
-DDEFINED_TOS_AM_GROUP=0x22 --param max-inline-insns-single=100000
-DIDENT_APPNAME=\"RadioSenseToLed\" -DIDENT_USERNAME=\"rafael\"
-DIDENT_HOSTNAME=\"home\" -DIDENT_USERHASH=0x8c73b18eL
-DIDENT_TIMESTAMP=0x4f0f0347L -DIDENT_UIDHASH=0x9eee1515L
-fnesc-dump=wiring -fnesc-dump='interfaces(!abstract())'
-fnesc-dump='referenced(interfacedefs, components)'
-fnesc-dumpfile=build/micaz/wiring-check.xml RadioSenseToLedsAppC.nc -lm

ncc can be created like this because it accepts any nescc option and any
gcc option. My question is: can I create app.c for RadioSenseToLeds and
then create main.exe with this created app.c ? This is because I need to
make some modifications in app.c before create main.exe

any ideas ?

Rafael de Oliveira Costa, M.Sc. Student
PPGI - UFRJ
Rio de Janeiro, RJ, Brazil
http://www.labnet.nce.ufrj.br
"If the doors of perception were cleansed every thing would appear to man
as it is, infinite", William Blake
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to