This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem in Porting glib on cygwin


> has some utilities to load .so dynamically using module_open. As cygwin
does not support so library.
> How it can be achieved for the porgrams which uses dynamic module loading.

Are you sure about the lack of support for .so dynamic linking? The dl*()
call family (dlopen, dlclose, dlsym, dlerror) appears to be supported (they
are listed in the API documentation) and working (I've tried to port some
code of mine that makes use of them for a plug-in system and everything is
ok).
The only difference is that you don't need to link the dl library (it looks
like it doens't exists at all under cygwin, maybe those calls are
implemented elsewhere) and the -fPIC / -fpic options make cc1 emit a
warning.

HTH,
Lanugo of the Wandering Souls



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]