public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problem in Porting glib on cygwin
@ 2002-09-06  0:34 Niraj Agarwal
  2002-09-08 10:02 ` Pierluigi 'Lanugo' Rolando
  0 siblings, 1 reply; 2+ messages in thread
From: Niraj Agarwal @ 2002-09-06  0:34 UTC (permalink / raw)
  To: cygwin

Hi all,

I want to port the glib library on cygwin. Without single hitch it was compiled. It 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.


Niraj

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem in Porting glib on cygwin
  2002-09-06  0:34 Problem in Porting glib on cygwin Niraj Agarwal
@ 2002-09-08 10:02 ` Pierluigi 'Lanugo' Rolando
  0 siblings, 0 replies; 2+ messages in thread
From: Pierluigi 'Lanugo' Rolando @ 2002-09-08 10:02 UTC (permalink / raw)
  To: 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-09-08 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-06  0:34 Problem in Porting glib on cygwin Niraj Agarwal
2002-09-08 10:02 ` Pierluigi 'Lanugo' Rolando

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).