[M3devel] "shared" vs. "standalone"

Jay jayk123 at hotmail.com
Mon Jan 14 02:20:25 CET 2008


I was experimenting with gcc/ld flags and I realized:
There are two bits for shared/dynamic/standalone, sort of.
It looks like cm3 only exposes one.
They are:   I am "shared", I am a .dll, I am an .so, code can link to me and "share" me.
  There is, I am "standalone", I have limited dependencies, I link to   static .libs where possible, even if I am "shared". The same might not   be true of my clients.
  AKA, same as previous, perhaps I am "dynamic" -- I link dynamically to stuff at runtime.  IF I am dynamic, then my clients are. But if I am not, they might not be,   and, actually, given CM3's provision for .sa files (on Windows at least), I can   have it both ways. I can build a "dynamic" file and my clients can chose   to use that or not.
It looks like CM3 equates these.That is, you cannot build "standalone" .dlls/.sos..dlls/.sos are implicitly not standalone by virtue of being shared.
 - Jay
_________________________________________________________________
Get the power of Windows + Web with the new Windows Live.
http://www.windowslive.com?ocid=TXT_TAGHM_Wave2_powerofwindows_012008
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20080114/e7cc63fd/attachment-0001.html>


More information about the M3devel mailing list