On 5/7/07, Steve McKown <[EMAIL PROTECTED]> wrote:
On Sunday 06 May 2007 23:39, Ravi konakalla wrote:
> hi everyone,
> I want to compile a single .nc file, do you know any compiler for that ??
> In one screenshot i have seen one software (similar to notepad) is
> compiling a single .nc file. If you know any software for compiling single
> .nc file please let me know.

It sounds like you believe .nc files are like .c files, in that they can be
considered fully independent compilation units.  This isn't true.  Only after
the nesC compiler parses a combination of .nc files together does a
compilation unit get created: app.c.

It's not possible (*) to compile a single nesC source file. But the
original poster may want to look in
 /usr/share/ncc/doc/user/binary-components.txt
for the documentation on binary components (it's hard to know if this
will be useful as he hasn't said why he needs to compile a single .nc
file).

David Gay
*: more precisely: the current nesC compiler cannot, and it's probably
not possible to compile a single .nc file to a regular .o file.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to