Maarten Boekhold wrote:
Gerrit P. Haase wrote:
You don't need .def files on Cygwin. Just add -no-undefined to
libxyz_LDFLAGS.
OK, I'm making progress with getting XFCE to compile under cygwin (with
help of one of the XFCE developers), but now we're running into the
following:
XFCE has a plugin mechanism, based on shared libraries. These plugins
use functions/symbols from the program that they 'plug in to'. I.e. if I
have appA, and libB is a plugin for appA, then libB contains calls that
are defined in appA.
How do I get this to work under cygwin? Obviously I can't link libB
against appA!
Done this, been there. And it's all possible.. =)
<http://sources.redhat.com/ml/cygwin/2003-12/msg01071.html>
You can use DLLTOOL to produce .def files from .exe if needed so you
don't have to do them by hand. But in most cases you just need few funcs
or variables it's simpler to write .def by hand.
--
Jani Tiainen
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/