RE: compiling g_module plugin on (cygwin) win32

2005-10-17 Thread Tor Lillqvist
Jorge Monsalvo writes: > Can you point me to the docs for g_module_xxx functions. http://developer.gnome.org/doc/API/2.0/glib/glib-Dynamic-Loading-of-Modules.html > I checked for g_module_find A typo, I meant g_module_symbol. --tml ___ gtk-app-dev

RE: compiling g_module plugin on (cygwin) win32

2005-10-17 Thread Jorge Monsalvo
TECTED] En nombre de Tor Lillqvist Enviado el: Saturday, 15 October, 2005 18:54 Para: Olivier Sessink CC: gtk-app-devel-list@gnome.org Asunto: Re: compiling g_module plugin on (cygwin) win32 Olivier Sessink writes: > How can I fix the linking stage on cygwin/win32 ?? First, mark the functions i

Re: compiling g_module plugin on (cygwin) win32

2005-10-15 Thread Tor Lillqvist
Olivier Sessink writes: > How can I fix the linking stage on cygwin/win32 ?? First, mark the functions in the sources for the main .exe that are to be used by other modules with G_MODULE_EXPORT. Then you must decide whether you want to 1) restrict your plugins to work only with an executable wit

compiling g_module plugin on (cygwin) win32

2005-10-15 Thread Olivier Sessink
Hi all, slightly off-topic, but I have plugins that work fine on Linux, They are linked using: $(LIBTOOL) --mode=link $(CC) -module $(LIBS) -shared -o $@ $(LOBJECTS) the plugins call functions from the main binary. This is no problem on Linux. But on cygwin/win32 the linking stage fails because