public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Vaijayanthi Mala Suresh <vaijayanthimalas@gmail.com>
To: Andrew Haley <aph@redhat.com>
Cc: David Michel <dmichel76@googlemail.com>, java@gcc.gnu.org
Subject: Re: How to convert a jar into so file and use it ?
Date: Wed, 10 Jun 2009 11:53:00 -0000	[thread overview]
Message-ID: <6f1633170906100453g4a993316ufac79b6ff4998404@mail.gmail.com> (raw)
In-Reply-To: <4A2F93AA.4070700@redhat.com>

Hi All,

I also have the same requirement. Taking from David's example,  when i
tried to do the following

gcj -O0 -g0  --classpath=./:extern/mytest.jar  -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 <URL:http://gcc.gnu.org/bugs.html> for instructions.

Can you please let me know what is the reason for this error.

What am I doing wrong over here?

Thanks
Mala

On Wed, Jun 10, 2009 at 4:36 PM, Andrew Haley<aph@redhat.com> wrote:
> David Michel wrote:
>> Thanks !
>>
>> But I'm a bit puzzled by this
>>
>> ...-L. -lhello --classpath=.:hello/Hello.jar...
>>
>>  Why does it need both the libhello.so and the Hello.jar file ?
>
> The Hello.jar file is used at compile time to check the names and types
> of all the classes you're going to use.  It's not used at runtime.
>
> Andrew.
>

  reply	other threads:[~2009-06-10 11:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-10  9:40 David Michel
2009-06-10 10:16 ` Andrew Haley
2009-06-10 10:50   ` David Michel
2009-06-10 11:06     ` Andrew Haley
2009-06-10 11:53       ` Vaijayanthi Mala Suresh [this message]
2009-06-10 12:10         ` Andrew Haley
2009-06-10 12:23           ` David Michel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6f1633170906100453g4a993316ufac79b6ff4998404@mail.gmail.com \
    --to=vaijayanthimalas@gmail.com \
    --cc=aph@redhat.com \
    --cc=dmichel76@googlemail.com \
    --cc=java@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).