Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Getting dynamic loading to work on cygwin



> If I recall correctly, there is no way to export data references; only
> subroutines entry points can be exported. I.e. one DLL cannot directly
> reference variable in other DLL. But I may be wrong.

Yuk, it looks like your right.  Using dlsym to get the symbol works OK, but
simply linking against the DLL and loading it doesn't seem to pick up the
right value.  That will screw up a lot of things.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK                          Tel: +44 (0)1223 392070



Messages sorted by: Reverse Date, Date, Thread, Author