ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/04/18/15:53:23

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Wed, 18 Apr 2001 15:37:57 -0400
Message-Id: <200104181937.PAA06551@greed.delorie.com>
From: DJ Delorie <dj AT redhat DOT com>
To: cygwin-apps AT cygwin DOT com
In-reply-to: <20010418151436.G3648@redhat.com> (message from Christopher
Faylor on Wed, 18 Apr 2001 15:14:36 -0400)
Subject: Re: gcj && libjava for cygwin
References: <8D00C32549556B4E977F81DBC24E985DC839 AT crtsmail1 DOT technol_exch DOT corp DOT riotinto DOT org> <NEBBKJDPKLNNENPPIHCPGEGKLAAA DOT green AT redhat DOT com> <20010418151436 DOT G3648 AT redhat DOT com>

> On Wed, Apr 18, 2001 at 09:37:47AM -0700, Anthony Green wrote:
> >
> >> What I don't understand where _Jv_Sjlj_Throw and JNI_OnLoad are defined.
> >
> >JNI_OnLoad is a weak symbol -- see natFirstThread.cc.  Shared libraries of
> >JNI code define it. Do weak symbols not work on cygwin?
> I don't think they do.
> DJ, do you know for sure if weak symbols are even supported in PE?

Yes, PE has weak symbols (grep for C_NT_WEAK in bfd).  However, I
doubt they'd work with DLLs.  The import table doesn't have the
concept of "import this if it exists, else just leave it zero."

- Raw text -

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