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: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <8D00C32549556B4E977F81DBC24E985DC83D@crtsmail1.technol_exch.corp.riotinto.org> From: "Billinghurst, David (CRTS)" To: "'Jeff Sturm'" , Anthony Green Cc: "'Robert Collins'" , java AT gcc DOT gnu DOT org, cygwin-apps AT sources DOT redhat DOT com Subject: RE: gcj && libjava for cygwin Date: Wed, 18 Apr 2001 22:44:11 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain This is on the 3.0 branch, but I can try the mainline. > -----Original Message----- > From: Jeff Sturm [SMTP:jsturm AT one-point DOT com] > Sent: Thursday, 19 April 2001 5:21 > To: Anthony Green > Cc: Billinghurst, David (CRTS); 'Robert Collins'; java AT gcc DOT gnu DOT org; > cygwin-apps AT sources DOT redhat DOT com > Subject: RE: gcj && libjava for cygwin > > > > On Wed, 18 Apr 2001, David Billinghurst wrote: > > What I don't understand where _Jv_Sjlj_Throw and JNI_OnLoad are defined. > > The former is generated by the compiler, which defaults to sjlj exceptions > on cygwin since DWARF2 is not supported for that target. > > To get libgcj in sync, configure with --enable-sjlj-exceptions. That > could be done in configure.host (however I thought _Jv_Sjlj_Throw was > going away due to rth's work on EH personalities... are you working on the > branch, or mainline?) > > On Wed, 18 Apr 2001, Anthony Green wrote: > > JNI_OnLoad is a weak symbol -- see natFirstThread.cc. Shared libraries > of > > JNI code define it. Do weak symbols not work on cygwin? > > They don't. What is the proper workaround? Define a JNI_OnLoad stub in a > static archive? > > Jeff >