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

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
To: "Marcus G. Daniels" <mgd AT santafe DOT edu>
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>
From: Tom Tromey <tromey AT redhat DOT com>
Reply-To: tromey AT redhat DOT com
X-Attribution: Tom
X-Zippy: The appreciation of the average visual graphisticator alone is worth
the whole suaveness and decadence which abounds!!
Date: 07 Nov 2003 13:31:52 -0700
In-Reply-To: <3FA5590F.6060308@santafe.edu>
Message-ID: <87oevnly2v.fsf@fleche.redhat.com>
Lines: 25
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
MIME-Version: 1.0

>>>>> "Marcus" == Marcus G Daniels <mgd AT santafe DOT edu> writes:

Marcus> Would it be possible to add a -D_WIN32 to the libjava/libltdl
Marcus> Makefile for Cygwin?

It looks like it would be a bit more in line with existing code to
just add it to libltdl/ltdl.h.

Could you look at how the upstream libltdl handles it?  We
occasionally talk about importing a new version, I wonder if that
would fix this for you.

Marcus> Also, I found I had to duplicate the stack copy of `buf' in
Marcus> java::lang::Runtime:_load in order to avoid it getting wiped
Marcus> out from the the exception getting caught.

Could you be more explicit about this?  Catching an exception
shouldn't trash this array... if it does, doesn't that mean there is a
bug somewhere else?

The ltdl.c patch looks ok-ish, provided (as you noted) it is cleaned
up to be cygwin specific.  Again, ideally we'd do this via the
upstream libltdl.

Tom

--
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