This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Converting a JAR into a gcj-statically-linked SO


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]