This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: jni and static libgcj and friends?
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Martin Kahlert <martin dot kahlert at infineon dot com>
- Cc: java at gcc dot gnu dot org
- Date: Tue, 26 Feb 2002 10:56:33 -0500 (EST)
- Subject: 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