This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
RE: [XFree86-4.2.0] Now that we have an improved ld, please makelibXt a shared library.
Alexander Gottwald wrote:
> On Mon, 28 Jul 2003, Ralf Habacker wrote:
>
> I changed the type of _XtInherit to a variable instead of a function.
> It compiles but I've not tested it completely.
That was a dead-end too.
> With this way we have a symbol which contains the address of the XtInherit
> function in libXt and is directly exported.
I don't see a solution which uses a function.
We either need a value which is already valid when compiling or an address
of a symbol where the address is equal for all dlls and known when linking
the library.
The solution used with sun does not work too. The link a function _XtInherit
staticly to each library but inside the different libraries the symbols
map to different addresses and are not equal.
The only solution I see is the usage of a constant value.
bye
ago
NP: Deine Lakaien - Silence In Your Eyes
--
Alexander.Gottwald@informatik.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723