tinyos / nesc

Master nesc repository
GNU General Public License v2.0
100 stars 53 forks source link

how to create a library of .nc components? #21

Closed pdemil closed 7 years ago

pdemil commented 11 years ago

As you know, the nesC compiler generates an app.c file that contains the complete application.

Do you know how to create a library of some (low level) .nc components?

cire831 commented 11 years ago

On Fri, Oct 18, 2013 at 8:17 AM, Pieter De Mil notifications@github.comwrote:

As you know, the nesC compiler generates an app.c file that contains the complete application.

Do you know how to create a library of some (low level) .nc components?

nesc is whole program compilation. It doesn't support libraries as one is used to with seperately compiled objects.

— Reply to this email directly or view it on GitHubhttps://github.com/tinyos/nesc/issues/21 .

Eric B. Decker Senior (over 50 :-) Researcher

dgay42 commented 11 years ago

On Oct 18, 2013, at 8:17 AM, Pieter De Mil notifications@github.com wrote:

As you know, the nesC compiler generates an app.c file that contains the complete application.

Do you know how to create a library of some (low level) .nc components?

See the description of binary components in the reference manual (e.g. at http://nesl.ee.ucla.edu/fw/torres/home/projects/tossim_gumstix/root/nesc-1.3.1/doc/ref.pdf) for some library-like support. It may or may not be what you're looking for…

David Gay

— Reply to this email directly or view it on GitHub.

pdemil commented 11 years ago

Additional info: https://github.com/tinyos/nesc/blob/master/doc/user/binary-components.txt

I've read an old mail from @dgay42 re: Binary components and TinyOS 2.0 http://mail.millennium.berkeley.edu/pipermail/tinyos-devel/2007-May/001662.html "The question: is building such a tool useful enough to be worth the effort? Who is using binary components today? Would you be interested in helping write/test such a tool?"

6 years later: yes, I would like to help you test such a tool. Are you still interested in writing this tool?

alignan commented 10 years ago

Sorry to bump this, has anyone tested the steps above to create and link a binary component?

cire831 commented 10 years ago

not to my knowledge

On Wed, Aug 6, 2014 at 2:20 AM, Antonio Lignan notifications@github.com wrote:

Sorry to bump this, has anyone tested the steps above to create and link a binary component?

— Reply to this email directly or view it on GitHub https://github.com/tinyos/nesc/issues/21#issuecomment-51311543.

Eric B. Decker Senior (over 50 :-) Researcher

cire831 commented 7 years ago

no activity