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: jni and static libgcj and friends?


On Tue, 26 Feb 2002, Martin Kahlert wrote:
> > In theory you could build libgcj with -prefer-pic and get what you want...
> > I tried this and it didn't seem to work.
> So you do not see any way to produce one standalone shared lib for that?

Build a static libgcj.a with -fPIC.  I don't know what magic incantations
libtool needs to do that, however.

Jeff


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