[Tinyos-help] How does ncc compile

David Gay dgay42 at gmail.com
Wed Oct 4 13:03:27 PDT 2006


On 10/4/06, Sean Walton <swalton at cs.utah.edu> wrote:
> David Gay wrote:
> > On 10/3/06, Sean Walton <swalton at cs.utah.edu> wrote:
> >> Can anyone tell me the sequence of calls that eventually runs the nesC
> >> compiler binary?
> >
> > Passing -v to ncc should show the sequence of commands.
> Where do I add the -v option?  I seem to find the place in the default
> apps/Makefile.

Your choices (in decreasing order of effort):
- modify the make stuff. Yes, it's somewhat complex, but you can
probably find a place to do it.
- Add CFLAGS=-v to your Makefile (or modify it's CFLAGS line if it
already has one)
- Ditch the whole make stuff and just call ncc directly. The command
line is printed when you run make, and cut&paste is your not-so-recent
friend

David Gay


More information about the Tinyos-help mailing list