This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: new runtime pseudo-reloc in cygwin 1.3.18


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]