compiling g_module plugin on (cygwin) win32



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 of unresolved
symbols, and these symbols are the stymbols from the main application.
How can I fix the linking stage on cygwin/win32 ??

regards,
        Olivier



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]