This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: cygwin.rules - Enabling shared libXt finally?
- From: "Ralf Habacker" <Ralf dot Habacker at freenet dot de>
- To: "Cygwin-Xfree at Cygwin dot Com" <cygwin-xfree at cygwin dot com>
- Date: Tue, 21 Oct 2003 09:43:17 +0200
- Subject: Re: cygwin.rules - Enabling shared libXt finally?
- Reply-to: cygwin-xfree at cygwin dot com
Harold,
>It looks like you got it nailed to me. I am testing a build right now.
>
I have too additional notes to this patch.
1. Because _Xtinherit is exported as a data symbol, immediate calls to this
function in the manner
...
_XtInherit();
...
will be relocated wrongly and should be avoided ( I have seen this, but does
not know currently why this happens).
A workaround in case this is absolutly required is to use the following
stuff.
void (*func)(void);
func _blah_blah = XtInherit;
...
(*_blah_blah);
...
2. In the patch there is a symbol named "_y". This should be renamed to a
name, which couldn't be used by regular functions for example
_$Xtinherit_ref or so. The '$' isn't a valid c function name.
Ralf