delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/07/23:15:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3FAC6DA4.1070401@santafe.edu>
Date: Fri, 07 Nov 2003 21:14:28 -0700
From: "Marcus G. Daniels" <mgd AT santafe DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6a) Gecko/20031030
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
CC: cygwin AT cygwin DOT com, java AT gcc DOT gnu DOT org
Subject: Re: gcc 3.3.1-3, loading .la files from gcj-compiled apps
References: <3FA5590F DOT 6060308 AT santafe DOT edu> <87oevnly2v DOT fsf AT fleche DOT redhat DOT com> <3FAC1145 DOT 40706 AT santafe DOT edu> <3FAC42D9 DOT 9040209 AT cwilson DOT fastmail DOT fm> <1068254431 DOT 1188 DOT 21 DOT camel AT localhost> <3FAC47D6 DOT 5000907 AT cwilson DOT fastmail DOT fm>
In-Reply-To: <3FAC47D6.5000907@cwilson.fastmail.fm>
X-Filter-Version: 1.14 (kakapo)

Charles Wilson wrote:

> Or rebuild libjava so that it uses the system-installed version of 
> cygltdl-3.dll and not a self-compiled one.

It looks to me like everything would work (assuming dlopen works), 
provided the libjava linked against the Cygwin libltdl instead of the 
one it subsumes from itself.  The problem in the libjava/libltldl in 
Cygwin's GCC 3.3.1-3 source distribution is that the HAVE_LIBDL code is 
disabled with a special case for Cygwin in order to supress some 
spurious error message. And unfortunately the fallback to LoadLibrary 
doesn't happen either because _WIN32 is not set.

While it would be good to update GCC at some point, this idea of getting 
GCC to take Cygwin's libltldl would seem to be the most flexible thing 
to have happen... (Assuming there are othher important reasons for 
having that libtldl DLL.)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019