Converting a JAR into a gcj-statically-linked SO

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


On Jan 8, 2008 8:04 PM, David Daney <ddaney@avtrex.com> wrote:
> > So this means that I cannot compile a shared library which does not
> > depend on libgcj?
> >
>> It might work on some targets. It would not work on a mips target.

How about ARM?
> > Any suggestions greatly appreciated.
> >
> Make sure it works with a shared libgcj before making large investments
> in linking statically.

As an alternative, I was thinking of stripping down libgcj unti its
size is acceptable. My Java language needs are pretty limited, so an
approach like micro-libgcj (although that seems to miss a few classes
I do need) seems feasible as well. It would just be nicer if the
compiler could do the stripping down, instead of me...
Would you recommend such an approach over the static linking?
Any down-sides (speed)?
Thanks again,
Matthijs


More information about the Java mailing list

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