[lug] q: export/import of variables

Dan Stimits dans at aspsys.com
Wed Dec 4 12:35:27 MST 2002


Chan Kar Heng wrote:
> hi
> 
> would generally like to know how linux/elf binaries
> export variables in such a way that doesn't require
> dllimport/dllexport attributes.
> 
> i'll probably dig up the elf binary specification next
> on this...
> 
> thanks in advance...
> 
> rgds,
> 
> kh
> 
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> 

Check out the RTLD_GLOBAL option (bitmask) in dlopen.

D. Stimits




More information about the LUG mailing list