This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: How to convert a jar into so file and use it ?
My example test code + Andrew's commands worked like a charm for me...
David
2009/6/10 Andrew Haley <aph@redhat.com>:
> Vaijayanthi Mala Suresh wrote:
>
>> 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?
>
> Try it without the : in the pathname. ?Did you follow my example
> exactly?
>
> Andrew.
>