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

Re: Dynamic loading on Cygwin - status



> > - external function or variable imported from another module is not
> > considered
> > a constant on Cygwin (actually, on Windows). Hence, any static initializer
> > fails, e.g
> 
> That is really bad.

Isn't it enough to mark it as __attribute__((dllimport)) in the importing
file (assuming the symbol's exported in the first place, obviously)?

-- 
Peter Stephenson <pws@xxxxxxx>
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