From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24383 invoked by alias); 10 Jun 2009 12:23:23 -0000 Received: (qmail 24375 invoked by uid 22791); 10 Jun 2009 12:23:22 -0000 X-SWARE-Spam-Status: No, hits=-0.1 required=5.0 tests=AWL,BAYES_20,J_CHICKENPOX_74,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f224.google.com (HELO mail-bw0-f224.google.com) (209.85.218.224) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 10 Jun 2009 12:23:16 +0000 Received: by bwz24 with SMTP id 24so805253bwz.8 for ; Wed, 10 Jun 2009 05:23:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.213.10 with SMTP id p10mr677553muq.49.1244636592289; Wed, 10 Jun 2009 05:23:12 -0700 (PDT) In-Reply-To: <4A2FA29C.1000603@redhat.com> References: <4A2F87D9.5040207@redhat.com> <4A2F93AA.4070700@redhat.com> <6f1633170906100453g4a993316ufac79b6ff4998404@mail.gmail.com> <4A2FA29C.1000603@redhat.com> Date: Wed, 10 Jun 2009 12:23:00 -0000 Message-ID: Subject: Re: How to convert a jar into so file and use it ? From: David Michel To: Andrew Haley Cc: Vaijayanthi Mala Suresh , java@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-06/txt/msg00036.txt.bz2 My example test code + Andrew's commands worked like a charm for me... David 2009/6/10 Andrew Haley : > Vaijayanthi Mala Suresh wrote: > >> I also have the same requirement. Taking from David's example, =A0when i >> tried to do the following >> >> gcj -O0 -g0 =A0--classpath=3D./:extern/mytest.jar =A0-c TestApp.java -o = TestApp.o >> >> It gives me the following error >> >> TestApp.java:56: internal compiler error: in make_class_data, at >> java/class.c:1600 >> Please submit a full bug report, >> with preprocessed source if appropriate. >> See for instructions. >> >> Can you please let me know what is the reason for this error. >> >> What am I doing wrong over here? > > Try it without the : in the pathname. =A0Did you follow my example > exactly? > > Andrew. >