Converting a JAR into a gcj-statically-linked SO

Andrew Haley aph@redhat.com
Mon Jan 7 15:37:00 GMT 2008


Matthijs van de Water writes:
 > On Jan 7, 2008 1:08 PM, Andrew Haley <aph@redhat.com> wrote:
 > > Tell us what messages *exactly*.
 > Ok, see attachment.
 > 
 > > This is tricky to do, but not impossible. David Daney has some
 > > experience in this area.
 > >
 > > If you to produce a simple complete test case that we can try it'll be
 > > much easier to help you.
 > I cannot distribute my current test-case due to licensing of the JAR,
 > but I can create one around an open source JAR library and put it
 > somewhere.
That would be good.
 > In the mean time I'd appreciate any other feedback.
 > 
 > I'd also be willing to writing up a Wiki entry on this if/once we
 > solve this, because I have a feeling this will be useful for many
 > other embedded software developers.
You don't seem to be linking your shared library statically against
libgcj. You must use the -static-libgcj option.
Andrew.
-- 
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903


More information about the Java mailing list

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