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

Re: Getting dynamic loading to work on cygwin



> I did define variable with __declspec(dllexport) but it did not help.

I replied to this at the time.  __attribute__((dllimport)) (presumably
equivalent to __declspec) does get the value correctly imported with
dlopen.  (At least, check the archive and see if I did something different,
but I think it's the same that you're talking about.)

-- 
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