new runtime pseudo-reloc in cygwin 1.3.18
Alexander Gottwald
Alexander.Gottwald@s1999.tu-chemnitz.de
Tue Dec 31 10:18:00 GMT 2002
Charles Wilson wrote:
> I seem to remember that pointer comparisons across a DLL boundary is a
> Bad Thing; relocations and such. But I don't remember where I saw that
> -- MSDN or ld docs, and I can't find it now. :-(
I changed it so that libXt uses _XtInherit and all other libraries and code
uses _imp___XtInherit. Now it seems that the comparisation is passed, but
It's worse than that.
Can libXt.dll call a function from libXaw.dll? eg:
in Xt:
void XtCallFunction(void (*func)(void)) {
(*func)();
}
in Xaw:
void XawFoo(void) {
}
void XawBar(void) {
XtCallFunction(XawFoo)
}
If not, then we can skip the whole shared libXaw and libXt part. Some of
the widget classes from libXaw have callbacks defined which are called in
libXt functions.
NP: VNV Nation - Prologue
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723
More information about the Cygwin-xfree
mailing list