Converting a JAR into a gcj-statically-linked SO

Matthijs van de Water matthijs.van.de.water@gmail.com
Wed Jan 9 15:31:00 GMT 2008


On Jan 9, 2008 1:17 PM, Andrew Haley <aph@redhat.com> wrote:
> > It's really hard to do. A hell of a lot harder than just recompiling
> > libgcj.a PIC, which is pretty easy.
>> Actually, you don't even need to recompile it: just find all the .o
> files that were used to build libgcj.so and put them into a .a file.

OK, that sounds easy but I'm not really sure how to do it... I'm
looking at the Makefile in libjava and the output of doing a "make
libgcj.la", which looks like it should contain the information I need.
But frankly I'm not really sure which of the huge amount of .o files
should be AR-ed together in the .a file.
Can I somehow edit the libjava/Makefile to convince libtool to do the
dirty job for me?
Regards,
Matthijs


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /