[Tinyos-help] -shared option of ncc and avr-gcc

Philip Levis pal at cs.stanford.edu
Wed Apr 18 23:00:43 PDT 2007


On Apr 14, 2007, at 1:06 AM, Enric wrote:

> Dear All,
>
> I want to create a dynamic library using ncc, but I found the avr- 
> gcc(in tinyos 1.x) has deliberately disabled its '-shared' option  
> thus I cannot make it. But I do see this kind of usage on the  
> tutorial.Does anyone know the reason?
>
> Is this option enabled in tinyos 2.x? And how can I make a dynamic  
> library?
> Thank you guys
>

How would you dynamically link the library? This occurs at run-time,  
and the OS loads the library off of storage, loads it into the  
address space, and links it. Given there is no standard file system...

Phil


More information about the Tinyos-help mailing list