From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7445 invoked by alias); 21 Oct 2003 07:43:33 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Reply-To: cygwin-xfree@cygwin.com Received: (qmail 7431 invoked from network); 21 Oct 2003 07:43:32 -0000 Received: from unknown (HELO mout0.freenet.de) (194.97.50.131) by sources.redhat.com with SMTP; 21 Oct 2003 07:43:32 -0000 Received: from [194.97.50.135] (helo=mx2.freenet.de) by mout0.freenet.de with asmtp (Exim 4.24) id 1ABrAy-0003jJ-1D for cygwin-xfree@cygwin.com; Tue, 21 Oct 2003 09:43:32 +0200 Received: from ba564.b.pppool.de ([213.7.165.100] helo=BRAMSCHE1) by mx2.freenet.de with smtp (Exim 4.24 #1) id 1ABrAx-0007sC-8G for cygwin-xfree@cygwin.com; Tue, 21 Oct 2003 09:43:31 +0200 From: "Ralf Habacker" To: "Cygwin-Xfree@Cygwin. Com" Subject: Re: cygwin.rules - Enabling shared libXt finally? Date: Tue, 21 Oct 2003 07:43:00 -0000 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-SW-Source: 2003-10/txt/msg00249.txt.bz2 List-Id: 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