Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - dll vs. so: (3 Items)
   
dll vs. so  
Hi, 
What is the difference between dll and so in the eyes of QNX build system ?

So - what is the difference if I create my shared object under :

so.le.v7 

--or - -

dll.le.v7 


Thanks, 
Ran 
Re: dll vs. so  
On Fri, Apr 22, 2011 at 06:11:46PM -0400, ran wainstein wrote:
> Hi, 
> What is the difference between dll and so in the eyes of QNX build
> system ?
> 
> So - what is the difference if I create my shared object under :
> 
> so.le.v7 
> 
> --or - -
> 
> dll.le.v7 
> 

The difference is -Bsymbolic to the linker (ld).

Regards,

-seanb
Re: dll vs. so  
Thanks. 

when Creating an .so , I get 2 outputs : 

libmylibS.a

and 

libmylib.so


Now, I have an exe that needs to be linked to this so. 
which one my app should linked against ? ( both options works ) 

My understanding is that *S file is PIC and should be used by another shared objects that needs to link against libmylib
.so. 
so for application - i link against the so file. 

Is this the right way of doing things  ?

Thanks, 
Ran